beautypg.com

Ethernet link object, Class code, Services – Rockwell Automation 25-COMM-E2P PowerFlex 25-COMM-E2P Dual-Port EtherNet/IP Adapter User Manual

Page 155: Instances, Class attributes, Instance attributes, Class code services instances, Class attributes instance attributes

background image

Rockwell Automation Publication 520COM-UM003A-EN-E - June 2013

155

EtherNet/IP Objects

Appendix C

Ethernet Link Object

Class Code

Services

Instances

The adapter supports one instance of the TCP/IP Interface object.

Class Attributes

Instance Attributes

Hexadecimal

Decimal

0xF6

246

Implemented for:

Service Code

Class

Instance

Service Name

0x0E

Yes

Yes

Get_Attribute_Single

0x4C

No

Yes

Get_and_Clear

0x10

No

Yes

Set_Attribute_Single

Number

Description

0

Class Attributes

1

ENET1 Network Port

2

ENET2 Network Port

Attribute ID

Access Rule

Name

Data Type

Description

1

Get

Class Revision

UINT

The revision of this object

Attribute ID

Access Rule

Name

Data Type

Description

1

Get

Interface Speed

UDINT

Speed in megabits per second (Mbs)

2

Get

Interface Flags

UDINT

Bit | Value
0 = Link status (0 = inactive, 1 = active)
1 = Duplex (0 = half duplex, 1 = full duplex)
2…31 = Reserved

3

Set

Physical Address

USINT[6]

MAC address (XX-XX-XX-XX-XX-XX)
The first octet (USINT[0]) is on the left.

4

Get

Interface Counters

STRUCT of:

UDINT
UDINT
UDINT
UDINT
UDINT
UDINT
UDINT
UDINT
UDINT
UDINT
UDINT

Octets received
Unicast packets received
Non-unicast packets received
Inbound packets received but discarded
Inbound packets with errors (not discarded)
Inbound packets with unknown protocol
Octets sent
Unicast packets sent
Non-unicast packets sent
Outbound packets discarded
Outbound packets with errors