<?php
// (c) 2000 - 2005, 2007 Uwe Disch, http://disch-systems.de
// Use only with TP-UART Interface!  Other usage illegal!
// This file contains global specifications about EIS types.  Please don't
// change it.  Every *.php in your visualization should use it.

//
// Definitions of EIS types for dps_requests - please don't change this whole
// file!
$EIS1=1;         // switching                      1 bit          : " %d "
                 //                                        (sample: " 1 ")
$EIS2_P=2;       // dimming: Position              1 bit          : " %d "
                 //                                        (sample: " 1 ")
$EIS2_C=3;       // dimming: Control               4 bit          : " %d "
                 //                                        (sample: " 7 ")
                 // user has to decode using this binary scheme:
                 // bit 0 thru 2 stepcode, bit 3=1 increasing, bit 3=0 decreasing
$EIS2_V_P=4;     // dimming: Value %               1 Byte         : " %f "
                 //                                        (sample: " 7.123456 ")
$EIS2_V_D=104;   // dimming: Value °               1 Byte         : " %f "
                 //                                        (sample: " 7.123456 ")
$EIS3=5;         // time                           3 Bytes        : " %s %d:%d:%d "
                 //                                        (sample: " Monday 12:33:07 ")
$EIS4_F=6;       // date    full format            3 Bytes        : " %d.%d.%d "
                 //                                        (sample: " 07.12.2001 ")
$EIS4_C=106;     // date century format            3 Bytes        : " %d.%d.%d "
                 //                                        (sample: " 07.12.01 ")
$EIS5=7;         // value                          2 Bytes        : " %f "
                 //                                        (sample: " -7.123456 ")
$EIS6_P=8;       // scaling %                      1 Byte         : " %f "
                 //                                        (sample: " 7.123456 ")
$EIS6_D=108;     // scaling °                      1 Byte         : " %f "
                 //                                        (sample: " 7.123456 ")
$EIS7_M=9;       // drive control: Move            1 bit          : " %d "
                 //                                        (sample: " 1 ")
$EIS7_S=10;      // drive control: Step            1 bit          : " %d "
                 //                                        (sample: " 1 ")
$EIS8_P=11;      // priority: Position             1 bit          : " %d "
                 //                                        (sample: " 1 ")
$EIS8_C=12;      // priority: Control              2 bit          : " %d "
                 //                                        (sample: " 3 ")
                 // user has to decode using this binary scheme:
                 // 0X=no control, 10=control disable, 11=control enable
$EIS9=13;        // float value                    4 Bytes        : " %ip%i "
                 //                                        (sample: " -456p2 " or " 789p-3 ")
                 // here we use the "p" for power
$EIS10_S=14;     // 16-bit counter value signed    2 Bytes        : " %d "
                 //                                        (sample: " -32000 ")
$EIS10_U=114;    // 16-bit counter value unsigned  2 Bytes        : " %d "
                 //                                        (sample: " 65000 ")
$EIS11_S=15;     // 32-bit counter value signed    4 Bytes        : " %d "
                 //                                        (sample: " 650000 ")
$EIS11_U=115;    // 32-bit counter value unsigned  4 Bytes        : " %d "
                 //                                        (sample: " 650000 ")
$EIS12=16;       // access                         4 Bytes        : " %X "
                 //                                        (sample: " AB12DC43 ")
$EIS13=17;       // ASCII Character                1 Byte         : " %d "
                 //                                        (sample: " 256 ")
$EIS14_S=18;     // 8-bit counter value signed     1 Byte         : " %d "
                 //                                        (sample: " -127 ")
$EIS14_U=118;    // 8-bit counter value unsigned   1 Byte         : " %d "
                 //                                        (sample: " 256 ")
$EIS15=19;       // Character String              14 Bytes (max.) : " %s "
                 //                                        (sample: " hello world! ")
$EIS_UNDEF_0=20  // variable sized telegram        5 Bits  (max.) : " %d "
                 //                                        (sample: " 31 ")
$EIS_UNDEF_1=21  // variable sized telegram        1 Byte         : " %d "
                 //                                        (sample: " 255 ")
$EIS_UNDEF_2=22  // variable sized telegram        2 Bytes        : " %d:%d "
                 //                                        (sample: " 255:0 ")
$EIS_UNDEF_3=23  // variable sized telegram        3 Bytes        : " %d:%d:%d "
                 //                                        (sample: " 255:0:75 ")
$EIS_UNDEF_4=24  // variable sized telegram        4 Bytes        : " %d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89 ")
$EIS_UNDEF_5=25  // variable sized telegram        5 Bytes        : " %d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97 ")
$EIS_UNDEF_6=26  // variable sized telegram        6 Bytes        : " %d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204 ")
$EIS_UNDEF_7=27  // variable sized telegram        7 Bytes        : " %d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1 ")
$EIS_UNDEF_8=28  // variable sized telegram        8 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9 ")
$EIS_UNDEF_9=29  // variable sized telegram        9 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25 ")
$EIS_UNDEF_10=30 // variable sized telegram       10 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25:10 ")
$EIS_UNDEF_11=31 // variable sized telegram       11 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25:10:71 ")
$EIS_UNDEF_12=32 // variable sized telegram       12 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25:10:71:36 ")
$EIS_UNDEF_13=33 // variable sized telegram       13 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25:10:71:36:79 ")
$EIS_UNDEF_14=34 // variable sized telegram       14 Bytes        : " %d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d "
                 //                                        (sample: " 255:0:75:89:97:204:1:9:25:10:71:36:79:82 ")
//

//
// Local IP-Address - please don't change it!
$ipaddr="127.0.0.1";
//

?>