G01 linear interpolation

Linear interpolation in g-code is done using G00 and G01 commands. G00 is instruction for rapid tool positioning and G01 command is used in process of machining. When G01 command is specified tool moves at specified feedrate. Feedrate depends on machining quality, cutting depth and machine power. As an instruction in g-code feedrate is specified by parameter F. Using smaller feedrate can increase processing quality and tool duration, but processing time is also increased.

Linear tool interpolation

On the image you can see tool path formed from red and blue lines. Red lines illustrates material processing and this is where you use G01 interpolation and the blue lines illustrates tool positioning this is where you use G00 interpolation.

N01M216Turn on load monitor
N02G21Metric unit mode m / mm
N03G90Absolute coordinates
N04G00 X50 Z10Move tool close to work piece
N05G50 S2000Set the maximum revolution per minute
N06T0303 M6Set tool 3 with tool offset 3, change tool
N07G96 S280 F0.1 M42 M03 M08Constat surface speed, 280 m/min , 0.1 mm feed rate , M03 - Start spindle CW rotation, Turn the mist coolant on
N08G00 X32 Z0Rapid movement to point X32, Z0
N10G01 X0Linear move to X0 ( and Z0 defined previously) at feed rate 0.1 mm
N11G01 Z1Linear move to Z1
N12G00 X28Rapid linear move to X28
N13G01 Z0Linear move to Z0
N14G01 X30 Z-2Linear move to X30 Z-2
N15G01 Z-30Linear move to Z-30
N16G01 X40 Z-45Linear move to X40 Z-45
N17G01 X48Linear move to X48 Z-45
N18G00 X50 Z10Move to start point
N19M215Turn the load monitor off
N20M30Program stop

Go to