Error management

For the purpose of error management, the axis data contain a central error memory.

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 .

Name

Data type

Value/meaning

Output available in FB:

MC_ReadAxisError

MC_ReadAxisInfo

AxisWarning

BOOL

TRUE

Axis data error or FB error

  • No change to "ErrorStop" state.

l

l

AxisError

BOOL

TRUE

Axis data error or FB error

  • Change to "ErrorStop" state.
  • For details see AxisErrorID .

l

l

AxisErrorID

Error number for the error that has occurred

l

DriveWarning

BOOL

TRUE

There is a warning in the inverter.

l

l

DriveError

BOOL

TRUE

There is an error in the inverter.

  • For details see DriveErrorID .

l

l

DriveErrorID

DWORD

Error number for the error that has occurred

l

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