How to cancel/abort loading a tool through M6ATC?
Posted: Thu Nov 21, 2019 9:33 am
Hello,
I'm somehow new to the Mach3 VB scripting and now I'm trying to make some modification into my screenset and to create my personalized M6ATC script.
I want o make a 10 slots magazine, with a flexible allocation of different tools # in different slots, and not to have only tools from 1 to 10.
Now - in this initial phase - I managed to set any tool # in any slot i want and, if the requested tool # exist in magazine, it will be picked up and use it.
So far, so good, but I still have an issue I cannot solve it.
If somehow, by mistake, the requested tool does not exist in magazine, I need to stop the execution of the script without having the requested tool # set as active tool
And because the requested tool was not found, I need, after aborting M6ATC script, to have T0 as active tool (oemdro 824), not the requested tool number.
I have a small video - not finished yet - with what I want to do, maybe will be more clear.
The problem is visible at the end, when I want to load T1, which does not exist, but is still loaded.
Initially I thought I made some mistakes but I checked with the default empty M6ATC script, and it happens exactly the same.
Here is the video link: https://youtu.be/wflVkCaJQo0
Thank you,
Seb
I'm somehow new to the Mach3 VB scripting and now I'm trying to make some modification into my screenset and to create my personalized M6ATC script.
I want o make a 10 slots magazine, with a flexible allocation of different tools # in different slots, and not to have only tools from 1 to 10.
Now - in this initial phase - I managed to set any tool # in any slot i want and, if the requested tool # exist in magazine, it will be picked up and use it.
So far, so good, but I still have an issue I cannot solve it.
If somehow, by mistake, the requested tool does not exist in magazine, I need to stop the execution of the script without having the requested tool # set as active tool
And because the requested tool was not found, I need, after aborting M6ATC script, to have T0 as active tool (oemdro 824), not the requested tool number.
I have a small video - not finished yet - with what I want to do, maybe will be more clear.
The problem is visible at the end, when I want to load T1, which does not exist, but is still loaded.
Initially I thought I made some mistakes but I checked with the default empty M6ATC script, and it happens exactly the same.
Here is the video link: https://youtu.be/wflVkCaJQo0
Thank you,
Seb