ST_EcSlaveStateBits

Die Struktur ST_EcSlaveStateBits enthält den EtherCAT Status und den Link Status eines EtherCAT Slave Gerätes.

TYPE ST_EcSlaveStateBits:
STRUCT
    bInit             : BOOL;
    bPreop            : BOOL;
    bBootStrap        : BOOL;
    bSafeOp           : BOOL;
    bOp               : BOOL;
    bError            : BOOL;
    bInvVPRS          : BOOL;
    bInitCmdError     : BOOL;

    bLinkNotPresent   : BOOL;
    bLinkWithoutComm  : BOOL;
    bLinkMissing      : BOOL;
    bAdditionalLink   : BOOL;
    bPortA            : BOOL;
    bPortB            : BOOL;
    bPortC            : BOOL;
    bPortD            : BOOL;
END_STRUCT
END_TYPE

 

Voraussetzungen

Entwicklungsumgebung

Zielplattform

Einzubindende SPS Bibliotheken

TwinCAT v2.10.0 oder höher

PC or CX (x86)

TcEtherCAT.Lib
( Standard.Lib; TcBase.Lib; TcSystem.Lib, TcUtilities.Lib werden automatisch eingebunden )

TwinCAT v2.10.0 Build >= 1301 oder höher

CX (ARM)