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