beautypg.com

Register object, Class code, Services – Rockwell Automation 20-750-DNET PowerFlex DeviceNet Option Module User Manual

Page 102: Instances, Class attributes, Instance attributes

background image

102

Rockwell Automation Publication 750COM-UM002B-EN-P - October 2012

Appendix C

DeviceNet Objects

Register Object

Class Code

Services

Instances

Class Attributes

Instance Attributes

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 option module (read-only)

2

All polled data written to the option module (read/write)

3

Logic Status and Feedback data (read-only)

4

Logic Command and Reference data (read/write)

5

DL To Net 01 (input data from option module to scanner) (read only)

6

DL From Net 01 (output data from scanner to option module) (read/write)

35

DL To Net 16 (input data from option module to scanner) (read only)

36

DL From Net 16 (output data from scanner to option module) (read/write)

37

Logic Status and Feedback data (read-only)

38

Masked Logic Command

(1)

(read/write)

(1) The mask command DWORD is set to the value of the first DWORD of the data where there are ones in the second

DWORD of the data. Only the bits of the Logic Command that have the corresponding mask bit set are applied.

39

Logic Status data (read only)

40

Logic Command data (read/write)

41

Feedback data (read only)

42

Reference data (read/write)

Attribute ID

Access Rule

Name

1

Read

Revision

2

Read

Maximum Instance

3

Read

Number of Instances

100

Read/Write

Timeout

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)

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

Data

ARRAY of BITS

Data to be transferred