F_ConvSlaveStateToString

F_ConvSlaveStateToString 1:

The function F_ConvSlaveStateToString supplies the EtherCAT slave state as a structure TYPE ST_EcSlaveStateBits.

VAR_INPUT

VAR_INPUT
    stEcSlaveState : ST_EcSlaveState;
END_VAR

stEcSlaveState: EtherCAT slave state structure (deviceState : BYTE; linkState : BYTE;)

Requirements

Development environment

Target system type

PLC libraries to be linked

TwinCAT v2.10.0 or higher

PC or CX (x86)

TcEtherCAT.lib
( Standard.Lib; TcBase.Lib; TcSystem.Lib, TcUtilities.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301 or higher

CX (ARM)