Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual
Page 159

Using Explicit Messaging
6-31
20-COMM-C/Q ControlNet Adapter User Manual
Publication 20COMM-UM003F-EN-P
PLC-5 Controller – Formatting a Message to Read Multiple Parameters
Figure 6.37 Scattered Read Message Configuration Screens
The following table identifies the data that is required in each box to
configure a message to read multiple parameters.
General Tab
Example Value
Description
Communication Command
Service Code
Class Number
Instance Number
Attribute Number
Snd Addr
Snd Elems
Rcv Addr
Rcv Elems
Generic Bi-Directional
4b (Hex.)
93 or 9F (Hex.)
(1)
0 (Hex.)
—
N60:0
15
(2)
N70:0
Command type for the controller to read multiple data from the drive.
Code for the requested service.
Class ID for the DPI Parameter Object.
Required for scattered messages.
Not used.
An unused controller data table address containing the message instruction. This
address is the starting word of the source file.
Number of elements (words) to be transferred. Each element size is a 16-bit integer.
An unused controller data table address containing the message instruction. This
address is the starting word of the destination file.
Number of elements (words) to be transferred. Each element size is a 16-bit integer.
MultiHop Tab
Example Value
Description
To Address
2
The node address of the adapter connected to the drive.
(1)
See
Table 6.A on page 6-2
for limitations of PowerFlex 7-Class and PowerFlex 750-Series drives when using DPI Parameter Object Class code 0x93 or Host
DPI Parameter Object Class code 0x9F for explicit messaging.
(2)
In this example, we are reading five parameters. Each parameter being read requires three contiguous 16-bit words. Scattered read messages always assume
that every parameter being read is a 32-bit integer, regardless of its actual data type. The data structure format is the same as shown on
. Maximum
length is 66 words, which equates to 22 parameters. For parameter numbering, see
DPI Parameter Object on page C-16
(Class code 0x93) or
(Class code 0x9F).