Controllogix controller examples – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 108

Advertising
background image

108

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

Chapter 6 Using Explicit Messaging

ControlLogix Controller

Examples

For supported classes, instances, and attributes, see

Appendix C

,

EtherNet/IP

Objects

.

Explicit Messaging Using RSLogix 5000 Software, Version 15.00

or Later

ControlLogix Controller Example Ladder Logic Program to Read a Single

Parameter

A Parameter Read message is used to read a single parameter. This read message
example reads the value of parameter 003 - [Output Current] in a PowerFlex 7-
Class drive.

Table 18 - Example Controller Tags to Read a Single Parameter

Figure 35 - Example Ladder Logic to Read a Single Parameter

TIP

To display the Message Configuration screen in RSLogix 5000 software, add
a message instruction (MSG), create a new tag for the message (Properties:
Base tag type, MESSAGE data type, controller scope), and click the

button in the message instruction.

Operand

Controller Tags for Single Read Message

Data Type

XIC

Execute_Single_Read_Message

BOOL

MSG

Single_Read_Message

MESSAGE

Advertising