61
VB and the development of wizards / VB Script triggered by Gcode?
« on: January 25, 2016, 05:51:40 PM »
Looking around in here and a lot of posts have to do with automatic tool changing...I do not have this but it got me thinking...can you make a script run when the Gcode gives certain commands, like M6 (tool change)? May be old hat to you guys, but it would be cool on my Ox style CNC router to move to the front of the machine (couple of user DRO positions), and wait for me to change the tool, press a button, move to the next location in the cut, touch off the Z axis, then take off. That would be way cool! I was just looking at my Gcode and I do not see a command to turn of the spindle when the M6 command comes up, but Mach3 turns it off so there must be some "hook" to know that a tool change needs to occur...if there are previous posts that explain this point them out and I will read them...
Thanks
Leslie
Thanks
Leslie