Recovery after EtherCAT error
The following are the steps to recover from EtherCAT error E30 and enable the drives for motion.
- When an EtherCAT error occurs, the controller will flash E30 error and the AKD drives will flash F125 and do a controlled stop.
- The MLMotionStatus() function will return the value "MLSTATUS_ERROR" .
- Identify and rectify the original root cause for the ECAT error( faulty cable or loose connection etc).
- Then call the function MLMotionRstErr() to clear the motion engine errors.
- Wait for the motion engine to clear the errors and return to stopped state. Use the MLMotionStatus() function to check if the status reached "MLSTATUS_STOPPED".
- Then call the function MLMotionStart() to start the motion engine.
- Wait for the motion engine to reach the state running. Use the MLMotionStatus() function to check if the status reached "MLSTATUS_RUNNING"
- Now clear the controller errors by calling "ClearCtrlErrors()"
- Now clear each axis error by calling the "MC_ResetError(axis_no)" function.
- Now the axis are ready to be enabled..
Comments
https://kdn.kollmorgen.com/content/restarting-pxmm-motion-engine-when-etrhercat-fault-occurs