Sample Ladder Program (Ethernet/Ip) - Omron ZW-C1*AT User Manual

Zw series displacement sensor confocal fiber type displacement sensor
Table of Contents

Advertisement

Sample Ladder Program (EtherNet/IP)

● Command/Response Communications
The following sample program is used to perform replacement the current bank number.
The replacement the current bank number command (lower bytes: #8000, upper bytes: #0030) is sent to the
Displacement Sensor.
First RUN
Period Flag
Execution
Control Command
Command Execution
condition
Completed (FLG)
Ready (READY)
Control Command
Completed (FLG)
Important
Create the ladder program to control the EXE signal so that it does not turn ON while the READY signal is ON.
If not, a EXE input error will occur and the ERR signal will turn ON.
ZW User's Manual
MOV
Sets the lower word of the
replacement the current bank
#8000
number command.
+6 word
MOV
Sets the upper word of the
replacement the current bank
#0030
number command.
+7 word
SET
Turns ON Command Execution Bit.
Command Execution Bit
When the control command is completed,
RSET
the Command Execution Bit is turned OFF.
Command Execution Bit
EtherNet/IP Connection
225

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Zw-ce1*tZw-c1*t

Table of Contents