Omron FQ2-S Series User Manual page 39

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

Advertisement

Sample Ladder Program
The following sample program is used to input a TRIG signal to perform a single measurement. A single
measurement will be performed when W0.00 turns ON.
W0.00
OUT1
Single
BUSY signal
measure-
ment
command bit
TRIG
TRIG signal
T0000
OUT0
OUT1
BUSY signal
OR signal
OUT0
OR signal
• I/O Signal Allocations
Signal
Output signals
OUT0 (OR signal)
OUT1 (BUSY signal)
Input signals
TRIG
Important
The BUSY signal will remain ON while the measurement is being executed.
Performing Continuous Measurements
Continuous measurements are performed while the continuous measurement command is input from an
external device.
Immediately after a measurement is performed, the next measurement is performed.
This is repeated while a continuous measurement command is input with the IN0 to IN5 signals.
Or other
device
PLC
FQ2-S/CH User's Manual
for Communications Settings
SET
TRIG
TMHH
0000
#2
RSET
TRIG
RSET
W0.00
++L
1000
++L
1002
Address
CIO 0.00
CIO 0.01
CIO 1.00
(1) IN5 signal ON (IN0 to IN4 are OFF)
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
When the single measurement
command bit (W0.00) turns
ON, the TRIG signal is turned
ON if the BUSY signal is OFF.
The TRIG signal is kept ON for
2 ms and then turned OFF.
When the BUSY signal turns OFF to
indicate that the measurement has been
finished, the judgement result is added
to the total count.
OK measurements: CIO 1000
NG measurements: CIO 1002
(2) Performs continuous
measurements
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fq2-ch series

Table of Contents