Formatting a message to write to a parameter – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 64

Advertising
background image

6-4

Using Explicit Messaging

For supported classes, instances, and attributes, refer to

Appendix C

,

ControlNet Objects

.

Formatting a Message to Write to a Parameter

A Set Attribute Single message is used to write to a single parameter.
This example write message is for parameter P039 - [Accel Time 1] for a
PowerFlex 4-Class drive.

Figure 6.3 Set Attribute Single Message Configuration Screens

For supported classes, instances, and attributes, refer to

Appendix C

,

ControlNet Objects

.

Configuration Tab

Example Value

Description

Message Type

Service Type

(1)

Service Code

(1)

Class
Instance

Attribute
Source Element
Source Length

CIP Generic

Set Attribute Single
10 (Hex.)
f (Hex.)
39 (Dec.)

1 (Hex.)
Accel_Time_1
2 bytes

CIP messages are used to access the Parameter object

in the 22-COMM-C.

This service is used to write a parameter value.
The code for the requested service.
The Class ID for the CIP Parameter object.
The instance number is the same as the parameter

number in Single mode operation.

The attribute number for the Parameter Value attribute.
The tag where the data that is written is stored.
The size of a parameter value in a PowerFlex 4-Class

drive is always 2 bytes.

Communication Tab Example Value

Description

Path

(2)

PowerFlex_40…

The path is the route that the message will follow.

(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 selecting a Service Type other than “Custom” from the pull-down menu, an
appropriate Hex. value is automatically assigned to the Service Code box which grays out (unavailable).

(2)

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

Advertising