EasyManua.ls Logo

Omron CJ1W- ECT21 - A-3-2 Program Example for the Ethercat Master

Omron CJ1W- ECT21
154 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendices
A - 10
CJ-series EtherCAT Slave Units Operation Manual (W541)
Use the following program example as a guide to detect that the CJ-series CPU Unit with a mounted
EtherCAT Slave Unit enters PROGRAM mode. In the following example, an NJ-series CPU Unit’s
built-in EtherCAT port is used as the EtherCAT master.
This program example uses the following items.
A-3-2 Program Example for the EtherCAT Master
Item Description
_EC_PDSlavTbl[1] System-defined variable for the NJ-series CPU Unit to indicate that the
EtherCAT slave (node 01) is performing process data communications.
E001_Input001[0] Device variable assigned to the EtherCAT Slave Unit.
E001_Output001[0]
WatchDogBit Internal variable to reset the accumulation timer when E001_Input001[0]
changes state.
AccumulationTimer
instruction
Instruction that checks for a stop in bit toggling for a preset time amount that
will occur when the CJ-series CPU Unit with a mounted EtherCAT Slave Unit
enters PROGRAM mode. Refer to Timing Considerations on page A-9.
SetAlarm instruction Instruction that creates a user-defined error when the CJ-series CPU Unit
with a mounted EtherCAT Slave Unit enters PROGRAM mode.
ECAT_Slave_PRG_Mode External variable to indicate that the CJ-series CPU Unit with a mounted
EtherCAT Slave Unit has entered PROGRAM mode.

Table of Contents

Related product manuals