Class ID

F6 (hex), 246 (decimal)

Instance IDs

The Ethernet Link object presents the following instance values (for an BMECRA31210):

  • 0: class

  • 1: port (ETH1)

  • 2: port (ETH2)

  • 3: port (ETH3)

  • 4: port (Internal backplane port 255)

Attributes

The Ethernet Link object presents the following attributes:

Instance ID = 0 (class attributes):

Attribute ID

Description

GET

SET

01

Revision

X

02

Max Instance

X

03

Number of Instances

X

X = supported

— = not supported

Instance ID = 1 (instance attributes):

Attribute ID

Description

Type

GET

SET

Value

hex

dec

         

01

01

Interface speed

UDINT

X

Valid values include:

0, 10000000, 100000000

02

02

Interface flags

DWORD

X

Bit 0: link status

0 = Inactive

1 = Active

Bit 1: duplex mode

0 = half duplex

1 = full duplex

Bits 2—4: negotiation status

3 = successfully negotiated speed and duplex

4 = forced speed and link

Bit 5: manual setting requires reset

0 = automatic

1 = device need reset

Bit 6: local hardware detected error

0 = no event

1 = event detected

03

03

Physical Address

ARRAY of 6 USINT

X

module MAC address

04

04

Interface Counters

STRUCT of

X

 

In bytes

UDINT

bytes received on the interface

In Ucast packets

UDINT

unicast packets received on the interface

In NUcast packets

UDINT

non-unicast packets received on the interface

In discards

UDINT

inbound packets received on the interface, but discarded

In detected errors

UDINT

inbound packets with detected errors (does not include in discards)

In Unknown Protocals

UDINT

inbound packets with unknown protocol

Out bytes

UDINT

bytes sent on the interface

Out Ucast packets

UDINT

unicast packets sent on the interface

Out NUcast packets

UDINT

non-unicast packets sent on the interface

Out discards

UDINT

outbound packets discarded

Out detected errors

UDINT

outbound packets with detected errors

05

05

Media Counters

STRUCT of

X

 

Detected alignment errors

UDINT

frames that are not an integral number of bytes in length

Detected FCS errors

UDINT

incorrect CRC: frames received do not pass the FCS check

Single collisions

UDINT

successfully transmitted frames that experienced exactly 1 collision

Multiple collisions

UDINT

successfully transmitted frames that experienced more than 1 collision

SQE test errors

UDINT

number of times the SQE test error is generated

Deferred transmissions

UDINT

frames for which first transmission attempt is delayed because the medium is busy

Late collisions

UDINT

number of times a collision is detected later than 512-bit times into the transmission of a packet

Excessive collisions

UDINT

frames that do not transmit due to excessive collisions

MAC transmit detected errors

UDINT

frames that do not transmit due to a detected internal MAC sublayer transmit detected error

Frame too long

UDINT

frames received that exceed the maximum permitted frame size

05

05

Detected MAC receive errors

UDINT

X

frames not received on an interface due to a detected internal MAC sublayer detected receive error

Carrier sense detected errors

UDINT

times that the carrier sense condition was lost or not asserted when attempting to transmit a frame

06

06

Interface Control

STRUCT of

X

X

API of the connection

Control bits

WORD

Bit 0: Auto-negotiation

0 = disabled

1 = enabled

Note: When auto-negotiation is enabled, 0x0C (object state conflict) is returned when attempting to set either:

  • forced interface speed

  • forced duplex mode

Bit 1: forced duplex mode (if auto-negotiation bit = 0)

0 = half duplex

1 = full duplex

Forced interface speed

UINT

Valid values include:

10000000, 100000000

Note: Attempting to set any other value returns the detected error 0x09 (invalid attribute value)

10

16

Interface label

SHORT_STRING

X

A fixed textual string identifying the interface that should include ‘internal’ for internal interfaces. Maximum number of characters is 64.

X = supported

— = not supported

Services

The Ethernet Link object supports the following services:

Service ID

Description

Class

Instance

hex

dec

01

01

Get_Attributes_All

X

X

10

16

Set_Attribute_Single

X

0E

14

Get_Attribute_Single

X

X

4C

76

Get_and_Clear

X

X = supported

— = not supported