beautypg.com

Instance attributes – Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 165

background image

Publication 2100-UM001B-EN-P – January 2001

DeviceNet Objects

C-11

Instance Attributes

Attribute ID

Access

Rule

Stub/Full

Name

Data Type

Description

1

Stub

Parameter Value

Specified in

Descriptor,
Data Type,

and Data

Size

attributes.

Actual value of parameter. Data type
specified in descriptor, data type, and
data size.

➀➁

2

Get

Stub

Link Path Size

USINT

Size of Link Path attribute. If this
attribute is 0, then no link is specified.
Number of BYTEs in attribute 3.

3

Get

Stub

Link Path

ARRAY of

path seg-

ments

Path to the object from where this
parameter value is retrieved.
The link path is limited to 255 BYTEs.

Segment type/port

BYTE

Segment Address

Path (format

depends on

data

contained in

segment

type/port)

4

Get

Stub

Descriptor

WORD

Descriptor of parameter. Refer to the
table on page C-12.

5

Get

Stub

Data Type

USINT

Data type code. Refer to the table on
page C-13.

6

Get

Stub

Data Size

USINT

Number of BYTEs in attribute 1,
Parameter Value.

7

Get

Full

Parameter Name
String

SHORT_

STRING

A human readable string
representing the parameter name.
For example, “frequency #1.”
The maximum number of characters
is 16. (The first byte is a length code.)

8

Get

Full

Units String

SHORT_

STRING

Engineering unit string.
The maximum number of characters
is 4. (The first byte is a length code.)

9

Get

Full

SHORT_

STRING

The maximum number of characters
is 64. (The first byte is a length code.)
Always returns 0.

10

Get

Full

Minimum Value

Same as

attribute 1

The minimum valid actual value to
which attribute 1, Parameter Value,
can be set.

11

Get

Full

Maximum Value

Same as

attribute 1

The maximum valid actual value to
which attribute 1, Parameter Value,
can be set.

The access rule is defined in bit 4 of instance attribute 4, the Descriptor. If bit 4 is 0, the access rule is Set and the Parameter Value can be read and
written. If bit 4 is 1, the access rule is Get and the Parameter Value can only be read.

Data type specified in instance attributes 4 (Descriptor), 5 (Data Type), and 6 (Data Size).