Omron FQ2-S Series User Manual page 50

Hide thumbs Also See for FQ2-S Series:
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 amount of time it takes for a scene to change depends on the scene settings. The BUSY signal turns ON while
scene change is being executed, so the scene change execution time can be checked with the BUSY signal.
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.
48
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
MOV
When the scene change bit (W0.00) turns ON,
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-S/CH User's Manual
for Communications Settings

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fq2-ch series

Table of Contents