Hello all. I need to create a "tool change" button in mach 4. Here is what I would like it to do. If I am asking for to much please let me know, but just go easy on me.
1 upon pushing the button I would like the z to travel at a feed rate of say 100 ipm, to machine coordinate -.020
2 once it reaches machine -.020, I need it to activate an output. In my case, it is a punamatic clutch
3 I would like the output to stay active until I press the button again, if this part is not practical or possible let me know
4 I have a manual toggle switch that i activate (forward/reverse) to pull the tool in and out of the nmbt 40 taper once the z is up
So in basic terms, I need to push a button, have the z move up to the tool change position, apply a clutch so I can manually toggle a switch to pull the tool in or out.
I would l Iike to try machine -.020, so it gets as close to zero with hitting the limit switch. I would possibly play with that number to get it as close as possible without hitting the limit.
Thank you in advance for any help you can offer.