Jump to content

(Solved) Firmware doesn't reach limit switch.


StarShadow

Recommended Posts

Posted (edited) · (Solved) Firmware doesn't reach limit switch.

I installed Ultimaker2Marlin firmware on my printer. (Ultimaker 2 replica)

When I start it up, it runs the first time setup. It homes the z axis successfully and guides you through leveling the build plate. Once the leveling is done the build plate moves all the way to the bottom, but the problem is that the plate stops before it even gets to the switch and the firmware tells me that the switch is broken.

I can only assume this happens because the board incorrectly counted how high the plate was when you leveled it. The z end stop works perfectly fine but for some reason the firmware stops moving the plate before it can touch the switch and tells me it's broken.

I have tried this multiple times and I can't figure out why it's happening.

Can someone tell me if there is some other firmware I should try, or if there is something I can change in the firmware to fix this problem? Any help would be appreciated.

While I don't know how to code for Arduino I do know general code.

Looking through the configuration I see values for Z_MAX_POS and Z_MIN_POS

Would changing any of these help to solve the problem? I would think that this would tell the firmware that the z axis is actually larger and it won't stop thinking that it passed the switch.

Edited by Guest
  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    Something is wrong. There are several possibilities that I can think of:

    1) You have the um2go firmware on a um2. I think you can check that out in the menu where you display the version.

    2) The Z motor wiring is not connected well (one wire of four is broken) - probably not as it would probably *only* go down and never up.

    3) The "steps/mm" is messed up somehow. I can't remember which version of Marlin allows you to mess with this but if you never messed with it then it probably has the correct value.

    4) Wrong stepper motor in the Z and it is moving at half speed (twice as many steps/mm as the normal Z motor). Or wrong z thread - seems unlikely.

    5) Too hot - were you using it in a very hot room like say 90F? The stepper driver can overheat and stop stepping briefly causing the bed not to move as far as the computer thinks it moved.

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    Oh um2 replica! Well hook up pronterface and a USB cable and tell it to move 10mm and see how far it moves. I suspect you simply have the wrong steps/mm value.

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    Oh um2 replica!  Well hook up pronterface and a USB cable and tell it to move 10mm and see how far it moves.  I suspect you simply have the wrong steps/mm value.

     

    I solved it, the problem was the printer didn't know that I have a slightly larger build area. So I had to increase the Z_MAX_POS variable and recompile the firmware.
  • Link to post
    Share on other sites

    Posted (edited) · (Solved) Firmware doesn't reach limit switch.

    Oh um2 replica!  Well hook up pronterface and a USB cable and tell it to move 10mm and see how far it moves.  I suspect you simply have the wrong steps/mm value.

     

    It turns out you were right, I didn't notice while playing around with it, but once I finally finished putting it together and printed a 20x20x5mm prism, I noticed it was only half as tall as it should have been.

    So I decided to actually measure it and found out that the z is off by half. If I tell the z to move 100mm it moves ~52mm

    So thanks for giving me that solution early on.

    I'm using the motor that came with the heated build plate upgrade, so I don't know why the ultimaker2marlin firmware would have a wrong steps/mm value as default.

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    UMO+, UMO, and UM2 have I think 3 different steps/mm. Sounds like you have UMO+ steps/mm.

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    Oh also, the Z axis on the UMO "ramps" circuit board should have the stepper jumper different than the other 3 stepper drivers. Anyway don't worry about it - just adjust steps/mm by an integral multiplier (multiply by exactly 2x).

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    Oh also, the Z axis on the UMO "ramps" circuit board should have the stepper jumper different than the other 3 stepper drivers.  Anyway don't worry about it - just adjust steps/mm by an integral multiplier (multiply by exactly 2x).

     

    I used a very precise measuring tool to measure how far the plate was moving. Based on that, I calculated what the steps/unit should be and now it's as close as I can get it.

    I found that the most accurate steps/unit was 402.42

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    I recommend 400 but 402 should be fine.

  • Link to post
    Share on other sites

    Posted · (Solved) Firmware doesn't reach limit switch.

    I recommend 400 but 402 should be fine.

     

    Multiplying it by 2 was the first thing that I did.

    But when I used a precise tool to measure, I found that it was actually moving something like 9.6xxxxx instead of 10mm. So that's how I calculated the new steps/unit value that made it accurate to 0.001mm

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...