F_ConvSlaveStateToString

F_ConvSlaveStateToString 1:

The function F_ConvSlaveStateToString returns the EtherCAT slave state as string. For conversion to the string see F_ConvStateToString.

F_ConvSlaveStateToString 2: Inputs

VAR_INPUT
    state : ST_EcSlaveState;
END_VAR

Name

Type

Description

state

ST_EcSlaveState

EtherCAT slave state structure (consisting of: deviceState : BYTE; linkState : BYTE;)

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT