Omron CP1L CPU Getting Started Manual page 148

Cp1l cpu unit
Hide thumbs Also See for CP1L CPU:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents