Register object, Class code, Services – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 198: Instances, Class attributes, Instance attributes

Advertising
background image

C-4

DeviceNet Objects

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

Register Object

Class Code

Services

Instances

Class Attributes

Not supported.

Instance Attributes

Important: Setting a Register object attribute can only be done through a

connection with a non-zero expected packet rate (EPR). This
feature prevents accidental control of a DPI device.

Hexadecimal Decimal
0x07

7

Service Code Implemented for:

Service Name

Class

Instance

0x0E

Yes

Yes

Get_Attribute_Single

0x10

Yes

Yes

Set_Attribute_Single

Instance

Description

1

All polled data being read from the DPI device (read-only)

2

All polled data written to the DPI device (read/write)

3

Logic Status and Feedback data (read-only)

4

Logic Command and Reference data (read/write)

5

Datalink A (input data from device to scanner) (read only)

6

Datalink A (output data from scanner to device) (read/write)

7

Datalink B (input data from device to scanner) (read only)

8

Datalink B (output data from scanner to device) (read/write)

9

Datalink C (input data from device to scanner) (read only)

10

Datalink C (output data from scanner to device) (read/write)

11

Datalink D (input data from device to scanner) (read only)

12

Datalink D (output data from scanner to device) (read/write)

13

Logic Status and Feedback Data (read-only)

14

Mask

(1)

(read/write)

(1)

The mask command word is set to the value of the first word of the data where there are ones in the

second word of the data. Command = (word 1 and not word 2) or (word 1 and word 2). This only controls

specified bits in the Logic Command data to the DPI product and does not change the Reference value.

Attribute ID Access Rule Name

Data Type

Description

1

Get

Bad Flag

BOOL

If set to 1, then attribute 4 may contain invalid data.

0 = good

1 = bad

2

Get

Direction

BOOL

Direction of data transfer

0 = Producer Register (drive to network)

1 = Consumer Register (network to drive)

3

Get

Size

UINT

Size of register data in bits

4

Conditional

(1)

Data

ARRAY of BITS

Data to be transferred

(1)

For this attribute, the Access Rule is Get if Direction = 0. The Access Rule is Set if Direction = 1.

Advertising