Hello Guest it is October 24, 2021, 02:42:22 AM

Author Topic: On a 'GoToZero', Z axis does not stop at DRO zero  (Read 801 times)

0 Members and 1 Guest are viewing this topic.

On a 'GoToZero', Z axis does not stop at DRO zero
« on: September 02, 2019, 06:04:54 PM »
Newbie user.  CNC router. Mach3.  Machine coordinates zero no problem using limit switches. I move the cutter to a new position touching workpiece.  Deselect machine coords, set  the DRO for each axis to zero.  Move away from this new reference position.  Press GoTo Zero.  X and Y return just fine, but Z does not stop when DRO Z gets to zero, but carries on crashing into workpiece.  Why do X and Y stop on zero OK, but Z sail right through ?
Go To Zero behaviour
« Reply #1 on: September 06, 2019, 04:15:26 PM »
Newbie, Chinese router  6040, Purchased Mach3 licence John Murray

I run the following code and it is fine.

(Go to middle of table, touch down, stop);
G90 G21 G54 G80;
G00 X200.0 Y200.0 ;
G00 Z-20.0;

With the tip at this point, I turn off machine coordinates, zero the work coordinates

Now, I move the tip to some other place using the pendant, then I run:

(Return to zero);
G00 X0.0 Y0.0;
G00 Z0;

This works just fine, the tip goes right back to zero on all axes every time.

However, if instead of running that last piece of code, I press
the Go To Zero button, the spindle immediately climbs to the top
of the Z axis and trips the limit switch.  The machine is now locked, and the only way to get back control is to wind the Z axis off the limit switch by hand.

Can you suggest a reason why this might be?  Could I have a setting wrong in the configuration?

Best regards

John Murray
07599 800033

Offline Tweakie.CNC

  • *
  •  8,836 8,836
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Go To Zero behaviour
« Reply #2 on: September 07, 2019, 01:21:59 AM »
Check you Safe Z setting (Config / Safe Z).