Originally Posted by
John_B
I call 9011 like this:
G65P9011S4E4
The S pulls over the starting tool #, and E the ending tool #.
And I call 9010 like this:
G65P9010T16D1.5
The T pulls in the only tool to be set, and the D is the diameter.
These exact macros works great on my machine with an 18im-B control. I'm sure it's something that the older 0m-C doesn't like about using the variable reference with the T code. I suppose I could use #4120 and set it at #19, then just call the M6 to load the tool.
:9011(MULTI TOOLSETTING)
G00G30G91Z0
WHILE[#19LE#9]DO1
#4120=#19
M6
IF[#19EQ#9]GOTO5
T[#19+1.](PRE-CALL NEXT TOOL UP IN T/C)
N5
...
...
Do you think that'll work? I can't tell if the #4120 system variable is the tool in the spindle, or the tool called up next by T code for toolchange...?
I can't test it just now as I'm in the middle of running some hot parts that have to ship today. I will be able to monkey with it some more after about 5:00 p.m.
Thanks for the feedback!
Rgds,
John B