Plc-5 example ladder program g-3 – Rockwell Automation 22-SCM-232 Serial Converter Module User Manual
Page 79
![background image](/manuals/576865/79/background.png)
PLC-5 Example Ladder Program
G-3
Figure G.1 Example PLC-5 Ladder Logic Program (Continued)
0005
I:001
4
Fwd / Rev
SS
N7:20
4
Logic Command
FWD
0006
I:001
4
Fwd / Rev
SS
N7:20
5
Logic Command
REV
Write the Logic Command (N182:192) and Reference (N182:193) to the drive.
0007
EN
DN
ER
MSG
Read/Write Message
Control
MG10:0
Setup Screen
MSG
Starts the message cycle over again.
0008
MG10:0
DN
MG10:0
ER
U
MG10:0
EN
Reads a block of data (starting at N183:198) containing:
N7:10 Logic Status (N183:198)
N7:11 Drive Error Code (N183:199)
N7:12 Frequency Command (= Reference) (N183:200)
N7:13 Output Frequency (Feedback) (N183:201)
N7:14 Output Current (N183:202)
N7:15 DC Bus Voltage (N183:203)
N7:16 Output Voltage (N183:204)
0009
EN
DN
ER
MSG
Read/Write Message
Control
MG10:2
Setup Screen
MSG
Starts the message cycle over again.
0010
MG10:2
DN
MG10:2
ER
U
MG10:2
EN