Omron FQ2-S/CH Series User Manual page 61

Smart camera
Hide thumbs Also See for FQ2-S/CH Series:
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
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-S/CH User's Manual
for Communications Settings
MOV
#900
Q:1
TMHH
0000
#5
SET
IN5
RSET
W0.00
TMHH
0001
#2
RSET
IN5
SET
W0.01
Address
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
Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
When the external teaching bit (W0.00) turns ON,
IN0 and IN3 are turned ON.
If the BUSY signal is OFF 5 ms after IN0 and IN3
turn ON, the command input for external
teaching (IN5) is turned ON
The command input for external teaching (IN5) is
kept ON for 2 ms and then turned OFF.
When the BUSY signal turns OFF to indicate
that external teaching has been completed,
processing after external teaching is executed
(W0.01 is turned ON).
59

Advertisement

Table of Contents
loading

Table of Contents