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

Page 133

Advertising
background image

Using Explicit Messaging

6-7

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

ControlLogix Controller – Formatting a Message to Read a Single Parameter Using
RSLogix 5000 Software, Any Version

Figure 6.5 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

(2)

Attribute

Destination

CIP Generic

Get Attribute Single

e (Hex.)

93 or 9F (Hex.)

(4)

3 (Dec.)

9 (Hex.)

Output_Current

(5)

Used to access the 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.

The tag where the data that is read is stored.

Communication Tab

Example Value

Description

Path

(3)

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

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

(2)

The instance is the parameter number in the drive (Port 0). To read a parameter in another port, 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. 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.

(3)

Click

Browse to find the path, or type in the name of the device listed in the I/O Configuration folder.

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

(5)

In this example, Output Current is a 32-bit integer parameter requiring the Data Type field to be set to ‘DINT’ when creating

the controller tag. If the parameter being read is a 16-bit integer, the tag Data Type field must be set to ‘INT’. When using a

PowerFlex 700S or PowerFlex 750-Series drive, Output Current is a floating point number requiring the Data Type field to be

set to ‘REAL’ when the creating controller tag. See the drive documentation to determine the size of the parameter and its

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

Advertising