Originally Posted by
broby
The tool change command for a Mill is the M code M6
Use a single T code only for Mills
ie. if you want Tool 1 use:
T1 M6
Does your machine use "Staged" tools? By this I mean, is there a tool pot between the tool magazine and the spindle or does the tool move directly between the tool magazine and the spindle?
If your machine "Stages" tools you will need to take into account the following tool commands as well...
M63 used to tell the machine there is no more tools following the next tool change.
M64 used to put a "Staged" tool back into the magazine.
If your machine doesn't use "Staged" tools then ignore those commands.
Tool offsets are handled differently on a Mill than to how they are on a Lathe.
You use "D" commands to handle cutter radius compensation. Along with G codes G41, used to compensate (offset) the tool to the Left of the programmed path, G42, to compensate the toolpath to the right and G40 to cancel tool radius compensation.
i.e. G41 D1 to call up cutter radius comp for tool 1.
To compensate for tool length you use G code G56 along with a "H" code. i.e. G56 H1 for tool length compensation for tool 1.
This info will seem a bit confusing at first but just start simple and work from there.
You will learn best by taking answers from the likes of this forum and try things out for yourself.
You will learn more by trying out solutions yourself than by just being given the outright answer every time you have a problem.
Keep asking questions and don't give up.
Regards
Brian.