Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: engineerpower on January 17, 2019, 11:37:39 PM

Title: Code for Belleville-Sprung Tool Change
Post by: engineerpower on January 17, 2019, 11:37:39 PM
Hello again, friends!

Need some advice on coding a macro to execute quick tool changes on my mill with a homebrew power drawbar.

Enco 91002 run by Mach3 via ESS. I have the drawbar under tension with a stack of Belleville springs, and a stationary bolt at the top of the spindle that compresses the stack at full retraction of the z-axis. The mechanics work fine, I just need to figure out how to ignore the Z-home switch the quill trips as it makes the trip up. Other than letting it hit the home switch and resetting via DoOEMButton(1021) or similar, is there an easy way to code a movement to machine coords while ignoring a home switch signal? Is OemButton (150) useful here?

Thanks!
Title: Re: Code for Belleville-Sprung Tool Change
Post by: TPS on January 18, 2019, 02:20:06 AM
in normal Operation you can move with a

G53Y??

to machine coords you whant, homing Switch does not matter, only Limit Switches (Z++ Z--) will
be active.