beautypg.com

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

Page 137

background image

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

137

Using Explicit Messaging Chapter 6

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

MicroLogix 1100/1400 Controller Example Scattered Read Request Data

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

Figure 71

or

Figure 71

to store the request values to be read from these drive parameters.

See

DPI Parameter Object on page 198

(Class code 0x93) for parameter

numbering.

Figure 71 - Example Scattered Read 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

N60:0

30

(2)

RIX19:0

Custom

4B (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 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 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 141

. 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.

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]