SysEthernetCapabilities (STRUCT)

TYPE SysEthernetCapabilities : STRUCT

The “Capability Bits” 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.

manualSettingRequiresReset

BOOL

Indicates whether or not the device requires a reset to apply changes made to the Interface Control attribute (#6). 0 = Indicates that the device automatically applies changes made to the Interface Control attribute (#6) and, therefore, does not require a reset in order for changes to take effect. This is the value this bit shall have when the Interface Control attribute (#6) is not implemented. 1 = Indicates that the device does not automatically apply changes made to the Interface Control attribute (#6) and, therefore, will require a reset in order for changes to take effect. Note: this bit shall also be replicated in the Interface Flags attribute (#2) in order to retain backwards compatibility with previous object revisions.

autoNegotiate

BOOL

0 = Indicates that the interface does not support link auto-negotiation 1 = Indicates that the interface supports link auto-negotiation

autoMdix

BOOL

0 = Indicates that the interface does not support auto MDIX operation 1 = Indicates that the interface supports auto MDIX operation

manualSpeedDuplex

BOOL

0 = Indicates that the interface does not support manual setting of speed/duplex. The Interface Control attribute (#6) shall not be supported. 1 = Indicates that the interface supports manual setting of speed/duplex via the Interface Control attribute (#6)

manualSettingRequiresResetQuality

SysTypes.RTS_IEC_RESULT

autoNegotiateQuality

SysTypes.RTS_IEC_RESULT

autoMdixQuality

SysTypes.RTS_IEC_RESULT

manualSpeedDuplexQuality

SysTypes.RTS_IEC_RESULT