Omron FQ - V1 User Manual page 120

Vision sensor
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
Input signals
118
Setting the Measurement Trigger
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 continuous measurement command
MOV
bit (W0.00) turns ON, the command
#0000
parameter for continuous measurements
(00000) is output to Q:1 (IN0 to IN4).
Q:1
TMHH
0000
If the BUSY signal is OFF 5 ms after the
#5
command parameter is output, the command
input for continuous measurements (IN5) is
turned ON and continuous measurements start
SET
IN5
RSET
W0.00
When the continuous measurement stop bit
RSET
(W0.01) turns ON, the command input for
continuous measurements (IN5) is turned
IN5
OFF and continuous measurements stop.
RSET
W0.00
FQ User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fq

Table of Contents