Common Errors
This page describes common errors when using CODESYS Softmotion Basic, their causes, and possible actions to take to correct the error. For a list of all possible errors with a brief description, see the library documentation: SMC_ERROR
Error Code | Description and Causes | Actions |
---|---|---|
| The drive has reported an error. Possible causes:
| Check which error the drive is reporting. The error can be read from the display of the drive (if available) or by fetching with the |
| The drive has reported an error. During a movement, the active motion block returns this error. | See the actions for the error |
| The function block which controls the active movement has not been called in the current cycle. Possible causes:
|
|
| During an active stop, the associated function block | See the actions for the error |
| The axis is not ready for use and cannot execute the desired movement. Possible causes:
| Check the state of the axis:
|
| The SoftMotion block was called from a task which does not correspond to the bus task of the axis. Because the SoftMotion blocks change values in the axis, inconsistent states can occur if calls are made from tasks other than the bus task. This can lead to undefined errors, which is prevented by this error. |
|
| Occurs when using EtherCAT with distributed clocks if the frame from the controller to the drive has not been received on time (within the defined time window ("SyncWindow") or has not been received at all. Possible causes:
| Check for the cause of the behavior. The following functions can help you with this:
Possible actions for real-time problems:
|
| The axis moves in the direction of the positive or negative software limit switch and will exceed it with the current dynamics. The error also triggers before the actual limit switch position because the required deceleration distance is also included in the calculation. |
|
| The positive or negative hardware limit switch has triggered and the axis moves in the direction of this limit switch. |
|
| There is no active movement, but the set velocity is not equal to zero and the axis is in an operating state in which the set values are followed. Possible causes:
| Check the cause of the problem:
|