2 set attribute single message example – Rockwell Automation MD65 EtherNet/IP Communication Module User Manual
Page 62

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 MD65 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
MD65_Demo
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.)
f (Hex.)
39 (Dec.)
1 (Hex.)
ParameterWriteValue
2 bytes
Write parameter data
Set_Attribute_Single
MDI 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
---
---
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).