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

    Duet 3 IDEX resets at consistent position

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    152
    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.
    • akayoshiundefined
      akayoshi
      last edited by

      Hi All,

      I've put together an idex printer which usually works quite well. I'm using Cura as the slicer. I have been trying to print the following part, and the machine seems to reset/lose power at a consistent position.

      My cabling seems fine, and I suspect my gcode is the issue. I've tried reslicing it and changing a few parameters eg turn of coast, z hop etc with no luck. The print seems to reset on layer 5, when tool T1 begins to print.

      I have attached my m122, config.g and g code below.

      Thanks in advance!

      M122 report

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v1.01 or later (standalone mode)
      Board ID: 08DJM-956L2-G43S8-6J1D6-3S46T-KU2QF
      Used output buffers: 1 of 40 (29 max)
      === RTOS ===
      Static ram: 154604
      Dynamic ram: 163416 of which 96 recycled
      Exception stack ram used: 312
      Never used ram: 74788
      Tasks: NETWORK(ready,228) ETHERNET(blocked,404) HEAT(blocked,1104) CanReceiv(suspended,3820) CanSender(suspended,1488) CanClock(blocked,1424) TMC(blocked,204) MAIN(running,4528) IDLE(ready,76)
      Owned mutexes:
      === Platform ===
      Last reset 00:27:25 ago, cause: power up
      Last software reset at 2021-08-24 10:39, reason: User, spinning module GCodes, available RAM 74580 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 32.0, current 33.0, max 34.5
      Supply voltage: min 23.8, current 23.8, max 23.9, 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 23554, writes 14 timeouts 0, SG min/max 0/0
      Driver 1: standstill, reads 23554, writes 15 timeouts 0, SG min/max 0/0
      Driver 2: standstill, reads 23555, writes 14 timeouts 0, SG min/max 0/0
      Driver 3: standstill, reads 23556, writes 14 timeouts 0, SG min/max 0/0
      Driver 4: standstill, reads 23556, writes 14 timeouts 0, SG min/max 0/0
      Driver 5: standstill, reads 23556, writes 14 timeouts 0, SG min/max 0/0
      Date/time: 2021-08-24 11:25:40
      Slowest loop: 53.69ms; fastest: 0.21ms
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 25.0MBytes/sec
      SD card longest read time 26.9ms, write time 1.8ms, max retries 0
      === Move ===
      Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 522351ms
      Bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves: 47569, completed moves: 47569, 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
      === 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: 28.65ms; 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 0 0 0
      === Filament sensors ===
      Extruder 0 sensor: ok
      Extruder 1 sensor: ok
      === CAN ===
      Messages sent 6582, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 0
      Last transfer: 1645819ms ago
      RX/TX seq numbers: 0/1
      SPI underruns 0, overruns 0
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0
      

      Config.g

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Mar 31 2021 21:23:47 GMT+1100 (Australian Eastern Daylight Time)
      
      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"duet"                                     ; set printer name
      
      ; Network
      M552 P0.0.0.0 S1                                   ; enable network and acquire dynamic address via DHCP
      M586 P0 S1                                         ; enable HTTP
      M586 P1 S0                                         ; disable FTP
      M586 P2 S0                                         ; disable Telnet
      
      ; Drives
      M569 P0.0 S0                                       ; physical drive 0.0 goes forwards: idex 1
      M569 P0.1 S1                                       ; physical drive 0.1 goes forward: idex 2
      M569 P0.2 S0                                       ; physical drive 0.2 goes backwards: y axis
      M569 P0.3 S0                                       ; Z axis
      M569 P0.4 S1                                       ;Extruder 1
      M569 P0.5 S1                                       ; extruder 2
      M584 X0.0 U0.1 Y0.2 Z0.3 E0.4:0.5                           ; set drive mapping
      M350 X16 U16 Y16 Z16 E16 i1                             ; configure microstepping with interpolation
      M92 X80.00 U80 Y80.00 Z400.00 E394.20:394.2                  ; set steps per mm
      M566 X700.00 U700 Y700.00 Z60.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
      M203 X12000.00 U12000 Y12000.00 Z180.00 E1200.00          ; set maximum speeds (mm/min)
      M201 X500.00 U500 Y500.00 Z20.00 E250.00                ; set accelerations (mm/s^2)                 
      M906 X800 u800 Y725 Z1900 E800:800 I30       ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; if voltage drops <21v
      
      ; Axis Limits
                                
      M208 x-100 u0 y0 z0 s1 ; set axis minima
      m208 x420 u523 y380 z400 s0
      
      ; Endstops
      M574 X1 S1 P"io2.in"                               ; configure active-high endstop for low end on X via pin io4.in
      M574 Y1 S1 P"io3.in"                               ; configure active-high endstop for high end on Y via pin io3.in
      M574 U2 S1 P"!io5.in"
      M915 U R0 F0
      M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M950 S0 C"io7.out"                                 ; create servo pin 0 for BLTouch
      M558 P9 C"io7.in" H5 F120 T6000                   ; set Z probe type to bltouch and the dive height + speeds;G31 P500 X-41 Y5 Z2.5                              ; set Z probe trigger value, offset and trigger height
      G31 P500 X32.5, Y-42 z.95
      M557 X60:420 Y0:330 S40                           ; define mesh grid
      M280 P0 S90
      
      ; Heaters
      
      ;Bed
      M308 S0 P"temp0" Y"thermistor" T100000 B4138       ; configure sensor 0 as thermistor on pin temp0 - Heated BED
      M950 H0 C"out1" T0                                 ; create bed heater output on out2 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 S120; set temperature limit for heater 0 to 120C
      
      ;Extruder 1
      M308 S1 P"temp1" Y"thermistor" T165000 B4725 c7.06e-8 R2200 ; configure sensor 1 as thermistor on pin temp1 - Extruder 1
      M950 H1 C"out2" 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 S280                                       ; set temperature limit for heater 1 to 280C
      
      ;Extruder 2
      M308 S2 P"temp2" Y"thermistor" T100000 B4725 c7.06e-8 ; configure sensor 1 as thermistor on pin temp1 - Extruder 1
      M950 H2 C"out3" T2                                 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H2 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      M143 H2 S280                                       ; set temperature limit for heater 1 to 280C
      
      ; Fans
      ; Extruder 1 - part fan
      M950 F0 C"out7" Q500                               ; create fan 0 on pin out7 and set its frequency
      m106 p0 s0 ; set fan 0 value. Thermostatic control is turned on
      
      ; Extruder 2 - hot end fan
      M950 F1 c"out8" Q500
      m106 p1 s1 h2										; Extruder 2 - part fan
      
      ;Part fan
      M950 F2 c"out9" q500								; create fan 1 on pin out8 and set its frequency
      M106 P2 S0 
      
      ; Custom settings are not defined
      ;''' Tool configuration section of config.g'''
      
      ;''' Create a tool that uses the low end (X) carriage'''
      M563 P0 S"Extuder A" D0 H1 F0            ; tool 0 uses extruder 0, heater 1 and fan 0
      G10 P0 X0 Y0 Z0 S0 R0       ; set tool 0 offsets and temperatures
      M591 P1 C"io4.in" S1 D0 ; filament monitor connected to E0 endstop
      M591 P2 C"io1.in" S1 D1 
      ;''' Create a tool that uses the high end (U) carriage'''
      M563 P1 S"Extruder B" D1 H2 X3 F3         ; tool 1 uses extruder 1, heater 2, fan 2, and maps X to U
      
      G10 P1 Y-1 U0 Z7 S0 R0
      M671 X80:460:460:80 Y300:300:-35:-35 P0.5
      
      ; 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
      M207 S2.0 F2400 Z.3
      M929
      
      

      1.gcode

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @akayoshi
        last edited by

        @akayoshi you're still on firmware 3.1.1
        I highly recommend updating to 3.3.0 and seeing if your problem is sorted

        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

        1 Reply Last reply Reply Quote 0
        • akayoshiundefined akayoshi referenced this topic
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA