1 get attribute single message example – Rockwell Automation RECOMM-ENET EtherNet/IP Communications Module User Manual

Page 78

Advertising
background image

7-6

EtherNet/IP Communications Module

7.4.1 Get Attribute Single Message Example

A Get Attribute Single message reads a single attribute value. In
this example, we read the value of a parameter in an SP600 drive.

Message Format Example

Table 7.1 identifies key settings for the message format:

Figure 7.4 – Message Format for a Get Attribute Single Message

Table 7.1 – Settings for Message Format

Configuration

Value

Description

Page

Service Type

1

Service Code

1

Class

Instance
Attribute

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

Get Attribute Single
e (Hex.)

93 (Hex.)

1 (Dec.)
9 (Hex.)

GetAttributeSingleData

Read Parameter data
Code for Get_Attribute_Single

DPI Parameter Object

Parameter 1 (Output Freq)
Parameter Value

Controller tag for response data

C-24
C-10

C-20

C-20
C-21

SP600

Advertising