9. Appendix 1 Detailed Settings of the Tag Data Links
■Definition of the dat
a type to access the response/output areas (structure)
This data type is used to access the response/output areas
Data type name Data type Destination device data
S_EIPInput STRUCT -
CommonStatusFlag
U_EIPFlag Sensor head common status signal
(32 bits)
SensorHead1StatusFlag U_EIPFlag Sensor head 1 status signal (32 bits)
SensorHead2StatusReserve
U_EIPFlag Sensor head 2 status signal (32 bits)
(reserved)
CommandCodeEcho DWORD Command code (CMD-CODE)
ResponseCode UDINT Response code (RES-CODE)
ResponseData UDINT Response data (RES-DATA)
MeasurementValueofTask1 DINT Measurement Value of Task1
MeasurementValueofTask2 DINT Measurement Value of Task2
MeasurementValueofTask3 DINT Measurement Value of Task3
MeasurementValueofTask4 DINT Measurement Value of Task4
MeasurementValueReserve DINT[4] Reserved
Output
data
0 to 7
(OutData
0 to 7
Additional Information
For details on the structure and union, refer to Tag Data Link Setting Methods in 6-3
Ethernet/IP Connection in Chapter 6 Communications with External Devices of the ZW
Series Displacement Sensor (Confocal Fiber Type) User's Manual (Cat. No. Z332).
Additional Information
With the Sysmac Studio, the data type is expressed as ARRAY[0..2] OF WORD when an
array is specified for a data type. However, a data type of an array is simplified in this
document (e.g. WORD[3]).
It is possible to set either of the following to specify an array for a data type with the Sysmac
Studio.
•ARRAY[0..2] OF WORD
•WORD[3]
In the example above, 3 WORD array elements are secured.
45