Instance attributes, Register object, Class code – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 184: Services, Instances, Class code services instances

Advertising
background image

184

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013

Appendix C EtherNet/IP Objects

Instance Attributes

Important: Setting an assembly object attribute can be done only when the

Control Timeout (class attribute 100) has been set to a non-zero
value.

Register Object

Class Code

Services

Instances

Attribute ID

Access Rule

Name

Data Type

Description

1

Get

Number of
Members

WORD

1

2

Get

Member List

ARRAY of STRUCT:

WORD

WORD

Packed EPATH

Size of member data
Size of member path
Member path

3

Conditional

(1)

(1) For instance 1, access rule for the data attribute is Get. For instance 2, it is Get/Set.

Data

Array of Bits

Data to be transferred

4

Get

Size

WORD

Size of assembly data in bits

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 I/O data being read from the DPI device (read-only)

2

All I/O 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.

15

Logic Status (read-only)

16

Logic Command (read/write)

17

Feedback (read-only)

18

Reference (read/write)

Advertising