Logic command/status words, Controllogix controller example – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 88

Advertising
background image

88

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013

Chapter 5 Using the I/O

Logic Command/Status Words

These examples use the Logic Command word and Logic Status word for
PowerFlex 70/700 drives. See

Appendix D

to view details. The definition of the

bits in these words may vary if you are using a different DPI device. See the
documentation for your device.

ControlLogix Controller

Example

Creating Ladder Logic Using the RSLogix 5000 Device Add-on

Profiles, Version 16.00 or Later

Because the device Add-on Profile automatically created descriptive controller tags
(

Figure 9

) for the entire I/O image in

Chapter 4

, you can use these tags to directly

control and monitor the device without creating any ladder logic program.
However, if you intend to use Human Machine Interface devices (PanelView, and
so forth) to operate the device and view its status, you will need to create descriptive
user-defined Program tags (

Figure 19

) and a ladder logic program that will pass the

Controller tag data to the Program tags.

Figure 19 - ControlLogix Program Tags for Device Add-on Profile Ladder Logic

Program Example

An example ladder logic program that uses the automatically created descriptive
Controller tags and passes their data to the user-defined Program tags is shown in

Figure 20

and

Figure 21

. Note that the prefix for the device Controller tags is

determined by the name assigned when configuring the I/O (

Chapter 4

).

Advertising