Hi Bar,
had the same problem with one of my cuts today, When the M4 was moving back to the beginning of the cut after completing a 1.5mm cut in MDF, it failed with the following:
[MSG:WARN: Position error on Bottom Right axis exceeded 15mm while running. Error is 15.132mm Counter: 6]
[MSG:WARN: Previous error was 15.132mm]
[MSG:ERR: Emergency stop! Stopping all motors]
[MSG:WARN: The machine will not respond until turned off and back on again]
[MSG:INFO: Reset during file job at line: 659]
[MSG:ERR: Position error > 15mm while running. E-Stop triggered.]
Stop Maslow and Gcode
Maslow stopped but the code kept running and when it got to the start of the next segment it lowered the Z axis (with the Router still running) into the job.
I reset everything (except the Z axis) and restarted the job. It failed again in nearly the same spot while it was returning to the start to do the deeper cut. M4 again lowered the Z axis and the difference was about 25mm between the resultant holes on the same line between start and end points.
Cutting power to the M4 in this circumstance results it not knowing the Z depth so the second attempt also cut through sacrificial layer below it. Before running again, check Z setting.
At this point I raised and reset the Z axis and turned off the router.
I then modified the code so M4 went left and then up instead of diagonally.
Code Segments around line 627 of
2.nc (62.0 KB)
2b.nc (62.0 KB)
; Relevant segment of before code 2.nc
g1 x1313.98640167 y18.75662029 f2000
g0 z5
g0 x154.04791319 y1190.01358752
g1 z-3 f400
g1 x159.30857818 y1183.6382884 f2000
; Corresponding segment after modification (2b.nc)
g1 x1313.98640167 y18.75662029 f2000
g0 z5
g0 x154.04791319 y18.75662029 ; f2000 This line added
g0 x154.04791319 y1190.01358752
g1 z-3 f400
g1 x159.30857818 y1183.6382884 f2000
This did not cause an error, so I reset Z and redid the cut without the error occurring.