After a mammouth session of trial, error, development, and ultimate sucess in building a VB macro for my Denford Triac with 6 station ATC carousel, it may seem a little odd if I now ask how to ignore the whole lot for manual changes.
First of all a massive thank-you to TP (BR549) for the assistance given on the VB & Development of Wizards board with his untiring support which finally allowed me to get the ATC macro running perfectly.
OK, the way i see it, and please correct me if i'm wrong, the 'Ignore Tool Changes' button in General Configurations does just that and will charge through any gcode with the tool fitted in the spindle.
The 'Auto Tool Changer' button runs M6Start and then M6End consecutively without pause.
The 'Stop Spindle. Wait for Cycle Start' runs M6Start and then pauses until the cycle start button is pressed to then run M6End.
If that's pretty much correct, here's my questions
1. At the end of M6End what restarts the Gcode as I can't see any prompt to restart the cycle in the stock M6End macro?
2. If I want to do a manual tool change I would need to have the 'Stop Spindle. Wait' button ticked, but this would still run 144 lines of my M6Start macro which defeats the point. My thought is to move most of the 144 lines of code, with the exception of moving clear the Z axis, to the M6End macro and then add a bail-out command to the M6Start e.g.
If GetLED (185) = 1 Then MsgBox ("Change tool and press cycle start") Exit Sub
Does that make sense?
thanks ...Sweep