Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Emergency Stop! Please wait while firmware is restarting

    Scheduled Pinned Locked Moved
    General Discussion
    7
    15
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vacalosundefined
      vacalos
      last edited by

      No, I don't see M581 anywhere in the code.

      Attached is the gcode file.0_1532297882953_EL.gcode

      1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal
        last edited by

        Just as a data point, I have two Delta printers on:

        
        Firmware Name:	RepRapFirmware for Duet 2 WiFi/Ethernet
        Firmware Electronics:	Duet WiFi 1.02 or later
        Firmware Version:	2.0(RTOS) (2018-06-05b3)
        WiFi Server Version:	1.21
        Web Interface Version:	1.21.2-b2
        

        Emergency Stop works correctly from the Web interface (had to use it earlier today), and I have not seen an print failures (of any kind) across about six or eight prints, longest being about 10 hours.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • vacalosundefined
          vacalos
          last edited by

          Thank you for the reply.

          Yes, I imagine that the problem is specific to me and is caused by some error in my part.

          To clarify, the emergency stop works perfectly when I select it from Duet Web Control.
          The problem is that the Emergency Stop is somehow being automatically activated (or initiated) in the middle of a print.

          In the middle of a print the machine stops and displays "Emergency Stop! Please wait while firmware is restarting". At that point the machine resets itself and the current print is abandoned.

          I was hoping that there was a way to isolate the cause using the information available in the Duet Web Control. Or at least determine if the problem is being caused by hardware, software or my gcode.

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            That would be pretty darn frustrating.

            Just for debugging: Next long print, maybe disconnect all the web clients?

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              If the printer restarts automatically after the emergency stop and you are able to send commands without you needing to do reset the board explicitly, then the firmware has executed M112 followed by M999. That can normally only happen if the Emergency Stop button in DWC is clicked, or the Emergency Stop button in PanelDue is pressed. Both of those actions will send both commands.

              If DWC reports "The firmware still reports to be halted after an emergency stop. Would you like to reset your board now?" when you try to send a command from DWC after the Emergency Stop has occurred, then the firmware has executed just M112, or you have a M580 trigger set up to do an emergency stop when the state of an endstop input changes.

              HTH David

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • vacalosundefined
                vacalos
                last edited by

                Thanks for the reply and for the help.

                You helped me to isolate the problem.

                I believe the problem originated with the cabling I used for the PanelDue. I used 22 Gage, 4 conductor, stranded copper wire to connect the PanelDue to the Duet. With this wire the PanelDue was always a bit "buggie" and never really worked consistently. I don't know if it was the cable itself or a combination of the cable type and length.

                I unplugged the PanelDue and retried the previous print and it worked perfectly.
                So, I assume that the PanelDue was initiating an Emergency restart due to the cabling.

                Thanks for the help.

                Can anyone recommend a cable that can adequately carry the signal from the Duet to the PanelDue roughly 40 inches?

                1 Reply Last reply Reply Quote 0
                • timcurtis67undefined
                  timcurtis67
                  last edited by

                  I use a Cat5 patch cable. Gives you 4 extra wires for lights or an on/off switch.

                  Plus the shielding is a plus.

                  1 Reply Last reply Reply Quote 0
                  • Emilyundefined
                    Emily
                    last edited by Emily

                    I would tend to think a noise or ground loop problem would cause the device to lock up rather than cause it to send unintended commands over serial. That is unless there is an analog input somewhere for E stop that is getting affected. Not sure what the max spec is but 40" doesn't seem particularly long.

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      The cable type isn't critical provided that the resistance per conductor is no higher than 0.1 ohms. Unshielded 4-core cable works well.

                      If you have a M575 P1 command in config.g, make sure it includes the S1 parameter so that the firmware ignores commands from the PanelDue port that have invalid checksums.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • vacalosundefined
                        vacalos
                        last edited by

                        DC42,

                        Thank you for the reply.

                        I have another question that is not related to this exact topic.

                        I have built a large Kossel based on the instructions you posted in your blog.
                        Can you tell me what retraction settings you use for PLA?
                        I am using Simplify3D and have been tweaking these settings but haven't achieved the results I am after.

                        Below are the settings I am currently using:
                        - Retraction Distance: 3.00mm
                        - Extra Restart Distance: 0.00
                        - Retraction Vertical Lift: 6.00
                        - Retraction Speed: 25.0
                        - Temp.: 205°C
                        - Speed: 50mm/s

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          I use 6mm retraction (was 7mm before I changed the Bowden tube to Capricorn), no extra restart distance, 0.3mm vertical lift, 60mm/sec retraction speed. Also pressure advance 0.2sec in M572.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA