Functions
ethercatprint.h File Reference

Headerfile for ethercatprint.c. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Headerfile for ethercatprint.c.

Definition in file ethercatprint.h.


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

Definition at line 279 of file ethercatprint.c.

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

Definition at line 297 of file ethercatprint.c.

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

Definition at line 333 of file ethercatprint.c.



ethercat_soem
Author(s): Arthur Ketels, M.J.G. van de Molengraft
autogenerated on Wed Aug 26 2015 11:32:40