CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G21 METRIC OR SI UNITS
N_ G21
The G21 command defaults the system to metric units. When a program is being run and the G21 command is encountered, all coordinates are stated in as millimeter units.
Example G21
% (PROGRAM START FLAG)
:1010
N5 G90 G21 G17 (ABSOLUTE PROGRAMMING IN METRIC)
N10 M06 T2
N15 M03 S1200
N20 G00 X-5 Y5
N25 Z-8
N30 G01 X90 F300
N35 X95 Y20
N40 Y50
N45 G03 X75 Y65 R15
N50 G01 X40 Y50
N55 G02 X0 Y10 R40
N60 G00 Z25.4
N65 Y0
N70 M05
N75 M30