Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 140

Advertising
background image

140

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013

Chapter 6 Using Explicit Messaging

The following table identifies the data that is required in each box to configure a
message to write multiple parameters.

MicroLogix 1100/1400 Controller Example Scattered Write Request Data

In this message example, we use the data table addresses in

Figure 75

to store the

request values to be written to these drive parameters.

See

DPI Parameter Object on page 198

(Class code 0x93) for parameter

numbering.

Figure 75

or

Figure 76

shows the parameter values.

Figure 75 - Example Scattered Write Request Data File for PowerFlex 7-Class Drive

General Tab

Example Value

Description

Channel

Comm… Command

Data Table Address

Size in Bytes

Extended Routing…

Service

(1)

Service Code

Class

Instance

Attribute

1

CIP Generic

N80:0

30

(2)

RIX21:0

Custom

4C (Hex.)

93 or 9F (Hex.)

(3)

0 (Dec.)

0 (Dec.)

Controller port to which the network is connected.

Used to access the Parameter Object in the adapter.

An unused controller data table address containing the message

instruction. This address is the starting word of the destination file.

Number of bytes to be transferred. Each byte size is an 8-bit integer.

An unused routing information file for the controller.

Required for scattered messages.

Code for the requested service.

Class ID for the DPI Parameter Object.

Required for scattered messages.

Required for scattered messages.

MultiHop Tab

Example Value

Description

To Address

10.91.100.79

IP address of the adapter connected to the drive.

(1) The default setting for Service is ‘Custom’, enabling entry of a Service Code not available from the Service pull-down menu. When

choosing a Service other than ‘Custom’ from the pull-down menu, an appropriate Hex. value is automatically assigned to the
Service Code box which is dimmed (unavailable).

(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 parameter, regardless of its actual
size. Therefore, the Size in Bytes must be set to 30. The data structure format is the same as shown on

page 120

. Maximum length

is 66 words (132 bytes), which equates to 22 parameters. For parameter numbering, see

DPI Parameter Object on page 198

(Class

code 0x93).

(3) See

Table 17 on page 106

for limitations of PowerFlex 7-Class drives when using DPI Parameter Object Class code 0x93 for

explicit messaging.

Advertising