• Assignment Example for Variable Data Type That Matches the Command Area
CommonControl-
Flag
SensorHead1-
ControlFlag
SensorHead2-
S_EIP
ControlReserve
Output
CommandCode
CommandParam1
CommandParam2
CommandParam3
• Data Type to Access the Response and Output Areas
Name of data type
Type of derivative data type
Name of data type
S_EIPInput
CommonStatusFlag
SensorHead1StatusFlag
SensorHead2StatusReserve U_EIPFlag
CommandCodeEcho
ResponseCode
ResponseData
OutputData
214
EtherNet/IP Connection
15
14
13
12
11
−
−
−
−
+0
−
−
−
−
+1
−
−
−
−
+2
−
−
−
−
+3
−
−
−
−
+4
−
−
−
−
+5
+6
+7
+8
+9
+10
+11
: S_EIPInput
: Structure
Data type
STRUCT
U_EIPFlag
U_EIPFlag
DWORD
UDINT
DINT
ARRAY[0..7]OF DINT
Bits (−: Reserved)
10
9
8
7
6
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
ZERO
ZERO
CLR_T4
CLR_T3
−
−
−
−
−
−
−
−
−
−
−
−
Command code
Parameter 1
Parameter 2
Parameter 3
The data type that was defined above (1)
The data type that was defined above (1)
The data type that was defined above (1)
(extended area)
32-bit bit string data
32-bit integer data
32-bit integer data
Specifies an array of DINT
data from 0 to 7.
5
4
3
2
1
0
−
−
−
−
−
EXE
−
−
−
−
−
ERCLR
−
−
−
LIGHT
RESET
TIMING
OFF1
1
1
ZERO
ZERO
ZERO1
ZERO1
ZERO1
ZERO1
CLR_T2
CLR_T1
_T4
_T3
_T2
_T1
−
−
−
−
−
−
−
−
−
−
−
−
ZW User's Manual