Hey yall, I am trying to alias out the m6 tool change so that the machine will home the z, stop the spindle, coolant, and if needed go to a safe tool change position.
Here is my code:
The problem I am running into is that all of our programs call tool changes with the T# on the same line, but before the M6, ex- "T19 M6;" When in this configuration, T19 does not get passed into variable #20, but if I switch it to "M6 T19;" then #20 gets populated. Is there are parameters to tell the control to ignore the order in which the T# and M6 are called in?