F_ConvExtSlaveStateToBits

The function F_ConvExtSlaveStateToBits returns the extended EtherCAT slave state as the structure ST_EcExtendedSlaveStateBits.
Inputs
VAR_INPUT
stEcExtSlaveState : ST_EcExtendedSlaveState;
END_VARName | Type | Description |
|---|---|---|
stEcExtSlaveState | ST_EcExtendedSlaveState | Extended EtherCAT slave state structure (consisting of: deviceState : BYTE; linkState : BYTE; extendedState : WORD;) |
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1.4026.26 | PC or CX (x86, x64, Arm®) | Tc2_EtherCAT >= 3.8.1.0 |