![]() |
CETONI SDK
20220623
The software libraries for integration of all CETONI devices.
|
Error handling functions.
This groups defines all functions to handle axis system specific device errors.
Functions | |
LCA_Func long LCA_CALL | LCA_GetDevErrMsg (dev_hdl hAxis, long DevErr, char *pStringBuf, short BufSize) |
Get descriptive error message for a certain device error that cured. More... | |
LCA_Func long LCA_CALL | LCA_ReadLastAxisDevErr (dev_hdl hAxis, long *pLastDevErr) |
Query last occurred error code. More... | |
LCA_Func long LCA_CALL LCA_GetDevErrMsg | ( | dev_hdl | hAxis, |
long | DevErr, | ||
char * | pStringBuf, | ||
short | BufSize | ||
) |
Get descriptive error message for a certain device error that cured.
[in] | hAxis | Valid axis handle |
[in] | DevErr | Error code of device error that occurred |
[out] | pStringBuf | String buffer for storage of error message |
[in] | BufSize | Size of string buffer in bytes |
LCA_Func long LCA_CALL LCA_ReadLastAxisDevErr | ( | dev_hdl | hAxis, |
long * | pLastDevErr | ||
) |
Query last occurred error code.
If device is in error state (LCA_IsAxisInFaultState()) then this function returns the last error that occurred.
[in] | hAxis | Valid axis handle |
[out] | pLastDevErr | Returns the last error that occurred |