Headerfile for ethercatprint.c.
More...
Headerfile for ethercatprint.c.
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
Look up error in ec_errorlist and convert to text string.
- Parameters
-
[in] | context | = context struct |
- Returns
- readable string