Duet 3 and connection issues.



  • Web control has insane lag and as you can see its not the wifi speed that is causing it.
    Allso trying to set duets ip to static results in a crash and a compleate reset of the board is required to make it work again, what ever i do i cant get the ip to be static.
    Screenshot_2021-01-28 Nopeustesti fi - Testaa netin nopeus helposti (1 min).png

    Any web trafic when the printter is running results in a disconect in web control

    Connection established
    28.1.2021 klo 16.36.29 Connection interrupted, attempting to reconnect...
    HTTP request timed out
    28.1.2021 klo 16.36.19 Failed to get file list
    Directory 0:/macros not found
    28.1.2021 klo 16.36.19 Connection established
    28.1.2021 klo 16.36.19 Connection interrupted, attempting to reconnect...
    HTTP request timed out
    28.1.2021 klo 16.36.00 Failed to get file list
    Directory 0:/macros not found
    28.1.2021 klo 16.36.00 Connection established
    28.1.2021 klo 16.36.00 Connection interrupted, attempting to reconnect...
    HTTP request timed out
    28.1.2021 klo 16.35.24 Failed to get file list
    Directory 0:/macros not found
    28.1.2021 klo 16.35.24 Connection established
    28.1.2021 klo 16.35.24 Connection interrupted, attempting to reconnect...
    HTTP request timed out

    This all when typing this message.


  • Moderator

    I see you're having some issues, but we're missing some information to be able to help you.

    Are you using the Duet 3 with a raspberry pi, or standalone?

    Probably best to start with a standalone setup first.

    https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3



  • Stand alone, the setup has been functioning fine for a year.


  • Moderator

    Please post the results of M122 and M98 P"config.g"
    Post your config.g as well.

    The duet 3 is wired to your switch/router?
    Are you able to set a DHCP reservation on the router for the Duet3?



  • M122
    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v0.6 or 1.0 (standalone mode)
    Board ID: 08DJM-956L2-G43S4-6J1FL-3SJ6T-186QH
    Used output buffers: 2 of 40 (23 max)
    === RTOS ===
    Static ram: 154604
    Dynamic ram: 162784 of which 20 recycled
    Exception stack ram used: 376
    Never used ram: 75432
    Tasks: NETWORK(ready,276) ETHERNET(blocked,404) HEAT(blocked,1112) CanReceiv(suspended,3820) CanSender(suspended,1488) CanClock(blocked,1424) TMC(blocked,196) MAIN(running,4512) IDLE(ready,76)
    Owned mutexes:
    === Platform ===
    Last reset 00:24:59 ago, cause: power up
    Last software reset at 2021-01-29 22:57, reason: User, spinning module GCodes, available RAM 75264 bytes (slot 3)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
    Error status: 0
    MCU temperature: min 23.1, current 23.3, max 23.4
    Supply voltage: min 23.6, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
    12V rail voltage: min 12.2, current 12.2, max 12.3, under voltage events: 0
    Driver 0: standstill, reads 34723, writes 0 timeouts 0, SG min/max not available
    Driver 1: standstill, reads 34723, writes 0 timeouts 0, SG min/max not available
    Driver 2: standstill, reads 34722, writes 0 timeouts 0, SG min/max not available
    Driver 3: standstill, reads 34723, writes 0 timeouts 0, SG min/max not available
    Driver 4: standstill, reads 34722, writes 0 timeouts 0, SG min/max not available
    Driver 5: standstill, reads 34722, writes 0 timeouts 0, SG min/max not available
    Date/time: 2021-02-04 13:33:09
    Slowest loop: 5.13ms; fastest: 0.15ms
    === Storage ===
    Free file entries: 10
    SD card 0 detected, interface speed: 25.0MBytes/sec
    SD card longest read time 3.3ms, write time 0.0ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 7, completed moves: 7, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
    === AuxDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
    === Heat ===
    Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    Heater 0 is on, I-accum = 0.7
    Heater 1 is on, I-accum = 0.6
    === GCodes ===
    Segments left: 0
    Movement lock held by 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
    Code queue is empty.
    === Network ===
    Slowest loop: 5.77ms; fastest: 0.03ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
    HTTP sessions: 1 of 8

    • Ethernet -
      State: active
      Error counts: 0 0 0 0 0
      Socket states: 5 2 2 2 2 2 0 2
      === CAN ===
      Messages sent 29, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 0
      Last transfer: 1499565ms ago
      RX/TX seq numbers: 0/1
      SPI underruns 0, overruns 0
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0


  • M98 P"config.g"
    HTTP is enabled on port 80
    FTP is enabled on port 21
    TELNET is enabled on port 23
    Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 465C



  • ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Apr 10 2020 22:00:06 GMT+0300 (Itä-Euroopan kesäaika)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Useless junk" ; set printer name

    ; Network
    M551 P"Sirsnip1337" ; set password
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E409.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X15600.00 Y15600.00 Z180.00 E3600.00 ; set maximum speeds (mm/min)
    M201 X2800.00 Y2800.00 Z100.00 E250.00 ; set accelerations (mm/s^2)
    M906 X1100 Y1100 Z1100 E1197 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S120 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X210 Y200 Z300 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
    M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in
    M574 Z1 S1 P"io2.in" ; configure active-high endstop for low end on Z via pin io2.in

    ; Z-Probe
    M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
    M558 P9 C"io7.in" H5 F120 T3000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y41 Z3.0 ; set Z probe trigger value, offset and trigger height
    M557 X15:210 Y15:200 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T97700 B4619 C9.743561e-8 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M143 H1 S285 ; set temperature limit for heater 1 to 285C
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"out9" Q10 ; create fan 0 on pin out9 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"out7" Q500 ; create fan 2 on pin out7 and set its frequency
    M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"Hotend/extruder" D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    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



  • @Snippy said in Duet 3 and connection issues.:

    ; Network
    M551 P"Sirsnip1337" ; set password
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    Any modifications made in those result in an inoperable printter.



  • @Phaedrux
    Yes its set to static in router.


  • Moderator

    When connected to the DWC, upload this zip file to the system tab. Don't extract it first. JUst upload the full zip.

    https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/Duet2and3Firmware-3.2.zip

    That will update the firmware to 3.2 and refresh the DWC files for 3.2 as well.

    I see no errors in your config file


  • Moderator

    Never mind, I see you've started another thread and it looks like you've updated and solved your problem.


Log in to reply