private void Parse92() { Logger.Log("G92: Set Position"); // Allows programming of absolute zero point, by reseting the // current position to the values specified. This would set the // machine's X coordinate to 10, and the extrude coordinate to 90. // No physical motion will occur. Machine.SetState(MachineState.G92_SetPosition); }
private void Parse3() { Logger.Log("G03: Set circular/helical interpolation (counter clockwise) mode."); Machine.SetState(MachineState.G3_ArcMoveCCW); }
private void Parse2() { Logger.Log("G02: Set circular/helical interpolation (clockwise) mode."); Machine.SetState(MachineState.G2_ArcMove); }
private void Parse1() { Logger.Log("G01: Set linear interpolation mode."); Machine.SetState(MachineState.G1_LinearMove); }
private void Parse0() { Logger.Log("G00: Set Rapid Linear Motion mode."); Machine.SetState(MachineState.G0_RapidMove); }
// __ Calibration _____________________________________________________ private void Parse92() { // Calibrate axis Machine.SetState(MachineState.D92_Calibration); }
// __ Manual mode _____________________________________________________ private void Parse21() { //Logger.Log("D21: Enter MANUAL mode"); Machine.SetState(MachineState.D21_ManualMode); }