beautypg.com

Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 169

background image

Publication 2100-UM001B-EN-P – January 2001

DeviceNet Objects

C-15

Object Specific Services

Enumerated strings are human-readable strings that describe either a
bit or a value, depending on the data type of instance attribute 1, the
Parameter Value. If the data type is a BYTE or WORD, the
enumerated string is a bit enumerated string. If the data type is INT or
UINT, the enumerated string is a value enumerated string. Any other
data type does not have enumerated strings.

The table below lists the parameters for the Get_Enum_String request
service.

If the string to be returned is a bit enumerated string, then the
enumerated string number represents a bit position and the
Get_Enum_String service returns a string from that bit.

If the string to be returned is a value enumerated string, then the
enumerated string number represents a value and the
Get_Enum_String service returns a string for that value.

The enumerated string is returned in the form of a SHORT_STRING
and is 16 characters long plus the preceding length byte.

Service

Code

Implemented for

Service Name

Class

Instance

0x4B

No

Yes

Get_Enum_String

Name

Data Type

Description of Attribute

Enumerated

String Number

USINT

Number of enumerated string to
retrieve (MAX value is 255).