Duet 3 homing reset error



  • Hello everyone,

    I have been printing with my Duet 3 powered corexy for a couple of weeks and now I am having a "loop" where when I try to home, it resets to an unhomed state upon homing. If you do a single axis it does the same thing and flashes homed and then resets to unhomed. No errors on the console reported.

    Short video of the homing issue:

    https://vimeo.com/manage/456388566/general

    Here is the M122:

    9/9/2020, 6:07:29 PM m122
    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
    Board ID: 08DJM-956L2-G43S4-6J9F2-3SJ6M-1A6UG
    Used output buffers: 1 of 40 (13 max)
    === RTOS ===
    Static ram: 154604
    Dynamic ram: 163388 of which 20 recycled
    Exception stack ram used: 528
    Never used ram: 74676
    Tasks: NETWORK(ready,1968) HEAT(blocked,1188) CanReceiv(suspended,3820) CanSender(suspended,1384) CanClock(blocked,1436) TMC(blocked,60) MAIN(running,4544) IDLE(ready,76)
    Owned mutexes:
    === Platform ===
    Last reset 00:42:06 ago, cause: software
    Last software reset at 2020-09-10 01:25, reason: User, spinning module LinuxInterface, available RAM 74788 bytes (slot 2)
    Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
    Error status: 0
    MCU temperature: min 40.2, current 40.3, max 40.5
    Supply voltage: min 23.8, current 24.0, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
    12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
    Driver 0: standstill, reads 40080, writes 4 timeouts 0, SG min/max 0/638
    Driver 1: standstill, reads 40080, writes 4 timeouts 0, SG min/max 0/646
    Driver 2: standstill, reads 40080, writes 4 timeouts 0, SG min/max 0/861
    Driver 3: standstill, reads 40083, writes 0 timeouts 0, SG min/max not available
    Driver 4: standstill, reads 40084, writes 0 timeouts 0, SG min/max not available
    Driver 5: standstill, reads 40083, writes 0 timeouts 0, SG min/max not available
    Date/time: 2020-09-10 02:07:26
    Slowest loop: 5.28ms; fastest: 0.14ms
    === Storage ===
    Free file entries: 10
    SD card 0 not detected, interface speed: 37.5MBytes/sec
    SD card longest read time 0.0ms, write time 0.0ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 375, MinFreeDm: 373, MaxWait: 49201ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 90, completed moves: 90, 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 = 3 -1 -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP* is ready with "M122" 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: 1.97ms; fastest: 0.01ms
    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: 0 of 8

    • Ethernet -
      State: disabled
      Error counts: 0 0 0 0 0
      Socket states: 0 0 0 0 0 0 0 0
      === CAN ===
      Messages sent 309, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 0
      Last transfer: 19ms ago
      RX/TX seq numbers: 14684/14686
      SPI underruns 0, overruns 0
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.1.1
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 31.97

    Any suggestions would be appreciated.

    Mark


  • Moderator

    Your video link goes to a log in page. Do you have a public link?

    Can you post your config.g and homing files?



  • Sorry about the bad link. Here is the correct link for the video:
    https://vimeo.com/456388566

    config file:

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Aug 13 2020 09:44:43 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Drives
    M569 P0.0 S1 ; physical drive 0.0 goes forwards
    M569 P0.1 S1 ; physical drive 0.1 goes forwards
    M569 P0.2 S0 ; physical drive 0.2 goes backwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    M584 X0.0 Y0.1 Z0.2 E0.3:0.4 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z640.00 E822.67:822.67 ; set steps per mm
    M566 X9000.00 Y9000.00 Z300.00 E3600.00:3600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z500.00 E4800.00:4800.00 ; set maximum speeds (mm/min)
    M201 X9000.00 Y9000.00 Z50.00 E80.00:80.00 ; set accelerations (mm/s^2)
    M906 X2200 Y2200 Z3200 E1800:1800 I0 ; set motor currents (mA) and motor idle factor in per cent
    M84 S.5 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X450 Y280 Z320 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"io1.in" ; configure active-high endstop for high end on X via pin io1.in
    M574 Y1 S1 P"!^io2.in" ; configure active-high endstop for low end on Y via pin !^io2.in
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M558 P5 C"^!io3.in" H2 F150 T1800 ; set Z probe type to switch and the dive height + speeds
    M558 H2 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
    G31 P1000 X0 Y0 Z0.59 ; set Z probe trigger value, offset and trigger height
    M557 X0:450 Y20:280 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"pt1000" R2200 ; configure sensor 0 as PT1000 on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    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
    M143 H0 S170 ; set temperature limit for heater 0 to 170C
    M308 S1 P"temp1" Y"pt1000" R2200 ; configure sensor 1 as PT1000 on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S450 ; set temperature limit for heater 1 to 450C
    M308 S2 P"temp2" Y"pt1000" R2200 ; configure sensor 1 as PT1000 on pin temp1
    M950 H2 C"out2" T2 ; create nozzle heater output on out1 and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H2 S450 ; set temperature limit for heater 2 to 450C
    M308 S3 P"temp3" Y"pt1000" R2200 ; configure sensor 3 as PT1000 on pin temp3
    M950 H3 C"out9" T3 ; create bed heater output on out9 and map it to sensor 3
    M141 H3 ; Define heater h3 as chamber heater
    M301 H3 P-1 ; Disable PID settings to use bang-bang
    M143 H3 S150 ; set temperature limit for heater 3 to 150C

    ; Fans
    ;M950 F0 C"out8" ; create fan 0 on pin out8 and set its frequency
    ;M106 P0 C"fan + lights" S1 H-1 ; set fan 0 name and value. Thermostatic control is turned off
    ;M563 P0 D0 H0 ; tool 0 uses extruder 0, heater 1 (and fan 0)
    ;M563 P1 D1 H1 ; tool 0 uses extruder 0, heater 1 (and fan 0)

    ; Tools
    M563 P0 S"Mosquito Main 0" 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
    M563 P1 S"Mosquito Support 1" D1 H2 F0 ; define tool 1
    G10 P1 X16.150 Y2.15 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M501 ; enable config override

    M572 D0 S0.4 ; enable pressure advance
    M572 D1 S0.4 ; enable pressure advance


  • Moderator

    @gt40 said in Duet 3 homing reset error:

    M84 S.5 ; Set idle timeout

    Your idle timeout seems to be set at half a second...



  • Thank you very much for your help. I changed the M84 in the config.g file to 20 and all is well. Please mark this resolved and again, a big thanks for the quick response.

    Mark


Log in to reply