Programming of CNC Machines, Third Edition

These preparatory functions, often called G-Codes, are a major part of the programming puzzle. They identify to the controller, what type of machining activity is needed. For example, if a hole needs to be drilled, function G81 may be used, or if programming in the incremental coordinate system is required, then function G91 is used. These codes, along with other data, control machine motion.
The motion of the axes of a machine may be performed along a straight line, an arc or a circle.
Codes G00 and G01 allow axes movement along a straight line.
Codes G02 and G03 allow axes movement along a circular path of motion.
The rapid traverse function is entered to relocate the tool from position A to position B along a straight line at the fastest possible traverse. The shortest axis movement distance will be accomplished first and, therefore, you must be aware of the workpiece holding the equipment in order to avoid any collision between the tool and the holding equipment. The path traveled by the tool for G00, X30, and Y20, is as follows:
If you are uncertain of the tool path, then position the "RAPID TRAVERSE OVERRIDE" switch at 25 or 50% (see Part 2, "Rapid Traverse Override"). This reduces the traverse speed and increases the time allowance for a possible manual interruption of the motion. Programmers should position the Z axis to an acceptable clearance plane of 1.0...