Connection Lost Duet3/SD/RRF3.01-RC2/DWC2.0.7



  • Hi,
    After several minutes being connect to my Duet3 via ethernet cable in DWC through http://duet3.local, the connection is lost. DWC is unable to reconnect to the Duet3. From then on I cannot connect to it anymore on http://duet3.local, untill I manually reset the Duet3

    The strange thing is that the ip-address is still assigned to the duet. I get a response when I ping it, I can also go to http://<ip-address> and DWC comes up.
    When I am connect through the ip-address, the connection error does not occur.

    So the issue is only related to the url http://duet3.local
    Any thoughts?



  • mdns which deals with the . local name resolution isn't super reliable, you'd be better off setting a DHCP+dns reservation in your router imho.

    but it'd be interesting to find out if the problem is with the duet or the computer.

    Which OS is the computer running?


  • Moderator

    @mvieleers Also, what firmware are you running? Send M115 and post response. If you can post your config.g as well, that may help resolve if it's Duet/firmware/configuration related.

    Ian



  • @bearer MAC OS Catalina is what I'm running



  • @droftarts
    M115
    FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_VERSION: 3.01-RC2 ELECTRONICS: Duet 3 MB6HC FIRMWARE_DATE: 2020-02-18b1
    Duet Web Control 2.0.7

    Config.g
    ; Configuration file for RailcoreII 300ZL with Duet 3 (firmware version 3)

    ; *********************
    ; ETHERNET CONNECTION
    ; *********************
    M552 S1 P0.0.0.0 ; Assign IP-address with DHCP

    ; ***********
    ; DEBUGGING
    ; ***********
    M111 S0 ; Debug off
    M929 P"eventlog.txt" S1 ; Start logging to file eventlog.txt

    ; *********************
    ; GENERAL PREFERENCES
    ; *********************
    M550 P"Duet3" ; Machine name and Netbios name (should be the same)
    ;M555 P2 ; Set output to look like Marlin (in standard config)
    M575 P1 B57600 S0 ; Comms parameters for PanelDue
    G21 ; Work in millimeters
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; ***********************
    ; STEPPER CONFIGURATION
    ; ***********************

    M569 P0 S1 D3 ; Drive 0 goes backwards| X stepper / Rear
    M569 P1 S0 D3 ; Drive 1 goes forward | Y Stepper / Front
    M569 P2 S1 D3 ; Drive 2 goes backwards| Extruder S1 for Bondtech
    M569 P3 S1 D3 ; Drive 3 goes backwards| Front Left Z
    M569 P4 S1 D3 ; Drive 4 goes backwards| Rear Left Z
    M569 P5 S1 D3 ; Drive 5 goes backwards| Right Z

    M669 K1 ; select CoreXY mode
    M584 X0 Y1 Z3:4:5 E2 ; set drive mapping

    ; *********************
    ; LEADSCREW LOCATIONS
    ; *********************
    M671 X-7:-7:345 Y21:273:150 S25 ;Front left (-7,35), Rear Left (-7,289), Right (347,164)

    ; ******************************
    ; AXIS AND MOTOR CONFIGURATION
    ; ******************************
    M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping for axes & extruder, with interpolation.
    ;M906 X500 Y500 Z400 E700 I60 ; Motor currents (mA) - Conservative
    M906 X1400 Y1400 Z1200 E800 I60 ; Set OWN motor current (mA)
    ;M201 X500 Y500 Z02 E500 ; Accelerations (mm/s^2) - Conservative
    M201 X2500 Y2500 Z100 E1500 ; set OWN accelerations (mm/s^2)
    ;M203 X3000 Y3000 Z50 E1800 ; Maximum speeds (mm/min) - Conservative
    M203 X24000 Y24000 Z900 E3600 ; set OWN maximum speeds (mm/min)
    ;M566 X200 Y200 Z5 E10 ; Maximum jerk speeds mm/minute - Conservative
    ;M566 X800 Y800 Z100 E1500 ; Set OWN maximum jerk speeds mm/minute
    M566 X1000 Y1000 Z100 E1500
    M92 X200 Y200 ; Steps/mm for X.Y
    M92 Z1600 ; Steps/mm for Z - TR8*4 / 0.9 deg stepper
    M92 E816.78 ; Steps/mm for Extruder | Bondtech BMG

    ; *************************
    ; AXIS LIMITS AND ENDSTOP
    ; *************************
    M208 X-9:300 Y0:306 Z-3:325 ; 300ZL settings
    M574 X1 S1 P"io1.in" ; X endstop
    M574 Y1 S1 P"io2.in" ; Y endstop
    M950 J0 C"io3.in" ; Z (crash prevention) endstop Left Front
    M950 J1 C"io4.in" ; Z (crash prevention) endstop Left Back
    M950 J2 C"io5.in" ; Z (crash prevention) endstop Right
    M581 P0:1:2 T0 S1 C0 ; emergency stop (T0) when any of Z endstops is triggered in all cases (C0)

    ; *********************
    ; BLTOUCH AND PROBING
    ; *********************
    M558 P9 C"io7.in" H5 R1 F120 T6000 A5 S0.02 B0 ; Define BLTouch (F120, A5)
    M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
    G31 X-1 Y38 Z5.251 P25 ; Offsets (Note: Positive number is closer to the bed)
    ;E.G. If probe offset is 42 on Y, then Y50:290 will take the hotend to Y08 to Y248)
    M557 X45:254 Y45:261 P10:10 ; define mesh grid

    ; *************
    ; THERMISTORS
    ; *************
    M308 S0 P"temp0" Y"thermistor" A"Bed Top" T100000 B3950 ; BOM thermistor for top of the bed
    M308 S1 P"temp1" Y"thermistor" A"Bed Bottom" T100000 B3950 ; BOM thermistor for bottom of the bed
    M308 S2 P"temp2" Y"thermistor" A"Tool" T500000 B4723 C1.196220e-7 ; Slice engineering thermistor for tool

    ; *********
    ; HEATERS
    ; *********
    ;M570 P5 T25 S360 ; Print will be terminated if a heater fault is not reset within 360 minutes
    ; BED HEATER
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M143 H0 S100 ; set temperature limit for heater 0 to 100C
    M140 H0 ; Map the heater to the bed
    M140 P0 S-273 R-273 ; Standby and initial Temp for bed as "off" (-273 = "off")
    M307 H0 A206.9 C476.6 D14.6 S1.00 B0 ; Keenovo
    ; TOOL HEATER
    M950 H1 C"out1" T2 ; create tool heater output on out1 and map it to sensor 2
    M143 H1 S270 ; set temperature limit for heater 1 to 250C
    M307 H1 A275.2 C80.8 D1.9 S1.00 V23.9 B0 ; Slice engineering Mosquito

    ; ******
    ; FANS
    ; ******
    ; PART COOLING
    M950 F0 C"out 8" Q500 ; Part cooling Fan
    M106 P0 S0.0 H-1 C"Part Fan" ; Turn off fan
    ; TOOL
    M950 F1 C"out 7" ; Hotend Fan
    M106 P1 S1.0 H2 T40 C"Tool Fan" ; Turn on fan at 50 degrees hotend
    ; ELECTRONICS
    M950 F2 C"!out4" Q25000 ; Electronics in/out Fans
    M106 P2 S1.0 H-1 C"Electronics Fan" ; Turn on fans

    ; ************************
    ; FILAMENT RUNOUT SENSOR
    ; ************************
    M591 D0 P1 C"io6.in" S1 ; Set filament runout sensor to io6.in

    ; ******************
    ; TOOL DEFINITIONS
    ; ******************
    M563 P0 S"Mosquito" D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures(-273 = "off")
    M572 D0 S0.1 ; Set Pressure Advance

    ; ***************
    ; MISCELLANEOUS
    ; ***************
    M501 ; load saved parameters from non-volatile memory (config-override.g)
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    T0 ; select first tool


  • administrators

    Please connect to the Duet via USB. Then when the problem next occurs, send M122 from USB and post the response here.


Log in to reply