Headerfile for ethercatprint.c.
More...
Headerfile for ethercatprint.c.
◆ 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()
Convert an error to text string.
- Parameters
-
[in] | Ec | = Struct describing the error. |
- Returns
- readable string