SOEM v1.3.1
Functions
ethercatprint.h File Reference

Headerfile for ethercatprint.c. More...

Functions

char * ec_sdoerror2string (uint16 sdoerrorcode)
char * ec_ALstatuscode2string (uint16 ALstatuscode)
char * ec_soeerror2string (uint16 errorcode)
char * ecx_elist2string (ecx_contextt *context)

Detailed Description

Headerfile for ethercatprint.c.


Function Documentation

char* ec_ALstatuscode2string ( uint16  ALstatuscode)

Look up text string that belongs to AL status code.

Parameters:
[in]ALstatuscode= AL status code as defined in EtherCAT protocol
Returns:
readable string
char* ec_sdoerror2string ( uint16  sdoerrorcode)
char* ec_soeerror2string ( uint16  errorcode)

Look up text string that belongs to SoE error code.

Parameters:
[in]errorcode= SoE error code as defined in EtherCAT protocol
Returns:
readable string
char* ecx_elist2string ( ecx_contextt context)

Look up error in ec_errorlist and convert to text string.

Parameters:
[in]context= context struct
Returns:
readable string