CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G54 G59 WORKING COORDINATE SYSTEM
N_ G54 through G59
The G54 G59 commands are used to reposition the origin as per a user- defined working coordinate system. Six register sets in the controller which hold the values for the working coordinate systems. The G54 G59 commands are very useful when multiple workpiece fixtures are used.
Example g54
% (PROGRAM START FLAG)
:1054
N5 G90 G20 G54
N10 T0505
N15 M03 S1300
N25 G00 Z-0.5
N30 G75 X0.5 Z-0.75 F0.125 D0 I0.125 K0.125
N35 G00 X2.0
N40 Z2.0
N45 G55 G00 X1.0 Z0.0
N50 G00 Z-0.5
N55 G75 X0.5 Z-0.75 F0.125 D0 I0.125 K0.125
N60 G00 X2.0
N65 Z2.0
N70 G56 G00 X1.0 Z0.0
N75 Z-0.5
N80 G75 X0.5 Z-0.95 F0.125 D0 I0.125 K0.125
N85 G00 X2.0
N90 Z2.0
N95 G54
N100 T0500 M09
N105 M05
N110 M30