Omron FQ2-S4 User Manual page 287

Smart camera
Hide thumbs Also See for FQ2-S4:
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-S4 User's Manual
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
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
Address
CIO 0.01
CIO 1.08
CIO 1.09
CIO 1.10
CIO 1.11
CIO 1.12
CIO 1.15
285

Advertisement

Table of Contents
loading

Table of Contents