Table of Contents

Enum EcLinkState

Namespace
TwinSharp.EtherCAT
Assembly
TwinSharp.dll

Link status of an EtherCAT slave. The Link state can consist of an ORing of the following bits:

[Flags]
public enum EcLinkState : ushort

Fields

Additional link at port X (specified through EC_LINK_STATE_PORT_A/B/C/D).

Missing link at port X (specified through EC_LINK_STATE_PORT_A/B/C/D).

NotPresent = 1

No EtherCAT communication with the EtherCAT slave.

Ok = 0

Link is ok.

PortA = 16

Port 0.

PortB = 32

Port 1.

PortC = 64

Port 2.

PortD = 128

Port 3.

WithoutCommunication = 2

Error at port X (specified through EC_LINK_STATE_PORT_A/B/C/D). The port has a link, but no communication is possible via this port..