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

Page 183: Class code, Services, Instances, Class attributes instance attributes, Class code services instances class attributes

Advertising
background image

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

183

EtherNet/IP Objects Appendix C

Class Attributes

Instance Attributes

Assembly Object

Class Code

Services

Instances

Class Attributes

Attribute ID

Access Rule

Name

Data Type

Description

2

Get

Max Instance

WORD

Total number of instances

Attribute ID

Access Rule

Name

Data Type

Description

1

Get

Vendor ID

WORD

1 = Allen-Bradley

2

Get

Device Type

WORD

123

3

Get

Product Code

WORD

Number identifying product name and rating

4

Get

Revision:
Major
Minor

STRUCT of:
BYTE
BYTE

Value varies
Value varies

5

Get

Status

WORD

Bit 0 = Owned
Bit 8 = Minor recoverable fault
Bit 10 = Major recoverable fault

6

Get

Serial Number

DWORD

Unique 32-bit number

7

Get

Product Name

SHORT_STRING

Product name and rating

8

Get

State

USINT

Always returns 3 (Operational)

9

Get

Configuration
Consistency Value

UINT

For the Host (Instance #1) the CCV is determined from the Host's
NVS Checksum along with 20-COMM-ER's NVS Checksum.
For DPI Peripherals (Instances 2-15) the CCV is from the
peripheral's NVS Checksum only.

Hexadecimal

Decimal

0x04

4

Implemented for:

Service Code

Class

Instance

Service Name

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)

191

Input only

192

Listen only

Attribute ID

Access Rule

Name

Data Type

Description

1

Get

Revision

WORD

2

2

Get

Max Instance

WORD

2

100

Set

Control Timeout

WORD

Control timeout in seconds

Advertising