Rockwell Automation Publication 750COM-UM009A-EN-P - May 2017 99
Using Explicit Messaging Chapter 5
ControlLogix Controller
Examples
For supported classes, instances, and attributes, see Appendix D, EtherNet/IP
Objects.
Ladder Logic Program to Read a Single Parameter
A Get Attribute Single message is used to read a parameter. This read message
example reads the value of the 32-bit REAL (floating point) 10:3 - [Output
Current] in a PowerFlex 755T drive.
Table 10 - Example Controller Tags to Read a Single Parameter
Figure 19 - Example Ladder Logic to Read a Single Parameter
TIP To display the Message Configuration dialog box in RSLogix 5000® software,
add a message instruction (MSG), create a tag for the message (Properties:
Base tag type, message data type, controller scope), and click the
button in the message instruction.
IMPORTANT The Explicit Messaging examples in this section can be performed with
RSLogix 5000 software version 20 or Studio 5000® application, version 21 or
later.
IMPORTANT The read and write messaging examples in this section are for Device
parameters, which use Class Code 0x93. For Host parameters, use Class Code
0x9F and format the rest of the message in the same way as these examples.
Do not use the Service Type Parameter Read, which accesses the Parameter
object (class 0x0F). The Parameter object is not supported in PowerFlex 755T
drives.
Operand Controller Tags for Single Read Message Data Type
XIC Execute_Single_Read_Message BOOL
MSG Single_Read_Message MESSAGE