Originally Posted by
S.Seveelavanan
Say you wanted to use a big tool first and then a small tool:
Does this mean you tell the CAM/tool path generation software to machine your CAD file using a defined version of your large tool --> which generates gcode
...and then you repeat with a define version of your small tool --> which generates gcode
...and then you combine the gcodes, including adding the gcode for auto tool change, which you feed to LinuxCNC/Mach3?
is this how to do it?
Senthil
To put the external process in perspective, There is no G code for tool change or any other external function.
G code relates to the motion control path.
All the the CNC controller does is run the Part Program and calculate the output for the required servo path, all other commands, M/S/T are unique to every particular machine, and are programmed by the MTB as to how they function, IOW all a CNC part program can do is declare a tool #, e.g. T2, this is passed over to the necessary software/hardware routine or physical PLC etc. to select the tool and declare the routine complete, whereupon the Part program continues.
IOW, a Part Program does not know, or care, how a M/S/T code is processed, it just needs to know when it is completed.
This also allows a Part Program to be transportable between different machines.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.