Appendices
A - 8
CJ-series EtherCAT Slave Units Operation Manual (W541)
A-2 Programming Example To Detect
Valid I/O Process Data
The following programming example should be used to confirm that I/O process data is valid for an
EtherCAT Slave Unit mounted to a CJ-series CPU Unit.
This example uses bits in Unit Status 1 and Slave Status 2. Refer to 3-2 CIO Area Allocations on page
3-3 for details of Unit Status 1 and Slave Status 2. The unit number of the EtherCAT Slave Unit is set to
01 for this example.
Bit Name Description
(n + 10)
bit 00
Unit Error Indicates EtherCAT Slave Unit operating errors
(n + 13)
bit 02
Input Data Valid Indicates that the Unit is processing transmit by process data communica-
tion. Data is valid and usable for control.
(n + 13)
bit 03
Output Data Valid Indicates that the Unit is processing receive by process data communication.
Data is valid and usable for control.
(n + 13)
bit 14
IN Port Link Status Indicates when a link on the IN port is established with another device.