Table of Contents

Interface ISpindleSpeedDef

Namespace
Hi.NcParsers.Keywords
Assembly
HiMech.dll

Spindle speed and direction state written by SpindleSpeedSyntax. Property names are used as JSON keys via nameof.

ISO: S command for speed, M03/M04/M05 for direction. Heidenhain: M3/M4/M5. Siemens: M3/M4/M5 or SPOS. Direction is stored as the conventional SpindleDirection enum name (CW/CCW/STOP), not as brand-specific M-codes.

public interface ISpindleSpeedDef
Extension Methods

Examples

"SpindleSpeed": {
  "SpindleSpeed_rpm": 3000.0,
  "Direction": "CW"
}

Properties

Direction

Spindle rotation direction. Stored in JSON as the enum name (e.g. “CW”, “CCW”, “STOP”).

SpindleDirection Direction { get; set; }

Property Value

SpindleDirection

SpindleSpeed_rpm

Spindle speed in RPM.

double SpindleSpeed_rpm { get; set; }

Property Value

double