Documente Academic
Documente Profesional
Documente Cultură
"CONF_DB" Global data block DB 101 Name: Family: Author: Version: 0.1 Block version: 2 Time stamp Code: 17.02.2006 15:38:41 Interface: 17.02.2006 15:38:23 Lengths (block/logic/data): 00412 00082 00000
Block: DB101
Address 0.0 +0.0 +2.0 +0.0 +2.0 +4.0 +6.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 =4.0 =8.0 +14.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 =4.0 =8.0 +22.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 =4.0 =8.0 =30.0 +32.0 +0.0 +2.0 +4.0 +6.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 =4.0 =8.0 +14.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 +4.0
Name DB_identification BLOCK_1_systemdata Typ ID Count_Subblocks SUBBLOCK_1_IP Subblock_1_ID Subblock_1_Len Subblock_1_Parameter IP_part_1 IP_part_2 IP_part_3 IP_part_4
Type STRUCT WORD STRUCT INT INT INT STRUCT INT INT STRUCT BYTE BYTE BYTE BYTE END_STRUCT END_STRUCT STRUCT INT INT STRUCT BYTE BYTE BYTE BYTE END_STRUCT END_STRUCT STRUCT INT INT STRUCT BYTE BYTE BYTE BYTE END_STRUCT END_STRUCT END_STRUCT STRUCT INT INT INT STRUCT INT INT STRUCT BYTE BYTE BYTE BYTE END_STRUCT END_STRUCT STRUCT INT INT STRUCT CHAR CHAR CHAR CHAR CHAR
Comment has to be 1 Identification for connectiontype (for syste mdata 0) Connection_ID (for systemdata 0) Count of subblocks in this block Subblock 1 - SUB_IP_V4 - local IP-Address Subblock ID Length of subblock in byte (4 byte IP + 4 by te header) 192. //IP-address of CP 168. 2. 137
2 8
Subblock 2 - SUB_NETMASK - subnetmask Subblock ID Length of subblock in byte (4 byte mask + 4 byte header) 255. //subnetmask 255. 255. 0
8 8
Subblock 3 - SUB_DEF_ROUTER - Default Router Subblock ID Length of subblock in byte (4 byte router + 4 byte header) 192. 168. 2. 137 //if there is no router //used take //IP-address of CP //here (look at subblock 1)
BLOCK_2_ISO_on_TCP Typ ID Count_Subblocks SUBBLOCK_1_IP Subblock_1_ID Subblock_1_Len Subblock_1_Parameter IP_part_1 IP_part_2 IP_part_3 IP_part_4
3 1 5 1 8
Identification for connectiontype Connection_ID Count of subblocks in this block ID des Subblocks Length of subblock in byte (4 byte IP + 4 by te header) 192. 168. 2. 138 //IP-address of partner station
11 12
Subblock 2 - SUB_LOC_TSAP - local TSAP Subblock ID Length of subblock in byte (8 byte TSAP + 4 byte header)
Address +5.0 +6.0 +7.0 =8.0 =12.0 +26.0 +0.0 +2.0 +4.0 +0.0 +1.0 +2.0 +3.0 +4.0 +5.0 +6.0 +7.0 =8.0 =12.0 +38.0 +0.0 +2.0 +4.0 +0.0 =2.0 =6.0 +44.0 +0.0 +2.0 +4.0 +0.0 =2.0 =6.0 =50.0 =82.0
SUBBLOCK_3_TSAP_remote Subblock_3_ID Subblock_3_Len Subblock_3_Parameter TSAP_part_01 TSAP_part_02 TSAP_part_03 TSAP_part_04 TSAP_part_05 TSAP_part_06 TSAP_part_07 TSAP_part_08
Type CHAR CHAR CHAR END_STRUCT END_STRUCT STRUCT INT INT STRUCT CHAR CHAR CHAR CHAR CHAR CHAR CHAR CHAR END_STRUCT END_STRUCT STRUCT INT INT STRUCT BYTE END_STRUCT END_STRUCT STRUCT INT INT STRUCT BYTE END_STRUCT END_STRUCT END_STRUCT END_STRUCT
Comment
12 12
Subblock 3 - SUB_REM_TSAP - Remote TSAP Subblock ID Length of subblock in byte (8 byte TSAP + 4 byte header)
19 5
Subblock 5 - SUB_LOC_MODE - local operating mode (optional) Subblock ID Length of subblock in byte (2 byte operating mode + 4 byte header) 0x00 SEND/RECV
B#16#0
22 6
Subblock 6 - SUB_CON_ESTABL - type of connec tion establishment Subblock ID Length of subblock in byte (2 byte connectio n establishment + 4 byte header) 0x01 active establishment
B#16#0