While I was trying to resume the finish cut on project the Xcarve-pro locked with spindle Z axis fully raised. I opened gCode window and saw an error soft limits reached. I turned off soft limits and problem re-occured with hard limits. In both cases gcode reported the following ( G0 G90 G21 Z57.40399999999996). The max height variation of this project is about 1.374 inches on Z axis.
Lines of gcode are 883,817. I checked the gcode file with an editor and could find no line with a “Z57” in it.
Perhaps a parsing error in the gSender code scan working towards the indicated restart point, (815908).
The gcode executes correctly if allowed to finish a complete carve without a pause.
You’d have to submit the file so we can take a closer look at what’s happening for you here or try to explain it.
One thing to make sure is that your safe height from Start from Line + the max height of the toolpath isn’t over your soft limits - since that would explain the number you’re seeing (max height + safe height set in Start from Line modal.
I did send the file. Hope you got it. I tried to resume with soft limits turned off. CNC Machine Z axis went upwards to hard stop switch and the gcode was the same. So, I started the job from the beginning and it fully completed with no errors.
The machine firmware is set to G20 Imperial, which I use. So I do not know where the G21 setting came from.