Difference Between CNC and VMC Machine Codes, Untangled
CNC is the control technology and VMC is one machine type that uses it, so there is no CNC-versus-VMC code split: the real split is mill codes versus lathe.
Posts tagged Concepts from the G-Code Sprint team.
CNC is the control technology and VMC is one machine type that uses it, so there is no CNC-versus-VMC code split: the real split is mill codes versus lathe.
HAL wires the machine's hardware; G-code commands its motion. They meet at named signals, and confusing the two layers is the classic LinuxCNC beginner trap.
The graph intuition is half right: G-code positions live on Cartesian axes. What the graph picture misses is time, force, state, and the third dimension.
Standard G-code states fixed coordinates; parametric programming computes them from variables. One is a recipe with exact amounts, the other a recipe with formulas.
G-code is a real domain-specific language: imperative commands, modal state, and with macro extensions, variables and control flow. What it is and is not.
Modal G-codes stay active until you change them; non-modal codes act only on their own line. Here is why that distinction trips up beginners.