Ejemplo n.º 1
0
        void RetractPlate()
        {
            ResetAccelStepper();


            while (!printer.LimitSwitchPressed())
            {
                if (!printer.StepStepper(PrinterControl.StepperDir.STEP_UP))
                {
                    break;
                }

                WaitForNextStep();
            }

            plateZ = printer.GetPrinterHeight();
        }
Ejemplo n.º 2
0
 void ResetPlate()
 {
     command.SendSingleCommand((byte)FWCommands.CMD_RETRACT_PLATE);
     curPlateZ = printer.GetPrinterHeight();
 }
Ejemplo n.º 3
0
        static int maxStepperSpeed  = 100;                  //Because the max amount of times the stepper can accelerate is 10 times

        public void z_rail_init(/*PrinterControl printer*/) //Moves Galvos to the top
        {
            printer.WaitMicroseconds(1000000);
            ToLimit();
            MoveZrail(printer.GetPrinterHeight(), PrinterControl.StepperDir.STEP_DOWN);
        }