F_ConvSlaveStateToBits

F_ConvSlaveStateToBits 1:

The function F_ConvSlaveStateToBits returns the EtherCAT slave state as structure TYPE ST_EcSlaveStateBits.

F_ConvSlaveStateToBits 2: Inputs

VAR_INPUT
    stEcSlaveState : ST_EcSlaveState;
END_VAR

Name

Type

Description

stEcSlaveState

ST_EcSlaveState

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

Prerequisites

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, Arm®)

Tc2_EtherCAT