CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G18 XZ PLANE
N_ G18
The G18 command sets the main machining plane to default to the XZ plane for specifying circular interpolation moves and/or cutter compensation.
Example G18
% (PROGRAM START FLAG)
:1007
N5 G90 G20 G17 (G17 SETS XY PLANE)
N10 M06 T2
N15 M03 S1200
N20 G00 X0 Y0
N25 Z1
N30 Z0.1
N35 G01 Z0 F5
N40 G18 G02 X2 Z0 I1 K0 (G18 SETS XZ PLANE)
N45 G01 Y0.25
N50 G03 X0.5 Z0 I-0.75 K0
N55 G01 Y0.5 F10
N60 G02 X1.5 Z0 I0.5 K0
N65 G00 Z1
N70 X0 Y0
N75 M05
N80 M30