Example set attribute single message, Example message format, Example set attribute single message -8 – Rockwell Automation 1203-EN1 EtherNet/IP-to-SCANport Module User Manual

Page 72

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 1305 drive.

Example Message Format

Figure 6.6 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 pull-down menu. When you select 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).

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

Write parameter data
Set Attribute Single
CIP Parameter Object
Parameter 74 - [Preset Freq 5]
Parameter Value
Controller tag for write data
One 16-bit word of data is sent

C-22
C-10
C-20
C-20
C-21


Advertising