Object specific services – Rockwell Automation 1203-CN1 ControlNet Communications Module 1203-CN1 User Manual

Page 104

Advertising
background image

Publication 1203-5.13 – February, 2002

D-18

ControlNet Objects: Class Code 0x0F — Parameter Object

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.

14

Scaling Divisor Default = 1

15

Scaling Base Default = 1

16

Scaling Offset Default = 0

17

Multiplier Link Default = 0

18

Divisor Link Default = 0

19

Base Link Default = 0

20

Offset Link Default = 0

21

Decimal Precision Default = 0

Service Code

Implemented for:

Service Name

Class

Instance

0x4B

No

Yes

Get_Enum_String

Class Attribute ID

Attribute Name and default Value

Name

Data Type

Description of Attribute

Enumerated String Number

USINT

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

Advertising