Omron FQ2-S Series User Manual page 41

Hide thumbs Also See for FQ2-S Series:
Table of Contents

Advertisement

Sample Ladder Program
The following sample program is used to input a IN5 signal to perform continuous measurements. Continuous
measurements will be started when W0.00 turns ON and stopped when W0.01 turns ON.
W0.00
Continuous
measurement
command bit
W0.00
Continuous
measurement
command bit
T0000
OUT1
BUSY signal
W0.01
Continuous
measurement
stop bit
• I/O Signal Allocations
Signal
Output signals
OUT1 (BUSY signal)
Input signals
IN0
IN1
IN2
IN3
IN4
IN5
FQ2-S/CH User's Manual
for Communications Settings
MOV
#0000
Q:1
TMHH
0000
#5
SET
IN5
RSET
W0.00
RSET
IN5
RSET
W0.00
Address
CIO 0.01
CIO 1.08
CIO 1.09
CIO 1.10
CIO 1.11
CIO 1.12
CIO 1.15
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
When the continuous measurement command
bit (W0.00) turns ON, the command
parameter for continuous measurements
(00000) is output to Q:1 (IN0 to IN4).
If the BUSY signal is OFF 5 ms after the
command parameter is output, the command
input for continuous measurements (IN5) is
turned ON and continuous measurements start.
When the continuous measurement stop bit
(W0.01) turns ON, the command input for
continuous measurements (IN5) is turned
OFF and continuous measurements stop.
39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fq2-ch series

Table of Contents