F_ConvExtSlaveStateToBits

F_ConvExtSlaveStateToBits 1:

The function F_ConvExtSlaveStateToBits returns the extended EtherCAT slave state as the structure ST_EcExtendedSlaveStateBits.

F_ConvExtSlaveStateToBits 2: Inputs

VAR_INPUT
    stEcExtSlaveState : ST_EcExtendedSlaveState;
END_VAR

Name

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