Yes I agree, I also use the HA, HB & HC along with DA, DB and DC offset registers in the programs as it makes life so much easier, both for the programmer and for the operator.
If your tool numbers are as dynamic as they are here, it really is the only way to program... never have to remember to alter tool offset numbers throughout the program again.
That being said... on our MA600HB, we MUST use these codes as the machine uses tool groups rather than Tool numbers and we never really know ahead of time (as a programmer) what tool number to use, thus we use VC numbers to set the tool group ID number at the start of the program, set and forget.
I also noticed in the program fragment the use of "T13" on the Tool length offset (G56) line.
I am in the habit of calling the next tool on a line by itself, along with a comment describing the next tool. This way the operator can see exactly what tool should be coming in next, rather than looking at just a tool number.
i.e.
Blah
Blah
N100 M6
N102 M1
N104 T=VC41 (NEXT TOOL= 80MM R490 FACEMILL)
N106 G15 H...
N108 G0 X... Y...
N110 G56 HA Z20
N112 M3 S...
N114 M8
ETC...
Blah
Blah
N120 M6
N122 M63 (NO MORE TOOLS REQ)
N124 M1
N126 G15 H...
ETC...
This way the preamble is the same for each tool/process and the operator is in known territory. Flip the Optional Stop switch (or push the button as the case may be) and the machine will stop after the tool change. The note alongside the M63 command also lets the operator know that the last tool is now coming up. |