I can not move manually the motor in CW but the printer works, why?

Here is the place to discuss software and related tools for Slice generation, machine control, & etc...
nc42
Site Admin
Posts: 126
Joined: Wed Oct 22, 2014 3:18 pm

Re: I can not move manually the motor in CW but the printer works, why?

Postby nc42 » Wed Mar 02, 2016 8:43 am

Glad to hear it. Have fun printing!

leitnin
Posts: 13
Joined: Fri Jul 01, 2016 7:45 am

Re: I can not move manually the motor in CW but the printer works, why?

Postby leitnin » Thu Jul 07, 2016 9:57 am

The reason the move 10 button was moving without stopping is because the firmware has a hardcoded value for the number of steps when move 10 is activated (The "100000" below). This number needs to be changed to match your stepper/microstepping/pitch. there is also no code in the firmware for moving other distances...

else if (String(sdataBuffer).substring(0,6) == "G1 Z10") // top limit
{
if (on_top_limit == false) // not already on top limit
{
HomingBuildPlateTop = true;
LiftStepper.setMaxSpeed(2000);
LiftStepper.setAcceleration(12000);
LiftStepper.move(100000); // move towards top limit
}
}