SOEM v1.2.5
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 * ec_elist2string (void)

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_elist2string ( void  )

Look up error in ec_errorlist and convert to text string.

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= AL status code as defined in EtherCAT protocol
Returns:
readable string