Example set attribute single message, Example message format – Rockwell Automation 22-COMM-E EtherNet/IP Adapter User Manual

Page 58

Advertising
background image

6-8

Using Explicit Messaging

A Set Attribute Single message writes a value for a single attribute. In
this example, we write the value of a parameter in a PowerFlex 40 drive.

Example Message Format

Figure 6.7 Message Format for a Set Attribute Single Message

The following table identifies key settings for the data format:

Example Set Attribute Single Message

Configuration

Value

Description

Refer to . . .

Service Type

(1)

Service Code

(1)

Class
Instance
Attribute
Source Element
Source Length

(1)

The default setting for Service Type is “Custom,” which enables you to enter a Service
Code that is not available from the Service Type pulldown menu. When you select a
Service Type other than “Custom” from the pulldown menu, an appropriate Hex. value
is automatically assigned to the Service Code box which grays out (unavailable).

Set Attribute Single
10 (Hex.)
f (Hex.)
39 (Dec.)
1 (Hex.)
ParameterWriteValue
2 bytes

Write parameter data
Set_Attribute_Single
DSI Parameter Object
Parameter 39 - [Accel Time 1]
Parameter Value
Controller tag for write data
One 16-bit word of data is sent

C-27
C-12
C-24
C-24
C-25


Advertising