beautypg.com

Register object, Class code, Services – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 124: Instances

background image

C-6

ControlNet Objects

Class Code

Services

Instances

Register Object

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

Input/
Output

Size
(in bits)

1

Logic Command and Reference for all drives

Out

Varies

(1)

2

Logic Status and Feedback for all drives

In

Varies

(1)

3

Logic Command and Reference for Drive 0

Out

32

4

Logic Status and Feedback for Drive 0

In

32

5

Logic Command and Reference for Drive 1

Out

32

6

Logic Status and Feedback for Drive 1

In

32

7

Logic Command and Reference for Drive 2

Out

32

8

Logic Status and Feedback for Drive 2

In

32

9

Logic Command and Reference for Drive 3

Out

32

10

Logic Status and Feedback for Drive 3

In

32

11

Logic Command and Reference for Drive 4

Out

32

12

Logic Status and Feedback for Drive 4

In

32

13

Logic Command for all drives — mask-and-match register

(2)

Out

Varies

(1)

14

Logic Command for Drive 0 — mask-and-match register

(2)

Out

32

15

Logic Command for Drive 1 — mask-and-match register

(2)

Out

32

16

Logic Command for Drive 2 — mask-and-match register

(2)

Out

32

17

Logic Command for Drive 3 — mask-and-match register

(2)

Out

32

18

Logic Command for Drive 4 — mask-and-match register

(2)

Out

32

19

Logic Command for Drive 0

Out

16

20

Logic Status for Drive 0

In

16

(1)

The size for this Register Object instance is 32 bits per drive. For example, if the adapter is operating in
Multi-Drive mode, and is configured with Drives 0 through 4, then the size is 160 bits.

(2)

The structure for this Register Object instance is a Mask word followed by a Command word for each drive.
The Logic Command for each drive is set to the value of the second word of the data where there are ones
in the first word of the data.

Logic Command = (Logic Command and not Mask word) or (Command word and Mask word)