Example ladder logic program information, Functions of the example programs, Logic command/status words – Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual
Page 103: Controllogix controller example

Using the I/O
5-11
20-COMM-E EtherNet/IP Adapter User Manual
Publication 20COMM-UM010G-EN-P
Conversion Example:
Parameter 242 - [Power Up Marker]
= 88.4541 hours
MSW = 000D
hex
= 1101
binary
= 2
19
+ 2
18
+ 2
16
= 851968
LSW = 7F3D
hex
= 32573
Engineering Value = 851968 + 32573 = 884541
Parameter 242 Displayed Value = 88.4541 Hrs
Example Ladder Logic
Program Information
The example ladder logic programs in the sections of this chapter are
intended for and operate PowerFlex 7-Class drives.
Functions of the Example Programs
The example programs enable you to do the following:
• Receive Logic Status information from the drive.
• Send a Logic Command to control the drive (for example, start, stop).
• Send a Reference to the drive and receive Feedback from the drive.
• Send/receive Datalink data to/from the drive.
Logic Command/Status Words
These examples use the Logic Command word and Logic Status word for
PowerFlex 70/700 drives. Information for PowerFlex 750-Series drives has
been added to the examples where applicable. See
to view
details. The definition of the bits in these words may vary if you are using a
different DPI drive. See the documentation for your drive.
ControlLogix Controller
Example
Any version of RSLogix 5000 software can be used to create the ladder
logic. The Generic Profile (in all versions) and the drive Add-on Profile (in
versions 16.00 or later) are described in the following separate subsections.
If your version of RSLogix 5000 software supports drive Add-on Profiles,
which is discussed first, we recommend that you use this method.
Creating Ladder Logic Using the RSLogix 5000 Drive Add-on Profiles,
Version 16.00 or Later
Because the drive Add-on Profile automatically created descriptive controller
tags (
) for the entire I/O image in
to directly control and monitor the drive without creating any ladder logic
program. However, if you intend to use Human Machine Interface devices
(PanelView, and so forth) to operate the drive and view its status, you will
need to create descriptive user-defined Program tags (
logic program that will pass the Controller tag data to the Program tags.