• Assignment Example for Variable Data Type That Matches the Response and Output Areas
CommonStatus-
Flag
SensorHead1-
StatusFlag
SensorHead2-
StatusReserve
CommandCode
Echo
Response Code
Response Data
S_EIP
Input
Output Data
2
Defining the Variables
Define variables for the data links for the communications area data that is used in EtherNet/IP
communications.
These variables use the data types that were defined above in procedure 1.
Variable
EIPOutput
EIPInput
3
Exporting the Variables That Were Defined on Sysmac Studio
Export the variables that you defined so that you can use them on the Network Configurator.
An exported CSV file is created.
ZW User's Manual
Response Area
15
14
13
12
+0
BANK1
BANK1
BANK1
BANK1
_E
_D
_C
_B
−
−
−
−
+1
−
−
−
−
+2
+3
LOW1_
PASS1_
HIGH1_
LOW1_
T4
T4
T4
T3
−
−
−
−
+4
−
−
−
−
+5
+6
+7
+8
+9
+10
+11
Output Area
15
14
13
12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+26
+27
Variable type
Network Publish attribute Data type
Global variable
Output
Global variable
Input
Bits (−: Reserved)
11
10
9
8
7
6
−
−
−
−
−
BANK1
_A
−
−
−
−
−
−
−
−
−
−
−
OR1 GATE1 ENABLE
PASS1_
HIGH1_
LOW1_
PASS1_
HIGH1_
LOW1_
T3
T3
T2
T2
T2
T1
−
−
−
−
−
−
−
−
−
−
−
−
Command code
Response code
Response data
Bits (−: Reserved)
11
10
9
8
7
6
Measurement Value of Task1
Measurement Value of Task2
Measurement Value of Task3
Measurement Value of Task4
−
−
S_EIPOutput
S_EIPInput
5
4
3
2
1
0
−
−
−
RUN
READY
FLG
−
−
−
−
−
ERR
STABIL
LIGHT1
RESET
HOLD
1
ITY1
STAT1
STAT1
PASS1_
HIGH1_
ZERO
ZERO
ZERO
ZERO
T1
T1
STAT1_T4
STAT1_T3
STAT1_T2
STAT1_T1
−
−
−
−
−
−
−
−
−
−
−
−
5
4
3
2
1
0
Application
For data links to the
command area
For data links to the
response and output areas
EtherNet/IP Connection
215