Machsupport Forum

Mach Discussion => Feature Requests => Topic started by: howiewok on February 15, 2011, 09:12:57 PM

Title: HOME should zero the Z axis before the X&Y axis
Post by: howiewok on February 15, 2011, 09:12:57 PM
I think it might be a good thing to have the Z Axis zero (home) before the X&Y axis move when the Go To Zero button is pressed. It is possible to use the G28.1Z0 followed by G28.1X0Y0 but it would be more convenient if the Go To Zero behaved similarly so the Z tool doesn't try to rip through the work on the way home.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: ger21 on February 16, 2011, 07:45:21 AM
If you turn on SafeZ, the Z will move first. If you don't want to use SafeZ, you can just use VB for the GotoZ button to do what you want.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: howiewok on February 16, 2011, 12:45:13 PM
Sounds good. I believe that I *did* have Safe-Z turned on, however perhaps not understanding *what* Safe-Z is meant for, I had it set to not go LOWER than the table. I thought that I was using it to keep the cutter from carving up my nice cast iron but now I understand that it is to set where the Z Axis will go when the stop or Go To Zero buttons are pressed.

Thanks ever so much!

Works just as I envisioned!

Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: JungleStreetRecords on March 27, 2011, 02:15:56 AM
I hear that. if XY moves before Z, then SNAP. There goes your drill bit. It would be a great feature for added protection, to make sure Z is lifted first before XY are allowed to move. Maybe you can change the code to move  manually.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: ger21 on March 27, 2011, 07:43:00 AM
Again, if you turn on Safe Z, Z does move first.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: howiewok on March 27, 2011, 10:04:56 AM
Yes, I can confirm that you *do* "HEAR" it!  <grin>

I buy my bits by the 10-pack!
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: JungleStreetRecords on March 27, 2011, 11:52:39 PM
Lucky me, I get to blame it on the A! I can't get Z to work so if I snap a bit, I'll blame it on the A.

Except, I won't be using drill bits for my machine, I'll be using a diamond and sapphire cutting stylus.
If I snap those, I will beat myself in the head.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: Arbo on April 23, 2011, 04:28:09 PM
I thought the 'home all'  was just a vb script, so you should be able to just edit that button script and reverse the order it homes.  Correct?

Just checked the default screen, and yes, if you hit 'edit button script' then select the ref all home button you will get the script that runs it.  Just look up which code is for which axis and alter the script.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: ger21 on April 23, 2011, 08:14:11 PM
I thought the 'home all'  was just a vb script, so you should be able to just edit that button script and reverse the order it homes.  Correct?


Correct, but the original post was actually talking about GoTo Zero, not homing.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: JungleStreetRecords on April 24, 2011, 12:00:48 AM
I'm thinking home all would move all axes at the same time. You'd probably be best to hand code moving Z first
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: ger21 on April 24, 2011, 08:00:29 AM
I'm thinking home all would move all axes at the same time. You'd probably be best to hand code moving Z first
By Default, Ref All does one axis at a time. You can modify the script to home all axis at once using the RefCombination function.
Title: Re: HOME should zero the Z axis before the X&Y axis
Post by: silyavski on July 01, 2011, 09:32:47 AM
I have Romaxx HS1 and the custom Romaxx set which you can freely download has 2 buttons, 1 to zero Z and other to zero XY, you can download it from the web http://www.romaxxcnc.com/screens.html (http://www.romaxxcnc.com/screens.html) and see for yourself how the buttons are programed and then do the same or similar. I believe its a very clever solution