Omron FQ2-S4 User Manual page 303

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

Sample Ladder Program
This sample program is used to input IN5 to external teaching.
W0.00
External teaching bit
W0.00
External teaching bit
T0000
OUT1
BUSY
IN5
T0001
BUSY
• I/O Signal Allocations
Signal
Output signals
OUT1 (BUSY signal)
Input signals
IN0
IN1
IN2
IN3
IN4
IN5
Note
The BUSY signal will remain ON while external teaching is being executed.
Important
If the cycle time is too long, the PLC may not be able to detect when the BUSY signal is ON. If necessary, turn
OFF W0.00 after a suitable time elapses.
FQ2-S4 User's Manual
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
MOV
When the external teaching bit (W0.00) turns ON,
IN0 and IN3 are turned ON.
#900
Q:1
TMHH
0000
If the BUSY signal is OFF 5 ms after IN0 and IN3
#5
turn ON, the command input for external
teaching (IN5) is turned ON
SET
IN5
RSET
W0.00
TMHH
0001
#2
The command input for external teaching (IN5) is
kept ON for 2 ms and then turned OFF.
RSET
IN5
When the BUSY signal turns OFF to indicate
SET
that external teaching has been completed,
W0.01
processing after external teaching is executed
(W0.01 is turned ON).
Address
CIO 0.01
CIO 1.08
CIO 1.09
CIO 1.10
CIO 1.11
CIO 1.12
CIO 1.15
301

Advertisement

Table of Contents
loading

Table of Contents