3 sample slc ladder logic program – Rockwell Automation RECOMM-DNET DeviceNet Adapter for use with DPI AC Drives User Manual
Page 65

Using I/O Messaging
6-11
6.6.3 Sample SLC Ladder Logic Program
Figure 6.7 – Sample SLC Ladder Logic Program
0000
Copy File
Source
#M1:1:0
Dest
#N9:0
Length
128
CO P
0001
N9:0
1
SP600
RUNNING
Status Bit
O:3.0
0
1746-O*8
Operator Display
Drive Running
Status Bit
0002
7
1
0003
Move
Source
N9:1
0<
Dest
N21:1
0<
MOV
0004
I:2.0
0
1746-I*16
Operator Input
Drive Start
Command Bit
N10:0
1
SP600
START
Command Bit
0005
I:2.0
1
0
0006
2
2
O:3.0
Operator Display
Drive Faulted
Status Bit
1746-O*8
N9:0
SP600
FAULTED
Status Bit
Operator Display
Drive Feedback
Status Word
Operator Input
Drive Stop
Command Bit
I:2.0
Operator Input
Drive Jog
Command Bit
1746-I*16
N10:0
SP600
STOP
Command Bit
N10:0
SP600
JOG
Command Bit
1746-I*16
The scanner gathers drive status data via the DeviceNet
network. The M-File is copied into the N9 data file in the
SLC to move the drive status information to a
convenient location.
These rungs move the inputs of the
operator from the operator station to the
N9 data file. They will then be sent to the
scanner and out to the drive via the
DeviceNet network.
These rungs move the drive status from the
N9 data file to an operator display.