SysEthernetMediaCounters (STRUCT)¶
TYPE SysEthernetMediaCounters : STRUCT
The “HC Media Counters” and the “Media Counters” of EIP plus a quality flag for each value and a struct version.
Quality Flags used in the runtime interface for reading the Ethernet interface settings.
These quality flags are not from the EIP specification, but were added by CODESYS. The idea behind this is to be able to say for each individual value of the respective STRUCT whether it has been filled correctly by the platform implementation.
Possible quality flags are: - ERR_OK: Value could be determined without errors - ERR_NOTIMPLEMENTED: Not implemented by this platform implementation - ERR_NOT_SUPPORTED: Not supported by this platform implementation - ERR_FAILED: Error: Value could not be determined
- InOut:
Name
Type
Initial
Comment
structVersion
DWORD
1
Version number of this struct. This is version 1. To be increased on changes.
dot3StatsSingleCollisionFrames
DWORD
- RFC 3635 Single Collisions:
A count of frames that are involved in a single collision, and are subsequently transmitted successfully. A frame that is counted by an instance of this object is also counted by the corresponding instance of either the ifOutUcastPkts, ifOutMulticastPkts, or ifOutBroadcastPkts, and is not counted by the corresponding instance of the dot3StatsMultipleCollisionFrames object. This counter does not increment when the interface is operating in full-duplex mode.
dot3StatsMultipleCollisionFrames
DWORD
- RFC 3635 Multiple Collisions:
A count of frames that are involved in more than one collision and are subsequently transmitted successfully. A frame that is counted by an instance of this object is also counted by the corresponding instance of either the ifOutUcastPkts, ifOutMulticastPkts, or ifOutBroadcastPkts, and is not counted by the corresponding instance of the dot3StatsSingleCollisionFrames object. This counter does not increment when the interface is operating in full-duplex mode.
dot3StatsSQETestErrors
DWORD
- RFC 3635 SQE Test Errors:
A count of times that the SQE TEST ERROR is received on a particular interface. The SQE TEST ERROR is set in accordance with the rules for verification of the SQE detection mechanism in the PLS Carrier Sense Function as described in IEEE Std. 802.3, 2000 Edition, section 7.2.4.6. This counter does not increment on interfaces operating at speeds greater than 10 Mb/s, or on interfaces operating in full-duplex mode.
dot3StatsDeferredTransmissions
DWORD
- RFC 3635 Deferred Transmissions:
A count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy. The count represented by an instance of this object does not include frames involved in collisions. This counter does not increment when the interface is operating in full-duplex mode.
dot3StatsLateCollisions
DWORD
- RFC 3635 Late Collisions:
The number of times that a collision is detected on a particular interface later than one slotTime into the transmission of a packet. A (late) collision included in a count represented by an instance of this object is also considered as a (generic) collision for purposes of other collision-related statistics. This counter does not increment when the interface is operating in full-duplex mode.
dot3StatsExcessiveCollisions
DWORD
- RFC 3635 Excessive Collisions:
A count of frames for which transmission on a particular interface fails due to excessive collisions. This counter does not increment when the interface is operating in full-duplex mode.
dot3StatsCarrierSenseErrors
DWORD
- RFC 3635 Carrier Sense Errors:
The number of times that the carrier sense condition was lost or never asserted when attempting to transmit a frame on a particular interface. The count represented by an instance of this object is incremented at most once per transmission attempt, even if the carrier sense condition fluctuates during a transmission attempt. This counter does not increment when the interface is operating in full-duplex mode.
hcStatsAlignmentErrors
LWORD
Frames received that are not an integral number of octets in length and do not pass the FCS check. This counter is a 64-bit version of Alignment Errors.
hcStatsFCSErrors
LWORD
Frames received that are an integral number of octets in length but do not pass the FCS check. This counter is a 64-bit version of FCS Errors.
hcStatsInternalMacTransmitErrors
LWORD
Frames for which transmission fails due to an internal MAC sublayer transmit error. This counter is a 64-bit version of MAC Transmit Errors.
hcStatsFrameTooLongs
LWORD
Frames received that exceed the maximum permitted frame size. This counter is a 64-bit version of Frame Too Long Errors.
hcStatsInternalMacReceiveErrors
LWORD
Frames for which reception on an interface fails due to an internal MAC sublayer receive error. This counter is a 64-bit version of MAC Receive Errors.
hcStatsSymbolErrors
LWORD
Number of times there was an invalid data symbol on the media when a valid carrier was present.
dot3StatsAlignmentErrorsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsFCSErrorsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsSingleCollisionFramesQuality
SysTypes.RTS_IEC_RESULT
dot3StatsMultipleCollisionFramesQuality
SysTypes.RTS_IEC_RESULT
dot3StatsSQETestErrorsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsDeferredTransmissionsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsLateCollisionsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsExcessiveCollisionsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsInternalMacTransmitErrorsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsCarrierSenseErrorsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsFrameTooLongsQuality
SysTypes.RTS_IEC_RESULT
dot3StatsInternalMacReceiveErrorsQuality
SysTypes.RTS_IEC_RESULT
hcStatsAlignmentErrorsQuality
SysTypes.RTS_IEC_RESULT
hcStatsFCSErrorsQuality
SysTypes.RTS_IEC_RESULT
hcStatsInternalMacTransmitErrorsQuality
SysTypes.RTS_IEC_RESULT
hcStatsFrameTooLongsQuality
SysTypes.RTS_IEC_RESULT
hcStatsInternalMacReceiveErrorsQuality
SysTypes.RTS_IEC_RESULT
hcStatsSymbolErrorsQuality
SysTypes.RTS_IEC_RESULT