Error management
Function blocks for error management
The FB MC_ReadAxisError is available for a central error handling.
If a general error exists can be queried using the FB MC_ReadAxisInfo .
Reset error messages of an axis
Errors can be reset via MC_Reset (acknowledging).
Creating logbook entries in the Lenze Controller
The Lenze Controller has a logbook function which records system events and error messages. The logbook entries are meant to facilitate the system diagnostics in the event of faults.
- When the generation of logbook entries is activated in the axis data (default setting), the logbook function records the following errors:
- FB error (e.g. invalid parameter number at the FB MC_ReadParameter )
- Errors that cause a change to the "ErrorStop" axis state.
- Axis data error
- Drive error (in this case, it is only logged that a drive error has occurred, but not the respective error message).
- The logbook entry distinguishes between "warning" and "error" in terms of the severity of the event: "Warning" if the error does not cause the change to the "ErrorStop" axis state, otherwise "error".
- The LogbookEntry parameter (subindex 103 ) serves to deactivate the generation of logbook entries. This may be reasonable if FBs are used in other FBs and the higher-level FBs shall be responsible for the error handling.
Related topics:
FB error management