CNC milling program examples shows the use of G91 G41 G43 G-codes.
CNC Mill Program G91 G41 G43
CNC Part Program
N05 G54 N10 M6 T1 G43 H1 M3 N15 S500 F120 N20 G0 X-22 Y-22 N25 Z-3 N30 G1 X3 Y6 G41 H2 (P1) N35 G91 X0 Y24 (P2) N40 X12 Y9 (P3) N45 X36 (P4) N50 Y-24 (P5) N55 X-21 (P6) N60 G90 X3 Y6 (P1) N65 G0 X-21 G40
G M S T Codes Explanation
Code | Description |
---|---|
G00 | Rapid traverse |
G01 | Linear interpolation |
G40 | Cutter compensation cancel |
G41 | Tool nose radius compensation left |
G43 | Tool length compensation + direction |
G54 | Workpiece coordinate system 1 selection |
G90 | Absolute command |
G91 | Incremental command |
M06 | Tool change |
T | Tool |
S | Speed |
F | Feed |