Jump to content

UM2 Warm Up Sequence


abstract

Recommended Posts

Posted · UM2 Warm Up Sequence

I think Daid's point is that if you add a 10 second timer and you have a tiny bug in the code you might defeat the existing safety features. What if there is a subtle bug that occasionally resets the 10 second timer - often enough to cause it to melt. What if the timer gets set to negative -4000 seconds so that it doesn't time out for an hour. These kinds of bugs aren't normally tested for because to test for it you have to purposely disconnect the thermocouple wire. That is the potential danger here.

Anyway I still disagree with Daid - if the code was not in the normal set of operations but if instead you had a special menu item that blocked all interrupts (or stopped returning from the loop or however it works) for 10 seconds (ignored USB also) and just turned on the heaters for those 10 seconds. Then you wouldn't have to worry about introducing a new bug that circumvents safety. The code would be self contained and not normally used (not used from any gcode for example).

 

You're free to disagree with me. But I think I have a tiny bit more experience with safety systems. After all, I spend a few years working on safety systems for traffic lights. I could tell you about a lovely bug that shut down a whole island of traffic lights... it was a timer, that disabled a safety check for a few seconds.

You keep safety systems as small and controllable as possible, any added complexity adds chance for bugs. With all the people hacking in the firmware already, it's already difficult to get a full grasp on the quality.

Disabling all interrupts for 10 seconds would cause a hardware watchdog timeout. Which resets and hangs the system (disabling all outputs) this hardware watchdog is in place to make sure the firmware keeps checking the temperature properly. So you would have to disable the final failsafe system. Kinda what they did in Chernobyl.

 

  • 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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...