Page 1 of 1

Zero All, Go To Zero

PostPosted: Wed Sep 21, 2016 8:26 pm
by jtb223
When I'm setting up a work piece I set the tool at the default 0,0,0 location and click the Zero All button. When I move away from that location and hit the Go To Zero button the spindle goes up in the Z direction and trips the limit switch. Shouldn't it go to the 0,0,0 location that was just defined?

Re: Zero All, Go To Zero

PostPosted: Wed Sep 21, 2016 9:38 pm
by cncdrive
The spindle goes up to the defined safeZ coordinate first, you can change it's value in the configuration, look for the safeZ parameter.
This is because if there was a single movement to 0,0,0 then if your tool is at a too low location in Z and there is stuff on the table then the tool would hit that.
You can study how the gotoZero button works with opening the M204 macro with a text editor from the Profiles/Macros folder
and because the gotoZero button is fully a text macro you could even rewrite that macro if you want that button to work differently,
but I think the proper way it should work is how it is coded now.

Re: Zero All, Go To Zero

PostPosted: Thu Sep 22, 2016 7:33 am
by mphel
With a home switch at the top of my Z axis I have changed the macro to move to a machine coordinate of Z-10, for those occasions where the Z zero is close enough to trigger the switch with a "safe Z" movement.

It works for me but might be a pain if you had a huge, slow moving Z..

Mark