Controlling/Outputting in Parallel
FQ-CR2 User’s Manual
115
8
Communications with External Devices
Sample Ladder Program
This sample program inputs IN5 to restart the sensor.
Trigger retry is executed at W0.00 ON.
• I/O Signal Allocations
Signal type Address
Output signal 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 time the BUSY signal is ON is the sensor initialization process execution time.
MOV
#A00
Q:1
TMHH
0000
#5
TMHH
0001
#2
SET
IN5
RSET
IN5
SET
W0.01
W0.00
T0000
IN5
OUT1
BUSY
W0.00
RSET
W0.00
T0001
BUSY
Sensor restart
When sensor restart execution (W0.00) is
turned ON, the command parameter for
sensor restart (001010) is output to
Q:1 (IN0 to 4).
After sensor restart finishes and the
BUSY signal turns OFF, post sensor
restart processing (W0.01:ON) is executed.
If the BUSY signal is OFF five ms after
the command parameter is output, the
sensor restart execution trigger (IN5)
turns ON.
After being ON for 2 ms, sensor
restart execution (IN5) turns OFF.
Sensor restart
Sec8.fm 115 ページ 2011年7月8日 金曜日 午後8時50分