Controllogix controller examples, Read a single parameter, Controllogix controller examples -4 – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 132

Advertising
background image

6-4

Using Explicit Messaging

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

ControlLogix Controller

Examples

For supported classes, instances, and attributes, see

Appendix C

,

DeviceNet Objects

.

Read a Single Parameter

ControlLogix Controller Example Ladder Logic Program to Read a Single Parameter
Using RSLogix 5000 Software, Version 15.00 or Later

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.

Important: Parameter Object Class code 0x0F is not supported in

PowerFlex 750-Series drives. To do a single parameter read,
follow the RSLogix 5000 software (any version) single read
example on

page 6-7

.

Table 6.B Example Controller Tags to Read a Single Parameter

Figure 6.2 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