Controlling Operation and Outputting Data with the Sensor's Standard Parallel Connection
FQ2-S4 User’s Manual
301
8
Controll
ing
Ope
rati
on a
nd Outputting
Data
wi
th
a
Para
llel
Co
nne
ctio
n
Sample Ladder Program
This sample program is used to input IN5 to external teaching.
• I/O Signal Allocations
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.
Signal
Address
Output signals
OUT1 (BUSY signal)
CIO 0.01
Input signals
IN0
CIO 1.08
IN1
CIO 1.09
IN2
CIO 1.10
IN3
CIO 1.11
IN4
CIO 1.12
IN5
CIO 1.15
The BUSY signal will remain ON while external teaching is being executed.
MOV
#900
Q:1
TMHH
0000
#5
TMHH
0001
#2
SET
IN5
RSET
IN5
SET
W0.01
W0.00
External teaching bit
T0000
IN5
OUT1
BUSY
W0.00
External teaching bit
RSET
W0.00
T0001
BUSY
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).
Note
Important
Summary of Contents for FQ2-S4
Page 1: ...User s Manual Smart Camera FQ2 S4 Cat No Z330 E1 01 ...
Page 58: ...Setting Up Ethernet 56 FQ2 S4 User s Manual MEMO ...
Page 214: ...Calculations and Judgements Using Inspection Item Data 212 FQ2 S4 User s Manual MEMO ...
Page 234: ...Adjusting Judgement Parameters during Operation 232 FQ2 S4 User s Manual MEMO ...
Page 458: ...Basic Troubleshooting 456 FQ2 S4 User s Manual MEMO ...
Page 591: ...Index FQ2 S4 User s Manual 589 Index 12 ...
Page 593: ......