Instance Attributes
# | Name | Access | Type | Value | Comments |
---|---|---|---|---|---|
1 | Interface Speed | Get | UDINT | 10 or 100 | Actual Ethernet interface speed. |
2 | Interface Flags | Get | DWORD | - | See table “Interface Flags” below. |
3 | Physical Address | Get | Array of 6 USINTs | (MAC ID) | Physical network address, i.e. assigned MAC address. |
4 | Interface Counters | Get | Struct of: | ||
In Octets | UDINT | N/A | Octets received on the interface | ||
In Ucast Packets | UDINT | N/A | Unicast packets received on the interface | ||
In NUcast Packets | UDINT | N/A | Nonunicast packets received on the interface | ||
In Discards | UDINT | N/A | Inbound packets with unknown protocol | ||
In Errors | UDINT | N/A | Inbound packets that contain errors (does not include In discards) | ||
In Unknown Protos | UDINT | N/A | Inbound packets with unknown protocol | ||
Out Octets | UDINT | N/A | Octets sent on the interface | ||
Out Ucast Packets | UDINT | N/A | Unicast packets sent on the interface | ||
Out NUcast Packets | UDINT | N/A | Nonunicast packets sent on the interface | ||
Out Discards | UDINT | N/A | Outbound packets with unknown protocol | ||
Out Errors | UDINT | N/A | Outbound packets that contain errors (does not include Out discards) | ||
5 | Media Counters | Get | Struct of: | Media specific counters | |
Alignment Errors | UDINT | N/A | Frames received that are not an integral number of octets in length | ||
FCS Errors | UDINT | N/A | Frames received that do not pass the FCS check | ||
Single Collisions | UDINT | N/A | Successfully transmitted frames that have experienced exactly one collision | ||
Multiple Collisions | UDINT | N/A | Successfully transmitted frames that have experienced more than one collision | ||
SQE Test Errors | UDINT | 0 | The number of times the SQE test error message is generated(Counter not provided with current PHY interface) | ||
Deferred Transmissions | UDINT | N/A | Frames for which the first transmission attempt is delayed because the medium is busy | ||
Late Collisions | UDINT | N/A | The number of times a collision is detected later than 512 bit-times into the transmission of a packet | ||
Excessive Collisions | UDINT | N/A | Frames for which a transmission fails due to excessive collisions | ||
MAC Transmit Errors | UDINT | N/A | Frames for which a transmission fails due to an internal MAC sublayer receive error | ||
Carrier Sense Errors | UDINT | N/A | The number of times that the carrier sense condition was lost or never asserted when attempting to transmit a frame | ||
Frame Too Long | UDINT | N/A | Frames received that exceed the maximum permitted frame size | ||
MAC Receive Errors | UDINT | N/A | Frames for which reception on an interface fails due to an internal MAC sublayer receive error | ||
6 | Interface Control | Get/Set | Struct of: | ||
Control Bits | WORD | - | Interface control bits | ||
Forced Interface Speed | UINT | - | Speed at which the interface shall be forced to operate. Returns ‘Object state Conflict’ if auto-negotiation is enabled | ||
7 | Interface Type | Get | USINT | - | See table “Interface State” below. |
8 | Interface State | Get | USINT | - | See table “Interface Type” below. |
9 | Admin State | Get/Set | USINT | - | See table “Admin State” below. |
10 | Interface Label | Get | SHORT_STRING | — | See table “Interface Label” below. |
11 | Interface Capability | Get | Struct of: | - | Indication of the capabilities of the interface |
Capability Bits | DWORD | - | Interface capabilities, other than speed/duplex See table “Interface Capability” below. | ||
Speed/Duplex Options | Struct of: | - | Indicates speed/duplex pairs supported in the Interface Control Attribute | ||
USINT | - | Speed/duplex array count | |||
Array of Struct of: | - | Speed/duplex array | |||
UINT | - | Interface speed | |||
USINT | - | Interface Duplex Mode 0 = half duplex 1 = full duplex 2 - 255 = Reserved |
Support for attribute #6 can be disabled by implementing attribute #9 in the EtherNet/IP Host Object (F8h). see EtherNet/IP Host Object (F8h)
Support for attribute #9 can be disabled by implementing the port state attributes (#12 or #13) in the Ethernet Host object (F9h) see Ethernet Host Object (F9h)
Interface Flags
Bit | Name | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Link status | Indicates whether or not the Ethernet 802.3 communications interface is connected to an active network. | ||||||||||||
| ||||||||||||||
1 | Half/full duplex | Indicates the duplex mode currently in use.
| ||||||||||||
2 - 4 | Negotiation Status | Indicates the status of link auto-negotiation.
| ||||||||||||
5 | Manual Setting requires Reset |
| ||||||||||||
6 | Local Hardware Fault |
| ||||||||||||
7-31 | (reserved) | Set to 0. |
Interface State
This attribute indicates the current operational state of the interface.
Value | Description |
---|---|
0 | Unknown interface state. |
1 | The interface is enabled and is ready to send and receive data. |
2 | The interface is disabled. |
3 | The interface is testing. |
Admin State
This attribute controls the administrative setting of the interface state.
Value | Description |
---|---|
0 | (reserved) |
1 | Enable the interface. |
2 | Disable the interface. |
3-255 | (reserved) |
Interface Label
This attribute is configurable via the EtherNet/IP Host Object, see page EtherNet/IP Host Object (F8h)
Instance | Value |
---|---|
1 | Port 1 |
2 | Port 2 |
3 | Internal |
Interface Type
Instance | Value | Description |
---|---|---|
1 | 2 | Twisted-pair |
2 | 2 | Twisted-pair |
3 | 1 | Internal interface |
Interface Capability
Bit | Name | Description | Implementation | ||||
---|---|---|---|---|---|---|---|
0 | Manual setting requires reset | Indicates whether or not the device requires a reset to apply changes made to the Interface Control attribute (#6).
| Return 0 | ||||
1 | Auto-negotiate |
| 0 for internal interface, 1 for external interfaces | ||||
2 | Auto-MDIX |
| 0 for internal interface, 1 for external interfaces | ||||
3 | Manual speed/duplex |
| 0 for internal interface, 1 for external interfaces | ||||
4 - 31 | Reserved | Shall be set to 0 | Return 0 |