EtherCAT Slave1.12.02

◆ 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();
EC_API_SLV_EEsmState_t EC_API_SLV_getState(void)
This is the function to read the EtherCAT Slave state machine.
Definition: ecSlvApiStub.c:1024
Examples
ESL_cia402Demo.c, EtherCAT_Slave_CiA402.c, EtherCAT_Slave_ESI_Parser.c, EtherCAT_Slave_Simple.c, and ecSlvESI.c.