Register object – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 114

Advertising
background image

C-6

DeviceNet Objects

Class Code

Instances

The number of instances is fixed at thirteen and is as shown below:

If a drive is not present, the Data instance attributes for that individual
drive will contain values of zero and the Bad Flag instance attribute will
be set.

The size of the Data instance attribute for instances 1, 2, and 13 will
change depending upon the number of drives for which the adapter is
configured.

Register Object

Hexadecimal Decimal
0x07

7

Instance

Description

0

Class

1

Command and reference for all drives (read/write)

2

Status and feedback for all drives (read-only)

3

Command and reference for Drive 0 (read/write)

4

Status and feedback for Drive 0 (read-only)

5

Command and reference for Drive 1 (read/write)

6

Status and feedback for Drive 1 (read-only)

7

Command and reference for Drive 2 (read/write)

8

Status and feedback for Drive 2 (read-only)

9

Command and reference for Drive 3 (read/write)

10

Status and feedback for Drive 3 (read-only)

11

Command and reference for Drive 4 (read/write)

12

Status and feedback for Drive 4 (read-only)

13

Masked Command write for all drives (read/write)

(1)

(1)

The Data instance attribute for the masked command is the same size as
the data attribute for instance 1. However, the structure is a Command word
followed by a mask word for each drive. The Logic Command for each drive
is set to the value of the first word of the data where there are ones in the
second word of the data.

Logic Command = ((Command word and not mask word) or
(command word and mask word))

Advertising