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

DWC Connection Instability

Scheduled Pinned Locked Moved Solved
General Discussion
3
5
150
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.
  • undefined
    SonnyD1
    last edited by SonnyD1 26 Dec 2024, 21:06

    Does anybody have any idea why my DWC keep losing connection? It doesn't interrupt the print at all. It just disconnects and then reconnects for no reason.

    Screenshot 2024-12-26 160349.jpg

    ; Configuration file for RepRapFirmware on Duet 3 Mini 5+ WiFi
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.5.4 on Sat Aug 10 2024 17:00:36 GMT-0400 (Eastern Daylight Time)
    ; General
    G90 ; absolute coordinates
    M83 ; relative extruder moves
    M550 P"M3ID V2" ; set hostname
    ; Accessories
    M575 P1 S0 B57600 ; configure PanelDue support
    ; Network
    M552 S1 ; configure WiFi adapter
    M586 P0 S1 ; configure HTTP
    ; Wait a moment for the CAN expansion boards to become available
    G4 S2
    ; Accelerometers
    M955 P121.0 I20 ; configure accelerometer on board #121
    M955 P122.0 I20 ; configure accelerometer on board #122
    ; Smart Drivers
    M569 P0.1 S0 D2 ; driver 0.1 goes backwards (X axis)
    M569 P0.2 S1 D2 ; driver 0.2 goes forwards (Y axis)
    M569 P0.3 S0 D2 ; driver 0.3 goes backwards (Z axis)
    M569 P0.4 S0 D2 ; driver 0.4 goes forwards (U axis)
    M569 P121.0 S1 D2 ; driver 121.0 goes forwards (extruder 0)
    M569 P122.0 S1 D2 ; driver 122.0 goes forwards (extruder 1)
    ; Motor Idle Current Reduction
    M906 I30 ; set motor current idle factor
    M84 S30 ; set motor current idle timeout
    ; Axes
    M584 X0.1 Y0.2 Z0.3 U0.4 ; set axis mapping
    M350 X16 Y16 Z16 U16 I1 ; configure 16X microstepping with interpolation
    M906 X1750 Y1750 Z800 U1750 ; set axis driver currents
    M92 X80 Y88 Z1010 U80 ; configure steps per mm
    M208 X-7:203 Y-9:250 Z0:200 U28:258.35 ; set minimum and maximum axis limits. If the U offset needs to move to the -X then the U axis limit will will increase
    M205 X12 Y12 Z0.2 U12 ; set maximum instantaneous speed changes (mm/min)(JERK)
    M203 X6000 Y6000 Z600 U6000 ; set maximum speeds (mm/min)
    M201 X800 Y800 Z20 U800 ; set accelerations (mm/s^2)
    ; Extruders
    M584 E121.0:122.0 ; set extruder mapping
    M350 E16:16 I1 ; configure microstepping with interpolation
    M906 E450:450 ; set extruder driver currents
    M92 E2676:2682 ; configure steps per mm
    M566 E150:150 ; set maximum instantaneous speed changes (mm/min)
    M203 E3600:3600 ; set maximum speeds (mm/min)
    M201 E3000:3000 ; set accelerations (mm/s^2)
    M205 E2.5 ; E max jerk (mm/s^2)
    M207 S0.5 F2400 ; set retraction for T0 and T1
    M572 D0:1 S0.035 ; set pressure advance for T0 and T1
    ; Kinematics
    M669 K0 ; configure Cartesian kinematics
    ; BLtouch
    M558 K0 P9 C"121.io0.in" H5 F120 T6000 ; configure BLTouch probe via slot #0
    G31 P500 X0 Y24 Z4.12 ; set Z probe trigger value, offset and trigger height. If you have to move the nozzle closer to the bed, increase the G31 Z value by the amount of baby stepping used. If you have to move the nozzle farther away from the bed, decrease the G31 Z value by the amount of baby stepping used.
    M950 S0 C"121.io0.out" ; create servo #0 for BLtouch
    ; Scanning Z probe
    M558 K1 P11 C"121.i2c.ldc1612" F36000 T36000
    M308 A"SZP coil" S10 Y"thermistor" P"121.temp2" ; thermistor on coil
    G31 K1 Z1.8 Y-38 ; define probe 1 offsets and trigger height
    M558.2 K1 S16 R134218 ; set drive current and reading offset
    ; Endstops
    M574 X1 P"io1.in" S1 ; configure X axis low end endstop
    M574 Y1 P"io2.in" S1 ; configure Y axis low end endstop
    M574 Z2 S1 P"io3.in" ; configure Z axis high end endstop
    M574 U2 P"io4.in" S1 ; configure U axis high end endstop
    ; Mesh Bed Compensation
    M557 X19:188 Y15:210 S40:40 ; define grid for mesh bed compensation
    M376 H10 ; taper off bed compensation over 10mm
    ; Sensors
    M308 S0 P"temp0" Y"thermistor" A"Heated Bed" T100000 B4725 C7.06e-8 ; configure sensor #0
    M308 S1 P"121.temp1" Y"thermistor" A"Nozzle" T100000 B4725 C7.06e-8 ; configure sensor #1
    M308 S2 P"122.temp0" Y"thermistor" A"Nozzle" T100000 B4725 C7.06e-8 ; configure sensor #2
    ; Heaters
    M950 H0 C"out2" T0 ; create heater #0 (Bed)
    M143 H0 P0 T0 C0 S120 A0 ; configure heater monitor #0 for heater #0 (Bed)
    M307 H0 R0.167 K0.222:0.000 D26.05 E1.35 S1.00 B0 ; configure model of heater #0 (Bed)
    M950 H1 C"121.out0" T1 ; create heater #1 (T0)
    M143 H1 P0 T1 C0 S300 A0 ; configure heater monitor #0 for heater #1 (T0)
    M307 H1 R4.287 K0.528:0.232 D2.33 E1.35 S1.00 B0 V24.1 ; configure model of heater #1 (T0)
    M950 H2 C"122.out0" T2 ; create heater #2 (T1)
    M143 H2 P0 T1 C0 S300 A0 ; configure heater monitor #0 for heater #2 (T1)
    M307 H2 R4.334 K0.514:0.239 D2.21 E1.35 S1.00 B0 V24.0 ; configure model of heater #2 (T1)
    ; Heated beds
    M140 P0 H0 ; configure heated bed #0
    ; Fans
    M950 F0 C"121.out2" ; create fan #0 T0 Heat Sink Fan
    M106 P0 C"T0 Heatsink Fan" S0 B0.1 H1 T45 ; configure fan #0 T0 Heat Sink Fan
    M950 F1 C"121.out1" ; create fan #1 T0 Part Cooling fan
    M106 P1 C"T0 Part Cooling Fan" S0 L25 X255 B0.1 ; configure fan #1 T0 Part Cooling Fan
    M950 F2 C"122.out2" ; create fan #2 T1 Heat Sink Fan
    M106 P2 C"T1 Heatsink Fan" S0 B0.1 H2 T45 ; configure fan #2 T1 Heat Sink Fan
    M950 F3 C"122.out1" ; create fan #3 T1 Part Cooling Fan
    M106 P3 C"T1 Part Cooling Fan" S0 L25 X255 B0.1 ; configure fan #3 T1 Part Cooling Fan
    ; Tools
    M563 P0 D0 H1 F1 ; create tool #0 T0
    M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H2 F3 X3 ; create tool #1 T1
    M568 P1 R0 S0 ; set initial tool #1 active and standby temperatures to 0C
    G10 P1 X0 Y-.15 Z-.2 ; set tool 1 axis offsets. If T1 needs to move in the -Y then the offset number will increase +Y
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    ; Miscellaneous
    T0 ; select first tool
    ;M950 J2 C"121.io2.in" ; configure the action button on T0
    ;M950 J2 C"122.io2.in" ; configure the action button on T1
    M593 P"ZVDDD" F50.6 ; set input shaper for X/U axis
    M122
    === Diagnostics ===
    RepRapFirmware for Duet 3 Mini 5+ version 3.5.4 (2024-11-24 10:44:24) running on Duet 3 Mini5plus WiFi (standalone mode)
    Board ID: ZBVGS-QP6KL-K65J0-409N0-NK02Z-HT6JA
    Used output buffers: 11 of 40 (37 max)
    === RTOS ===
    Static ram: 103496
    Dynamic ram: 123876 of which 0 recycled
    Never used RAM 10396, free system stack 128 words
    Tasks: NETWORK(2,nWait 7,15.9%,173) LASER(5,nWait 7,0.0%,169) HEAT(3,nWait 6,0.0%,333) Move(4,nWait 6,1.4%,235) CanReceiv(6,nWait 1,0.1%,773) CanSender(5,nWait 7,0.0%,327) CanClock(7,delaying,0.0%,348) TMC(4,nWait 6,0.9%,67) MAIN(1,running,80.8%,641) IDLE(0,ready,0.0%,29) AIN(4,delaying,0.8%,259), total 100.0%
    Owned mutexes: WiFi(NETWORK)
    === Platform ===
    Last reset 03:31:25 ago, cause: power up
    Last software reset at 2024-12-26 12:32, reason: User, Gcodes spinning, available RAM 14736, slot 2
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
    Error status: 0x00
    Aux0 errors 0,0,0
    MCU revision 3, ADC conversions started 9514247, completed 9514246, timed out 0, errs 0
    MCU temperature: min 29.1, current 29.4, max 36.9
    Supply voltage: min 23.8, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
    Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/124/124, gc cycles 0
    Events: 0 queued, 0 completed
    Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 12163, writes 10, timeouts 0, DMA errors 0, CC errors 0
    Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 12155, writes 18, timeouts 0, DMA errors 0, CC errors 0
    Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 12154, writes 18, timeouts 0, DMA errors 0, CC errors 0
    Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 12154, writes 18, timeouts 0, DMA errors 0, CC errors 0
    Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 12155, writes 18, timeouts 0, DMA errors 0, CC errors 0
    Driver 5: not present
    Driver 6: not present
    Date/time: 2024-12-26 16:05:45
    Cache data hit count 4294967295
    Slowest loop: 227.99ms; fastest: 0.09ms
    === Storage ===
    Free file entries: 20
    SD card 0 detected, interface speed: 22.5MBytes/sec
    SD card longest read time 10.3ms, write time 13.3ms, max retries 0
    === Move ===
    DMs created 83, segments created 47, maxWait 415011ms, bed compensation in use: mesh, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00
    no step interrupt scheduled
    Moves shaped first try 18915, on retry 5487, too short 8406, wrong shape 3907, maybepossible 398
    === DDARing 0 ===
    Scheduled moves 41611, completed 41611, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 29], CDDA state -1
    === DDARing 1 ===
    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === Heat ===
    Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
    === GCodes ===
    Movement locks held by null, null
    HTTP is idle in state(s) 0
    Telnet is idle in state(s) 0
    File is idle in state(s) 0
    USB is idle in state(s) 0
    Aux is idle in state(s) 0
    Trigger is idle in state(s) 0
    Queue is idle in state(s) 0
    LCD is idle in state(s) 0
    SBC is idle in state(s) 0
    Daemon is idle in state(s) 0
    Aux2 is idle in state(s) 0
    Autopause is idle in state(s) 0
    File2 is idle in state(s) 0
    Queue2 is idle in state(s) 0
    Q0 segments left 0, axes/extruders owned 0x000040a
    Code queue 0 is empty
    Q1 segments left 0, axes/extruders owned 0x0000000
    Code queue 1 is empty
    === Filament sensors ===
    check 0 clear 0
    Extruder 0 sensor: no filament
    Extruder 1 sensor: no filament
    === CAN ===
    Messages queued 147871, received 522515, lost 0, errs 0, boc 0
    Longest wait 1ms for reply type 6034, peak Tx sync delay 393, free buffers 26 (min 24), ts 63429/63428/0
    Tx timeouts 0,0,0,0,0,0
    === Network ===
    Slowest loop: 215.21ms; fastest: 0.00ms
    Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
    HTTP sessions: 1 of 8
    === WiFi ===
    Interface state: active
    Module is connected to access point
    Failed messages: pending 0, notrdy 0, noresp 0
    Firmware version 2.2.0
    MAC address e8:68:e7:e1:4e:33
    Module reset reason: Power up, Vcc 3.35, flash size 2097152, free heap 35896
    WiFi IP address 192.168.1.163
    Signal strength -43dBm, channel 2, mode 802.11n, reconnections 0
    Clock register 00002002
    Socket states: 0 0 0 0 0 0 0 0
    jay_s_ukundefined 1 Reply Last reply 26 Dec 2024, 21:10 Reply Quote 0
    • jay_s_ukundefined
      jay_s_uk @SonnyD1
      last edited by 26 Dec 2024, 21:10

      @SonnyD1 in DWC, try changing the number of AJAX from 2 to 4

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 2 Replies Last reply 27 Dec 2024, 01:00 Reply Quote 0
      • undefined
        SonnyD1 @jay_s_uk
        last edited by SonnyD1 27 Dec 2024, 01:00

        @jay_s_uk Ok I made that change. I'll let you know if the issue continues.

        1 Reply Last reply Reply Quote 1
        • undefined
          SonnyD1 @jay_s_uk
          last edited by 28 Dec 2024, 05:11

          @jay_s_uk Yea it's lookin like that did the trick. Thank you.!

          dc42undefined 1 Reply Last reply 28 Dec 2024, 07:35 Reply Quote 0
          • dc42undefined
            dc42 administrators @SonnyD1
            last edited by 28 Dec 2024, 07:35

            @SonnyD1 upgrading your PanelDue firmware to 3.5.1 may help too.

            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
            • Phaedruxundefined Phaedrux marked this topic as a question 29 Dec 2024, 17:49
            • Phaedruxundefined Phaedrux has marked this topic as solved 29 Dec 2024, 17:49
            1 out of 5
            • First post
              1/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA