Omron FQ User Manual page 120

Vision sensor
Hide thumbs Also See for FQ:
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
Input signals
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.
Note
This function can be used only when the input mode is set to Expanded Mode.
116
Setting the Measurement Trigger
Address
OUT0 (OR signal)
CIO 0.00
OUT1 (BUSY signal)
CIO 0.01
TRIG
CIO 1.00
(1) IN5 signal ON (IN0 to IN4 are OFF)
Or other
device
PLC
When the single measurement
SET
command bit (W0.00) turns
ON, the TRIG signal is turned
TRIG
ON if the BUSY signal is OFF.
TMHH
0000
#2
The TRIG signal is kept ON for
2 ms and then turned OFF.
RSET
TRIG
RSET
W0.00
++L
When the BUSY signal turns OFF to
indicate that the measurement has been
1000
finished, the judgement result is added
to the total count.
++L
OK measurements: CIO 1000
NG measurements: CIO 1002
1002
(2) Performs continuous
measurements
FQ User's Manual

Advertisement

Table of Contents
loading

Table of Contents