You are on page 1of 2

DB101 - <offline> - Declaration view

"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

Initial value W#16#1 0 0 3 1 8

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

B#16#C0 B#16#A8 B#16#2 B#16#89

SUBBLOCK_2_MASK Subblock_2_ID Subblock_2_Len Subblock_2_Parameter Mask_part_1 Mask_part_2 Mask_part_3 Mask_part_4

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

B#16#FF B#16#FF B#16#FF B#16#0

SUBBLOCK_3_ROUTER Subblock_3_ID Subblock_3_Len Subblock_3_Parameter IP_Router_part_1 IP_Router_part_2 IP_Router_part_3 IP_Router_part_4

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)

B#16#C0 B#16#A8 B#16#2 B#16#89

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

B#16#C0 B#16#A8 B#16#2 B#16#8A

SUBBLOCK_2_TSAP_local Subblock_2_ID Subblock_2_Len Subblock_2_Parameter TSAP_part_01 TSAP_part_02 TSAP_part_03 TSAP_part_04 TSAP_part_05

11 12

Subblock 2 - SUB_LOC_TSAP - local TSAP Subblock ID Length of subblock in byte (8 byte TSAP + 4 byte header)

'T' 'S' 'A' 'P' '-'

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

Name TSAP_part_06 TSAP_part_07 TSAP_part_08

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

Initial value 'T' 'C' 'P'

Comment

The TSAP must have an even count

12 12

Subblock 3 - SUB_REM_TSAP - Remote TSAP Subblock ID Length of subblock in byte (8 byte TSAP + 4 byte header)

'T' 'S' 'A' 'P' '-' 'T' 'C' 'P'

The TSAP must have an even count

SUBBLOCK_5_operating_mod Subblock_5_ID Subblock_5_Len Subblock_5_Parameter Send_Receive

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

SUBBLOCK_6_Con_Establ Subblock_6_ID Subblock_6_Len Subblock_6_Parameter active

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

You might also like