Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 164

Advertising
background image

6-36

Using Explicit Messaging

20-COMM-C/Q ControlNet Adapter User Manual
Publication 20COMM-UM003F-EN-P

PLC-5 Controller – Formatting a Message to Write Multiple Parameters

Figure 6.44 Scattered Write Multiple Message Configuration Screens

The following table identifies the data that is required in each box to
configure a message to write 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
4c (Hex.)
93 or 9F (Hex.)

(1)

0 (Hex.)

N80:0

15

(2)

N90:0

15

(2)

Command type for the controller to write multiple data to 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 writing to five parameters. Each parameter being written to requires three contiguous 16-bit words. Scattered write messages always
assume that every parameter being written to is a 32-bit integer, regardless of its actual data type. The data structure format is the same as shown on

page 6-29

. 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

Host DPI Parameter Object on page C-30

(Class code 0x9F).

Advertising
This manual is related to the following products: