![Omron CJ1W- ECT21 Operation Manual Download Page 125](http://html1.mh-extra.com/html/omron/cj1w-ect21/cj1w-ect21_operation-manual_742071125.webp)
A - 11
Appendices
CJ-series EtherCAT Slave Units Operation Manual (W541)
A-
3 Process D
at
a
E
x
chan
ge in
PROGRA
M Mod
e
A
A-3-
3 Prog
ram Example f
or the Ether
CA
T
S
lave Unit
Use the following program example as a guide to detect that the EtherCAT master enters PROGRAM
mode. A CJ-series CPU Unit with a mounted EtherCAT Slave Unit is used in the example below. The
EtherCAT Slave Unit’s unit number is set to 01.
This program example uses the following items.
A-3-3
Program Example for the EtherCAT Slave Unit
Item
Description
OUT_Data_Bit
Process data exchanged with the EtherCAT master.
IN_Data_Bit
Input_Data_Valid
Slave Status 2 bit to indicate that the EtherCAT Slave Unit is processing transmit
by process data communication.
Output_Data_Valid
Slave Status 2 bit to indicate that the EtherCAT Slave Unit is processing receive by
process data communication.
IN_Port_Link_Status
Slave Status 2 bit to indicate that the EtherCAT Slave Unit’s IN port has a link
established with another device.
Unit_Error
Unit Status 1 bit to indicate an EtherCAT Slave Unit operating error.
Summary of Contents for CJ1W- ECT21
Page 1: ...Cat No W541 E1 02 OPERATION MANUAL SYSMAC CJ Series CJ1W ECT21 EtherCAT Slave Unit ...
Page 8: ...CONTENTS 6 CJ series EtherCAT Slave Units Operation Manual W541 ...
Page 30: ...Revision History 28 CJ series EtherCAT Slave Units Operation Manual W541 ...
Page 32: ...Sections in this Manual 30 CJ series EtherCAT Slave Units Operation Manual W541 ...
Page 148: ...Appendices A 34 CJ series EtherCAT Slave Units Operation Manual W541 ...
Page 149: ...I 1 I CJ series EtherCAT Slave Units Operation Manual W541 Index ...
Page 152: ...I 4 CJ series EtherCAT Slave Units Operation Manual W541 Index ...
Page 153: ......