About ladder logic programs, Example ladder logic programs – Rockwell Automation 1203-GK5 DeviceNet Communications Module FRN 1.xxx-3.xxx User Manual
Page 62

5-2
Creating a Ladder Logic Program
About Ladder Logic Programs
A PLC or SLC ladder logic program lets you control the drive and the
messaging from the PLC or SLC on the DeviceNet network. Figure
5.1 shows how the I/O image table for a DeviceNet scanner relates to
the drive when a 1203-GK5 module or 1336-GM5 board is used.
Important: Figure 5.1 shows all datalinks enabled. Users must
enable the desired datalinks in the adapter and connected product.
Figure 5.1
I/O Image Table
Example Ladder Logic Programs
The following are example ladder logic programs. They can be used
for a 1305, 1336 PLUS, or 1336 PLUS II drive.
Important: Different SCANport products have different Logic
Command, Logic Status, Reference and Feedback I/O interpretations.
Refer to your product manual for specific I/O definitions.
1203-GK5/1336-GM5
DeviceNet
Word 0 Logic Command
Word 1 Reference
Word 2 Datalink A1
Word 3 Datalink A2
Word 4 Datalink B1
Word 5 Datalink B2
Word 6 Datalink C1
Word 7 Datalink C2
Word 8 Datalink D1
Word 9 Datalink D2
Logic Status
Feedback
Data Out A1
Data Out A2
Data Out B1
Data Out B2
Data Out C1
Data Out C2
Data Out D1
Data Out D2
1336 PLUS Drive
PLC,
SLC,
PC
SCANport
Output
Mapping
(Write)
Message
Handller
Scanner
Input
Mapping
(Read)
Logic Command
Reference
Data In A1
Data In A2
Data In B1
Data In B2
Data In C1
Data In C2
Data In D1
Data In D2
Word 0 Logic Status
Word 1 Feedback
Word 2 Datalink A1
Word 3 Datalink A2
Word 4 Datalink B1
Word 5 Datalink B2
Word 6 Datalink C1
Word 7 Datalink C2
Word 8 Datalink D1
Word 9 Datalink D2
Message
Buffers
Message Handler
DeviceNet
!
ATTENTION: The example ladder logic program
shown in this manual is intended solely for purpose of
example. Because there are many variables and
requirements associated with any particular installation,
Rockwell Automation does not assume responsibility or
liability (to include intellectual property liability) for
actual use based upon the example shown in this
publication.