Hi ron,
I am doing quite well with my ATC for my emcoturn120 but i hope you can spend a little more time for me. my code is actually working completely as a button script. When I copy the code into the M6start macro, and I type T2 or another T6 request in the MDI the macrocode is executed but…..
If I type T6 in the MDI line, I would like to change to the sixed tool. How can I pick up the wanted toolnumber in my m6start code. As soon as I type T6 and the M6start.m1s is executed the “newtool=getselectedtool()” is forced to zero.
i did a little test with the next instruction in the M6start macro;
MsgBox ("newtool = " &GetSelectedTool())
if i type T3 in the MDI line, the m6start runs automatically but the selected tool is resetted to zero.
(i reinstalled mach3 and did no configuration changes; so it is a fresh an clean installation).
i hope you can help me again, i think i am almost there
Thanks for your reply.
antoine