Rockwell Automation 2098-IPD-020-DN Ultra5000 Series Intelligent Positioning Drives with DeviceNet Reference Manual User Manual

Page 77

Advertising
background image

Publication 2098-RM002A-EN-P – October 2001

Programming Reference

4-53

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, WORD, or DWORD the
enumerated string is a bit enumerated string. If the data type is INT,
USINT, or UINT the enumerated string is a value enumerated string.
Any other data type does not have enumerated strings.

The table below describes the Get_Enum_String request service
attribute.

• 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 describing 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
with a maximum number of characters of 16.

Parameter Object Specific Services
Service

Code

Service

Name

Service

Description

4B

H

Get_Enum_String Use this service to read enumerated strings from

the Parameter Instance. See DeviceNet

Specification Vol 2: Object Library, Parameter

Object referenced on page P-3.

Name

Data Type Description of Attribute

Enumerated String Number

USINT

Number of enumerated string to retrieve

(MAX value is 255).

Advertising