Random stop when PC is connected



  • Hello

    Since one week we have a problem with our Duet 2 Ethernet, that we did not notice before.

    Our prints suddenly stop, the bed moves down and the connected PC tells me on the website, that the connection is lost. The behavior of the Duet looks the same, as if I press "emergency stop". As I said, the stop always occurred at random places. The only thing, that seems to be reproducable is, that it only happens, if a pc is connected. When there is no PC connected, it prints to the end.

    Also the log file does not really help:
    Logfile of print, that stopped:
    2019-07-08 12:55:22 Started printing file TopfOverhangTest_0.5mm_schnell_nowand.gcode
    power up + 00:00:00 Event logging started
    power up + 00:00:01 Error: M557: bad grid definition: X range too small
    power up + 00:00:02 Network running, IP address = 169.254.97.197
    power up + 00:18:20 HTTP client 169.254.196.202 login succeeded
    2019-07-08 13:52:52 Date and time set at power up + 00:18:20

    Logfile of successful print:
    2019-07-09 10:56:41 Started printing file TopfOverhangTest_119_steil.gcode
    2019-07-09 12:17:34 Finished printing file TopfOverhangTest_119_steil.gcode, print time was 1h 21m

    Since there is no entry in the logfile, I assume, that there is a system crash.

    Any help available?

    Thank you. Michael


  • administrators

    Next time it happens, don't restart the Duet, instead reconnect (use USB if DWC won't reconnect) and send M122. Look at the Last Reset Reason and the Software Reset Data. the Last Reset Reason will tell you when and why the Duet last started up or restarted. If the restart was caused by software, the Software Reset Data will say why.

    If you haven't done a software reset since the problem last occurred, then the Software Reset Data may still contain useful information if you run M122 now.



  • Thank you for your quick answer. Unfortunately I think, that the Duet restarts itself. When you look at the logfile it says:

    2019-07-08 12:55:22 Started printing file TopfOverhangTest_0.5mm_schnell_nowand.gcode
    power up + 00:00:00 Event logging started
    power up + 00:00:01 Error: M557: bad grid definition: X range too small
    power up + 00:00:02 Network running, IP address = 169.254.97.197

    Does "power up" not mean, that it restarts?

    Anyway. I will try to catch the next shutdown and look, if M122 will help.

    Regards. Michael



  • And something else: is "a software reset" the same as a restart? Or do I have to do something special for a software reset?


  • administrators

    @wuem said in Random stop when PC is connected:

    And something else: is "a software reset" the same as a restart? Or do I have to do something special for a software reset?

    A software reset can be caused by you (because you sent M999 or you pressed the Emergency Stop button), or by the firmware because it detected a serious problem. The "Last software reset reason" in the M122 report says which.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.