G43 Tool Length Offset in G-Code, Explained
G43 applies a tool's stored length so its tip reaches the programmed Z, no matter how long the tool is. Here is how G43, the H register, and G49 work.
523 posts · page 33 of 44.
G43 applies a tool's stored length so its tip reaches the programmed Z, no matter how long the tool is. Here is how G43, the H register, and G49 work.
On a lathe, G50 S sets the maximum spindle RPM. Leave it out with constant surface speed and the spindle can run away near the center. Here is why and the fix.
G54 tells the machine where your part zero is. Here is what a work offset stores, how G54 to G59 differ, and how to set one without cutting in the wrong place.
G81 is a simple drill cycle and G83 is a peck drill cycle for deep holes. Here is how canned cycles work, their R, Z, and Q words, and when to use each.
GRBL has two different number-1 messages: error:1 is a malformed G-code word, ALARM:1 is a tripped hard limit with position lost. Here is how to fix each.
Heidenhain Klartext is readable dialogue code like L X+50 FMAX; Fanuc speaks word-address blocks. Here is how the two map and which to learn when.
woodWOP programs are parametric MPR files, not G-code, and no clean converter bridges them. Here is how the formats relate and the routes that actually work.
The F value on a G01 line is feed rate, and you calculate it from spindle speed, feed per tooth, and the number of flutes. Here is the formula with a worked example.
I and J are the distance from the arc's start point to its center: I = center X minus start X, J = center Y minus start Y. Two worked examples and a self-check.
The operator-to-programmer path runs through four stages: code literacy, setup work, supervised program edits, then writing and CAM. Here is the roadmap.
A CNC program is read one block at a time, top to bottom. Here is how to decode each line of a real program, the letters that matter, and how to get fluent.
The core M-codes are identical on lathes and mills, so learn them once. The real difference to remember is the tool change: M06 on a mill, the T word on a lathe.