2 set attribute single message example – Rockwell Automation RECOMM-ENET EtherNet/IP Communications Module User Manual
Page 80

7-8
EtherNet/IP Communications Module
7.4.2 Set Attribute Single Message Example
A Set Attribute Single message writes a value for a single attribute.
In this example, we write the value of a parameter in an SP600
drive.
Message Format Example
Table 7.2 identifies key settings for the data format:
Figure 7.7 – Message Format for a Set Attribute Single Message
SP600
Table 7.2 – Key Settings for Data Format
Configuration
Value
Description
Page
Service Type
1
Service Code
1
Class
Instance
Attribute
Source Element
Source Length
Set Attribute Single
10 (Hex.)
93 (Hex.)
107 (Dec.)
9 (Hex.)
SetAttributeSingleData
2 bytes
Write parameter data
Code for Set_Attribute_Single
DPI Parameter Object
Parameter 107 (Preset Speed 7)
Parameter Value
Controller tag for write data
One 16-bit word of data is sent
C-24
C-10
C-20
C-20
C-21
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 (inaccessible).