Omron FQ2-S4 User Manual page 296

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

Sample Ladder Program
This sample program is used to change the scene when the input mode is set to Expanded Mode. The scene
changes to scene 1 when W0.00 turns ON.
W0.00
Scene change
bit
W0.00
Scene change
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 scene it being changed.
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.
294
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
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 scene change bit (W0.00) turns ON,
MOV
the scene number is input to IN0 to IN3 and
#1100
IN4 is turned ON.
Q:1
TMHH
0000
If the BUSY signal is OFF 5 ms after the
#5
scene number is input, the trigger to change
the scene (IN5) is turned ON.
SET
IN5
RSET
W0.00
TMHH
0001
#2
The trigger to change the scene (IN5) is kept
ON for 2 ms and then turned OFF.
RSET
IN5
When the BUSY signal turns OFF to indicate
SET
that the scene has been changed, processing
after changing the scene is performed (W0.01
W0.01
turned ON).
FQ2-S4 User's Manual

Advertisement

Table of Contents
loading

Table of Contents