F_ConvSlaveStateToString

F_ConvSlaveStateToString 1:

The function F_ConvSlaveStateToString supplies the EtherCAT slave state as a string.

VAR_INPUT

VAR_INPUT
    state : ST_EcSlaveState;
END_VAR

state: 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)