4 set attributes scattered message example – Rockwell Automation RECOMM-ENET EtherNet/IP Communications Module User Manual

Page 86

Advertising
background image

7-14

EtherNet/IP Communications Module

7.4.4 Set Attributes Scattered Message Example

A Set Attributes Scattered message writes values to multiple
attributes. In this example, we write the values of various
parameters in an SP600 drive.

Example Message Format

The following table identifies key settings for the message format:

Figure 7.15 – Message Format for a Set Attributes Scattered Message

Table 7.4 – Message Format Settings

Configuration Value

Description

Page

Service Type

1

Service Code

1

Class

Instance

Attribute
Source
Element

Source Length

Destination

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).

Custom

4C
93 (Hex.)

0 (Dec.)

0 (Hex.)
SetScatteredRequestData

30 Bytes

SetScatteredResponseData

Required for scattered messages

Code for Get Attributes Scattered
DPI Parameter Object

Required for scattered messages

Required for scattered messages
Controller tag for request data

Fifteen 16-bit words of data

Controller tag for response data

C-24
C-20

7-16

7-16

7-17

SP600

Advertising