Introduction
Compensation errors happen when the machine does not cut exactly as planned. Preventing these errors helps make parts fit and work right.
G41 Dxx ; Tool radius compensation left G42 Dxx ; Tool radius compensation right G40 ; Cancel tool radius compensation G43 Hxx ; Tool length compensation G49 ; Cancel tool length compensation
G41 D01 G01 X50 Y50 G40
G43 H02 G01 Z-10 G49
N10 G90 G21 ; Absolute positioning, millimeters N20 T01 M06 ; Select tool 1 and change N30 G43 H01 ; Apply tool length compensation for tool 1 N40 G41 D01 ; Turn on left tool radius compensation N50 G01 X100 Y0 F200 ; Move cutting with compensation N60 G01 X100 Y100 ; Continue cutting N70 G40 ; Cancel tool radius compensation N80 G49 ; Cancel tool length compensation N90 M30 ; End program
G41 or G42?G41 D1 G01 X50 Y50 G01 X100 Y100 G01 X150 Y150
Pass the test and this pattern moves unknown