Omron Z302-E1-03 User Manual page 141

Vision sensor
Table of Contents

Advertisement

Sample Ladder Program
This sample program is used to input IN5 to re-register a model.
W0.00
Model
re-register bit
W0.00
Model
re-register bit
T0000
OUT1
BUSY
IN5
T0001
BUSY
• I/O Signal Allocations
Signal
Output signals
Input signals
Note
The BUSY signal will be ON while the model is being re-registered.
Important
If the cycle time is too long, the PLC may not be able to detect when the BUSY signal is ON. If necessary, turn
OFF W0.00 after a suitable time elapses.
140
Controlling/Outputting in Parallel
Address
OUT1 (BUSY signal)
CIO 0.01
IN0
CIO 1.08
IN1
CIO 1.09
IN2
CIO 1.10
IN3
CIO 1.11
IN4
CIO 1.12
IN5
CIO 1.15
When the mode re-register bit (W0.00) turns
MOV
ON, IN3 is turned ON.
#800
Q:1
TMHH
0000
If the BUSY signal is OFF 5 ms after IN3 turns
#5
ON, the command input for registering the
mode again (IN5) is turned ON.
SET
IN5
RSET
W0.00
TMHH
0001
#2
The command input for registering the mode
again (IN5) is kept ON for 2 ms and then
turned OFF.
RSET
IN5
When the BUSY signal turns OFF to indicate
SET
that model has been re-registered, processing
after re-registration is performed (W0.01
W0.01
turned ON).
FQ User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents