Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        private void Parse3()
        {
            Logger.Log("G03: Set circular/helical interpolation (counter clockwise) mode.");

            Machine.SetState(MachineState.G3_ArcMoveCCW);
        }
Esempio n. 3
0
        private void Parse2()
        {
            Logger.Log("G02: Set circular/helical interpolation (clockwise) mode.");

            Machine.SetState(MachineState.G2_ArcMove);
        }
Esempio n. 4
0
        private void Parse1()
        {
            Logger.Log("G01: Set linear interpolation mode.");

            Machine.SetState(MachineState.G1_LinearMove);
        }
Esempio n. 5
0
        private void Parse0()
        {
            Logger.Log("G00: Set Rapid Linear Motion mode.");

            Machine.SetState(MachineState.G0_RapidMove);
        }
Esempio n. 6
0
        // __ Calibration _____________________________________________________


        private void Parse92()
        {
            // Calibrate axis
            Machine.SetState(MachineState.D92_Calibration);
        }
Esempio n. 7
0
        // __ Manual mode _____________________________________________________


        private void Parse21()
        {
            //Logger.Log("D21: Enter MANUAL mode");
            Machine.SetState(MachineState.D21_ManualMode);
        }