CNCezPRO™ Software

Real-Time 3D Graphics Simulation for Computer Numerical Control



G40 CUTTER COMPENSATION CANCEL
N_ G40
The G40 cancels any cutter compensation that was applied to the tool during a program and acts as a safeguard to cancel any cutter compensation applied to a previous program or G-codes.
Example G40
% (PROGRAM START FLAG)
:1011
N5 G90 G20 G17 G40 (G40 CUTTER COMPENSATION CANCEL)
N10 T04 M06
N15 M03 S1500
N20 G00 X-0.5 Y-0.5 (RAPID MOVE TO APPROACH POSITION)
N25 Z-0.5
N30 G01 G42 X0 Y0 D10 (COMPENSATION RIGHT AND ENTER PROFILE)
N35 X3 F10 (CUTTER COMPENSATION CONTINUED)
N40 Y3 (CUTTER COMPENSATION CONTINUED)
N45 X0 (CUTTER COMPENSATION CONTINUED)
N50 Y0 (CUTTER COMPENSATION CONTINUED)
N55 G00 G40 X-0.5 Y-0.5 (CUTTER COMPENSATION CANCEL)
N60 Z1
N65 X0 Y0
N70 M05
N75 M30