Hello Guest it is November 27, 2021, 06:42:40 PM

Author Topic: Code for Belleville-Sprung Tool Change  (Read 487 times)

0 Members and 1 Guest are viewing this topic.

Offline engineerpower

  •  4 4
  • Learn by Doing
    • View Profile
    • DangerCo!
Code for Belleville-Sprung Tool Change
« 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?

« Last Edit: January 17, 2019, 11:49:38 PM by engineerpower »
Cameron Husk
Dir, Engineering - DangerCo, LLC

"Therefore, worry not for the morrow; the morrow shall worry for itself. Sufficient unto the day is the evil thereof." -Matthew 6:34

Offline TPS

  •  2,210 2,210
    • View Profile
Re: Code for Belleville-Sprung Tool Change
« Reply #1 on: January 18, 2019, 02:20:06 AM »
in normal Operation you can move with a


to machine coords you whant, homing Switch does not matter, only Limit Switches (Z++ Z--) will
be active.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.