Read multiple parameters – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 141

Advertising
background image

Using Explicit Messaging

6-13

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

Read Multiple Parameters

ControlLogix Controller Example Ladder Logic Program to Read Multiple
Parameters Using RSLogix 5000 Software, Any Version

A Scattered Read message is used to read the values of multiple parameters.
Up to 22 parameters can be read. This read message example reads the
values of these five parameters in a PowerFlex 7-Class drive:

• Parameter 001 - [Output Freq]

• Parameter 003 - [Output Current]

• Parameter 006 - [Output Voltage]

• Parameter 012 - [DC Bus Voltage]

• Parameter 017 - [Analog In1 Value]

See

DPI Parameter Object on page C-13

(Class Code 0x93) for parameter

numbering.

Important: See

Table 6.A on page 6-2

for limitations of PowerFlex 7-Class

and PowerFlex 750-Series drives when using DPI Parameter
Class code 0x93 for explicit messaging.

Table 6.F Example Controller Tags to Read Multiple Parameters

Figure 6.12 Example Ladder Logic to Read Multiple Parameters

Operand

Controller Tags for Read Multiple Message

Data Type

XIC

Execute_Scattered_Read_Message

BOOL

MOV

Scattered_Read_Request_Internal_Use_Only[0]

SINT[32]

COP

Scattered_Read_Request[0]

INT[15]

MSG

Scattered_Read_Message

MESSAGE

TIP: The MOV (Move) and COP (Copy) instructions are required to
convert the data into the necessary data types, and to align the data into a
usable display format.

Advertising