ST_EcSlaveStateBits
The structure ST_EcSlaveStateBits
contains the EtherCAT state and the link state of an EtherCAT slave device.
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
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | Tc2_EtherCAT |