AB&T / SOEM

Dependents:   EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB

Embed: (wiki syntax)

« Back to documentation index

ethercatprint.h File Reference

ethercatprint.h File Reference

Headerfile for ethercatprint.c. More...

Go to the source code of this file.

Functions

char * ec_sdoerror2string (uint32 sdoerrorcode)
 Look up text string that belongs to SDO error code.
char * ec_ALstatuscode2string (uint16 ALstatuscode)
 Look up text string that belongs to AL status code.
char * ec_soeerror2string (uint16 errorcode)
 Look up text string that belongs to SoE error code.
char * ecx_elist2string (ecx_contextt *context)
 Look up error in ec_errorlist and convert to text string.

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 245 of file ethercatprint.c.

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

Definition at line 227 of file ethercatprint.c.

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 263 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 299 of file ethercatprint.c.