Z-Axis error 15

Hello and congratulations for this awesome software. My issue so far is that I get error 15 after starting up MM. This error occurs only when Soft Limits on CNC are on, and only when Continuous jog is also enabled. In order to get this to work again I disable and reenable cnc soft limits. I tested shutting down and reopen cnc, it worked fine. I did the same test with MM, problem is there again!
MM version 0.8 on W10.

I am answering based on your bio saying you have a GRBL controller.

Error 15 - STATUS_TRAVEL_EXCEEDED
You have got soft limits turned on and configured, and the job you are trying to run is larger than you have told GRBL that your machine actually is.

Turning soft limits does not solve the problem, and you know for a fact the part is not too large. How am I doing?

Your comment about jog triggered a memory of what happened when I installed a new board in my CNC. I would jog and get an alarm. It had to do with setting up the coordinates for the machine. Being a Galvo, I am not sure what I say applies or makes sense.

  1. Make the Home cycle is operating properly. It must Home the Zaxis to completion first.
  2. Make sure G54 is all zeroes.
  3. If you used the G10 command, let us know what you entered.
  4. Once the machine Homes properly, make sure X&Y jog properly.
  5. Now try Zminus to see if that is correct.

If all is well so far, but you get an error running a program, come back and let us know.

Thank you for your reply.

To my surprise, today the problem does not exist. I assume Z axis tool position may was the problem.

Another problem I face, probably you are already aware of it, since it does not work by using default setup, is dogbone slot. It gives no gcode toolpath in between start and stop sequences in any of my trials.

In case this is something new I attach my output gcode. I use it on a 50x50mm square with a 5mm tool diameter:
";MillMage 0.8.00-RC-4 @ 08d0b7c Qt6.5.7
;Custom GCode device profile, absolute coords
;Bounds: X0 Y0 to X0 Y0
;Project Units: Metric
;Safe Retract = 20
;Stock Thickness: 10
;Z Zero: Top
;G54 origin is at the Top Left
G00 G17 G40 G21;Restore metric mode
G54
G90;Restore absolute mode
G0 Z20
G90;Restore absolute mode
;Dogbone1 @ 75 mm/min, 1000 RPMs

M3 S1000
G4 P3
G0 Z20
M9
M5
G90;Restore absolute mode
M2"

Update: Z axis problem is here again. What I tried:

  • Homing
  • Zero out workpiece all axes
  • Probed Z
  • Jogged X, Y axes, they work properly.

Behaviour:
Continuous jogging Z axis in negative direction (tried both negative and positive values) gives the following error:

error:15
Jog target exceeds machine travel. Command ignored.
ok
<Idle|MPos:53.667,-12.250,-14.875|FS:0,0>
ok

When continuously jogging it upwards it move correctly.
When jogging it in step mode, it also works correctly in lower direction.

At this point it only works if i read and write machine settings from cnc tools, until i restart MM. I also updated to RC-4 version.

Final update: Fetch configuration on connect from custom gcode tab solved my problem!

2 Likes