beautypg.com

Rockwell Automation 25B PowerFlex 525 Embedded EtherNet/IP Adapter User Manual

Page 72

background image

72

Rockwell Automation Publication 520COM-UM001B-EN-E - March 2013

Chapter 6

Using Explicit Messaging

CompactLogix – Formatting a Message to Read a Single Parameter

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.

Configuration Tab

Example Value

Description

Message Type
Service Type

(1)

Service Code

(1)

Class
Instance
Attribute
Source Element
Source Length
Destination

(1) The default setting for Service Type is “Custom,” enabling entry of a Service Code not available from the Service Type pull-down

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

CIP Generic
Get Attribute Single
e (Hex.)
93

(3)

3 (Dec.)
9 (Hex.)

0 bytes
Output_Current

(4)

(3) See

Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 70

for limitations of PowerFlex 525 drives when

using DPI Parameter Object Class code 0x93 for explicit messaging.

(4) In this example, Output Current is a 16-bit parameter requiring the Data Type field to be set to “INT” when creating the controller

tag. See the drive documentation to determine the size of the parameter and its data type.

Used to access the DPI Parameter Object in the adapter.
This service is used to read a parameter value.
Code for the requested service.
Class ID for the DPI Parameter Object.
Instance number is the same as parameter number.
Attribute number for the Parameter Value attribute.
Leave blank (not applicable).
Number of bytes of service data to be sent in the message.
The tag where the data that is read is stored.

Communication Tab Example Value

Description

Path

(2)

(2) Click Browse to find the path, or type in the name of the device listed in the I/O Configuration folder (for this example,

PowerFlex_52X_Drive).

PowerFlex_52X_Drive

The path is the route that the message will follow.

Tag Tab

Example Value

Description

Name

Single_Read_Message

The name for the message.