Jump to content
UltiMaker Community of 3D Printing Experts

(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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
        • 22 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Heart
        • 22 replies
    ×
    ×
    • Create New...