EtherCAT Slave  1.06.01

◆ EC_API_SLV_getState()

EC_API_SLV_EEsmState_t EC_API_SLV_getState ( void  )

This is the function to read the EtherCAT Slave state machine.

Reads the EtherCAT Slave state machine

Returns
eECSTATE EtherCAT Slave State (ET2200 ESC.0x130)
Example
#include <ecSlvApi.h>
uint8_t state = EC_API_SLV_getState();
Examples
ecSlvESI.c, ESL_cia402Demo.c, EtherCAT_Slave_CiA402.c, EtherCAT_Slave_ESI_Parser.c, and EtherCAT_Slave_Simple.c.
EC_API_SLV_getState
EC_API_SLV_EEsmState_t EC_API_SLV_getState(void)
This is the function to read the EtherCAT Slave state machine.
Definition: ecSlvApiStub.c:969