Omron FQ-CR2 User Manual page 119

Fixed mount 2d code reader
Hide thumbs Also See for FQ-CR2:
Table of Contents

Advertisement

Sample Ladder Program
This sample program inputs IN5 to execute teach.
W0.00
Teach execution
W0.00
Teach execution
T0000
OUT1
BUSY
IN5
T0001
BUSY
• I/O Signal Allocations
Signal type
Output signal
OUT1 (BUSY signal)
Input signals
IN0
IN1
IN2
IN3
IN4
IN5
Note
The time the BUSY signal is ON is the teach execution time.
Important
It may happen that the PLC is unable to recognize BUSY signal ON because the cycle time is slow or
otherwise. In this event, have W0.00 turn OFF at a suitable time.
FQ-CR2 User's Manual
MOV
When teach execution (W0.00) is turned
#200
ON, the command parameter for teach
execution (000010) is output to
Q:1
Q:1 (IN0 to 4).
TMHH
0000
#5
SET
IN5
RSET
W0.00
TMHH
0001
#2
RSET
IN5
After teach execution finishes and the
SET
BUSY signal turns OFF, post teach
W0.01
processing (W0.01:ON) is executed.
Address
CIO 0.01
CIO 1.08
CIO 1.09
CIO 1.10
CIO 1.11
CIO 1.12
CIO 1.15
If the BUSY signal is OFF five ms
after the command parameter is output,
the teach execution trigger (IN5)
turns ON.
After being ON for 2 ms, teach
execution (IN5) turns OFF.
Controlling/Outputting in Parallel
117

Advertisement

Table of Contents
loading

Table of Contents