beautypg.com

Ethernet link object, Class code, Services – Rockwell Automation 25B PowerFlex 525 Embedded EtherNet/IP Adapter User Manual

Page 151: Instances, Class attributes, Instance attribute, Class code services instances, Class attributes instance attribute

background image

Rockwell Automation Publication 520COM-UM001B-EN-E - March 2013

151

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 Attribute

Hexadecimal

Decimal

0xF6

246

Implemented for:

Service Code

Class

Instance

Service Name

0x0E

Yes

Yes

Get_Attribute_Single

0x4C

No

Yes

Get_and_Clear

Number

Description

0

Class Attribute

1

Object Attribute

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