Chances are this has been discussed 100 times and I am just not finding it so I am asking for help here (I hope this is even the right place)
I recently bought a nice normally closed circuit digitizing probe that I managed to get running
. To complement this I built a very simple NC switch (NC because the digitizing probe is NC and the home made switch has to share the same pins on the BOB) assembly to use for setting tool offsets with (as most of my jobs run between 4 and 12 tools I figured this idea would be a time saver when checking/setting each tool before starting the job run) and then made both where they can share a RCA jack that runs back to the break out board.
So far I have found a number of scripts online for the material height setting using a digital probe (some kind of worked - some not so much) but I have yet to find a single mention any scripts being able to do the tool offsets in this manor
What I would like to be able to do is set editable button up for offsetting a tool(s) using a home made normally closed switch.
Essentially what I envision is this:
1. Place homemade normally closed switch under spindle
2. select the tool I am setting in mach3 (to include tool "0" so I can reference the digital probe against the home made switch as the digital probe will be used to set the material height in a separate effort)
3. install said tool in spindle
4. click (editable button marked) "Set current tool offset"
5. have the tool descend at speed #1 onto the switch breaking the circuit
6. tool retract a small distance
7. begin second slower speed (speed #2) decent (Double probing)
8. stop when the switch is opened and store offset to SELECTED tool slot
9. retract up - say 1.000
From there I can select the next tool and repeat until the final tool is set. Following the last tool offset I would use the digital probe itself (T0) to set the work material height and then move onto the job itself.
I am not a coder and while I looked over the Mach wiki page and found several bits and pieces that I believe are part of making this idea come to life it was like me trying to read sand script - it was just to much and to far over my head to make any sense..........
I am hoping someone here with the required coding know how can help write up the script (or a link to where someone already did this and has the script posted) and help me get up and going on this idea working.
Thank you in advance,
~Terry S