Controllogix controller examples – Rockwell Automation 20-750-CNETC PowerFlex Coaxial ControlNet Option Module User Manual
Page 76
76
Rockwell Automation Publication 750COM-UM003B-EN-P - November 2012
Chapter 6
Using Explicit Messaging
ControlLogix Controller
Examples
For supported classes, instances, and attributes, see
ControlLogix Controller Example Ladder Logic Program to Read a
Single Parameter
A Get Attribute Single message is used to read a single parameter. This read
message example reads the value of the 32-bit REAL (floating point) parameter
007 - [Output Current] in a PowerFlex 750-Series drive.
Table 5 - 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 new 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, any version—or Studio 5000™ Logix Designer application,
version 21.00 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.
The Message Configuration has a Service Type of ‘Parameter Read’ which is
Class code 0x0F, Parameter Object. Parameter Object is not supported in
PowerFlex 750-series drives.
Operand
Controller Tags for Single Read Message
Data Type
XIC
Execute_Single_Read_Message
BOOL
MSG
Single_Read_Message
MESSAGE