SOEM  v1.4.0
Functions
ethercatprint.h File Reference

Headerfile for ethercatprint.c. More...

Functions

char * ec_sdoerror2string (uint32 sdoerrorcode)
 
char * ec_ALstatuscode2string (uint16 ALstatuscode)
 
char * ec_soeerror2string (uint16 errorcode)
 
char * ec_mbxerror2string (uint16 errorcode)
 
char * ecx_err2string (const ec_errort Ec)
 
char * ecx_elist2string (ecx_contextt *context)
 

Detailed Description

Headerfile for ethercatprint.c.

Function Documentation

◆ ec_ALstatuscode2string()

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

◆ ec_mbxerror2string()

char* ec_mbxerror2string ( uint16  errorcode)

Look up text string that belongs to MBX error code.

Parameters
[in]errorcode= MBX error code as defined in EtherCAT protocol
Returns
readable string

◆ ec_sdoerror2string()

char* ec_sdoerror2string ( uint32  sdoerrorcode)

Look up text string that belongs to SDO error code.

Parameters
[in]sdoerrorcode= SDO error code as defined in EtherCAT protocol
Returns
readable string

◆ ec_soeerror2string()

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

◆ ecx_elist2string()

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

◆ ecx_err2string()

char* ecx_err2string ( const ec_errort  Ec)

Convert an error to text string.

Parameters
[in]Ec= Struct describing the error.
Returns
readable string