Rockwell Automation 2098-DSD-xxx Ultra3000 Digital Servo Drives with DeviceNet User Manual

Page 117

Advertising
background image

Publication 2098-RM004A-EN-P – August 2002

Programming Reference 2-101

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.

Name

Data Type Description of Attribute

Enumerated String Number

USINT

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

Advertising