3891
VB and the development of wizards / Re: Rookie needs some help.
« on: December 07, 2011, 11:43:40 AM »
I know why it doesn't work, but I'm not sure if it can be fixed. I believe the "Wait for Cycle Start" part is hard coded into mach3, so there's no way to avoid it?
With "Stop Spindle, Wait for Cycle Start", Mach3 is running two macros. M6 Start, then wait for the user, then M6 End. There's no code to get rid of the "wait for the user" part between the macros.
When using "Auto Tool Changer", Mach3 just runs the M6 Start macro.
What you could do is add the M6 End code to the M6 Start, and add a Message Box to pop up when you need to change tools. So instead of using Cycle Start to continue, you'd click OK in the message box to continue.
With "Stop Spindle, Wait for Cycle Start", Mach3 is running two macros. M6 Start, then wait for the user, then M6 End. There's no code to get rid of the "wait for the user" part between the macros.
When using "Auto Tool Changer", Mach3 just runs the M6 Start macro.
What you could do is add the M6 End code to the M6 Start, and add a Message Box to pop up when you need to change tools. So instead of using Cycle Start to continue, you'd click OK in the message box to continue.