Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual

Page 187

Advertising
background image

Using Explicit Messaging

6-61

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

MicroLogix 1100/1400 Controller – Formatting a Message to Read a Single
Parameter Using Generic Get/Set Attribute Service

Figure 6.75 Generic Get Attribute Single Message Configuration Screens

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

General Tab

Example Value

Description

Channel

Comm… Command

Data Table Address

Size in Bytes

Extended Routing…

Service

(1)

Class

Instance

(2)

Attribute

1

CIP Generic

N40:0

4

(3)

RIX15:0

Generic Get Attribute Single

93 or 9F (Hex.)

(4)

3 (Dec.)

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

Code for the requested service.

Class ID for the DPI Parameter Object.

Instance number is the same as the parameter number.

Attribute number for the Parameter Value attribute.

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)

The instance is the parameter number in the drive (Port 0). For example, to read parameter 4 of a peripheral in Port 5 of a PowerFlex

750-Series drive, the instance would be 21504 + 4 = 21508. See

DPI Parameter Object on page C-16

(Class code 0x93) or

Host DPI

Parameter Object on page C-30

(Class code 0x9F) to determine the instance number.

(3)

In this example, Output Current is a 32-bit integer parameter requiring the Size in Bytes field to be set to ‘4’. If the parameter being read is a

16-bit integer, the Size in Bytes must be set to ‘2’. When using a PowerFlex 700S or PowerFlex 750-Series drive, Output Current is a floating

point number requiring the Size in Bytes to be set to ‘4’. See the drive documentation to determine the size of the parameter and its data type

(16-bit or 32-bit integer or REAL).

(4)

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.

Advertising