Interface IMotionStateDef
Modal motion state — Group 01 G-code mode (G00 / G01 / G02 / G03 ...).
Written on every block by LinearMotionSyntax /
CircularMotionSyntax; carried across non-motion
blocks by ModalCarrySyntax. Property names are
used as JSON keys via nameof.
Unlike sibling modal sections (Unit, PlaneSelect,
Positioning) which carry both a brand-specific Term
and a brand-neutral conventional field, MotionState intentionally
keeps only Term: the brand-neutral semantic ("what kind of
motion happened") lives on the sibling one-shot MotionEvent
(Form = McLinear / McArc / ClLinear / ClArc).
State here is purely the modal latch of the last Group-01 G-code so
downstream FindPrevious* can resume motion-mode bookkeeping.
public interface IMotionStateDef
- Extension Methods
Examples
"MotionState": { "Term": "G01" }
Properties
Term
CNC term that defines the modal motion mode (e.g., “G00”, “G01”, “G02”, “G03”).
string Term { get; set; }