beautypg.com

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

Page 185: Class code, Services, Class attributes instance attributes, Class code services

background image

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

185

EtherNet/IP Objects Appendix C

Class Attributes

Instance Attributes

Important: Setting a Register object attribute can be done only when the

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

Parameter Object

Class Code

Services

Attribute ID

Access Rule

Name

Data Type

Description

100

Set

Control Timeout

WORD

Control timeout in seconds

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

WORD

Size of register data in bits

4

Conditional

(1)

Data

ARRAY of BITS

Data to be transferred

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

Hexadecimal

Decimal

0x0F

15

Service Code

Implemented for:

Service Name

Class

Instance

0x01

Yes

Yes

Get_Attributes_All

0x05

Yes

No

Reset

0x0E

Yes

Yes

Get_Attribute_Single

0x10

Yes

Yes

Set_Attribute_Single

0x4B

No

Yes

Get_Enum_String