Preraise on z-home not working.

For the life of me I can’t get preraise on z-home to work. I have it enabled and set to 10 but it will not raise the z at all just heads straight to home. I did just rebuild the printer so I am having to figure a lot of things out and this is one I can’t find the answer to. Everything I see just says to enable it and set a distance.

Comments

  • If you check the source you see conditions:
    #if Z_HOME_DIR < 0
    #if ZHOME_PRE_RAISE == 1
    if (zaxis && Endstops::zProbe()) {
    PrintLine::moveRelativeDistanceInSteps(0, 0, ZHOME_PRE_RAISE_DISTANCE * axisStepsPerMM[Z_AXIS], 0, homingFeedrate[Z_AXIS], true, true);
    }
    #elif ZHOME_PRE_RAISE == 2
    if (zaxis) {
    PrintLine::moveRelativeDistanceInSteps(0, 0, ZHOME_PRE_RAISE_DISTANCE * axisStepsPerMM[Z_AXIS], 0, homingFeedrate[Z_AXIS], true, true);
    }

    so you need z min homing and depending on ZHOME_PRE_RAISE being 1 or 2. 1 will only pre raise when z min is triggered. If it should always raise set it to 2. Raise distance is in ZHOME_PRE_RAISE_DISTANCE

  • Thank you, that was it. Just needed to change to option 2.
Sign In or Register to comment.