I have a positioning stage under mach3 control and a manual z and desperately require a script that on any G0 the gcode will pause (for say 10seconds or wait for button press) so I can lift the tool when complete the G0 command and wait for me to re-lower the tool.
Can anybody hook me up as I have NO idea where to even start.
In case your wondering im doing engraving and my z has a floating head, the only reason its not under motion control yet is Ive yet to make all the necessary components and need a screw still.
EDIT:
Ok so i re-watched all the videos, I hate visual basic and don't know any syntax but I think i know what sequence of operations im going for now at least. Something like this:
if G0 then
do button 1001 (feed hold)
while input 15 is not on wait
do button 1004 (single step, do the G0 rapid)
while input 15 is not on wait
do button 1005 (resume)
and save the file as G0 so its called automatically on any G0 (I can do it with M's but haven't tried G's yet...) this way I can mount a simple push button on the feed handle of my spindle and easily sit there and go at the entire operation. If i cant use G's as macros then I could figure out how to get Mastercam to put a custom M code before and after a G0 for the same effect.