ST_EcSlaveStateBitsEx
The structure ST_EcSlaveStateBitsEx
contains the EtherCAT state and the link state of an EtherCAT slave device.
TYPE ST_EcSlaveStateBitsEx:
STRUCT
bInit : BOOL;
bPreop : BOOL;
bBootStrap : BOOL;
bSafeOp : BOOL;
bOp : BOOL;
bError : BOOL;
bInvVPRS : BOOL;
bInitCmdError : BOOL;
bDisabled : BOOL;
bLinkNotPresent : BOOL;
bLinkWithoutComm : BOOL;
bLinkMissing : BOOL;
bAdditionalLink : BOOL;
bPortA : BOOL;
bPortB : BOOL;
bPortC : BOOL;
bPortD : BOOL;
END_STRUCT
END_TYPE
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | Tc2_EtherCAT |