by HSLLC » Thu Dec 04, 2014 4:18 am
Art,
Yep M3 and M5 now post as they should, almost. There is a M5 at the beginning of the code that is not needed but since it is followed by M3 the spindle still starts properly.
The tool change code still needs a bit of work. I apologize for not explaining the tool change code in more detail previously. The H number must be the same as the T number. Here's why. The H number applies the tool offset. It must be the same as the T number so the tool offset stored in the tool table for each tool will be applied to the tool in the spindle.
Examples:
T2 M6
G43 H2
T5 M6
G43 H5
Another thing that's missing is M30. This should be the last line of code. M30 is - End of program, with return to program top.
Thanks,
Kerry
Art,
Yep M3 and M5 now post as they should, almost. There is a M5 at the beginning of the code that is not needed but since it is followed by M3 the spindle still starts properly.
The tool change code still needs a bit of work. I apologize for not explaining the tool change code in more detail previously. The H number must be the same as the T number. Here's why. The H number applies the tool offset. It must be the same as the T number so the tool offset stored in the tool table for each tool will be applied to the tool in the spindle.
Examples:
T2 M6
G43 H2
T5 M6
G43 H5
Another thing that's missing is M30. This should be the last line of code. M30 is - End of program, with return to program top.
Thanks,
Kerry