beautypg.com

Rockwell Automation 25-COMM-D PowerFlex 525 DeviceNet Adapter User Manual

Page 57

background image

Rockwell Automation Publication 520COM-UM002A-EN-E - April 2013

57

Using Explicit Messaging

Chapter 6

CompactLogix Example Ladder Logic Program to Read a Single
Parameter

A Get Attribute Single message is used to read a single parameter. This read
message example reads the value of the 16-bit parameter b003 [Output Current]
in a PowerFlex 525 drive.

Example Controller Tags to Read a Single Parameter

Example Ladder Logic to Read a Single Parameter

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.

Operation

Controller Tags for Single Read Message

Data Types

XIC

Execute_Single_Read_Message

BOOL

MSG

Single_Read_Message

MESSAGE

Configuration Tab

Example Value

Description

Message Type

CIP Generic

Used to access the DPI Parameter Object in the adapter.

Service Type

(1)

Get Attribute Single

This service is used to read a parameter value.

Service Code

(1)

e (Hex.)

Code for the requested service.

Class

93

(3)

Class ID for the DPI Parameter Object.

Instance

3 (Dec.)

Instance number is the same as parameter number.

(5)

Attribute

9 (Hex.)

Attribute number for the Parameter Value attribute.

Execute_Single_Read_Message

Message
Message Control

Single_Read_Message

MSG

EN
DN
ER

This manual is related to the following products: