A
A-4 CP1L Programming Examples
SYSMAC CP1L Getting Started Guide
147
Ap
pend
ix
Programming Example
z
Ladder Program
MOV(021)
D32306
#0115
MOV(021)
D32307
#7C00
MOV(021)
D32306
#0113
MOV(021)
D32307
#8800
TIM
#0010
0
W0.00
Contact A
Operation command (1: Start)
Frequency command
60.00Hz (1770 Hex)
W0.01
Contact B
W0.02
Contact C
W0.15
Contact Z
TIM0
A640.01
A640.00
Modbus-RTU easy master function execution bit
Operation command (1: Start)
Frequency command
55.00Hz (157C Hex)
Operation command (1: Start)
Frequency command
50.00Hz (1388 Hex)
Operation command (0: Stop)
Frequency command 00.00Hz
P_First_Cycle
MOV(021)
D32306
#0000
Stop operation when communication starts.
Operation command (0: Stop)
Frequency command 00.00Hz
Start Modbus communication 1 second after executing ladder program.
Continue Modbus communication.
P_On
Modbus-RTU easy master function execution normal flag
MOV(021)
D32306
#0000
MOV(021)
D32307
#0000
MOV(021)
D32307
#0000
MOV(021)
D32306
#0117
MOV(021)
D32307
#7000
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 147 Montag, 15. September 2008 11:15 11