More heater for a tool in copy mode
-
Good morning.
I'm designing and building a printer with four tools in a dual IDEX configuration. I've created a new gcode to enable and disable copy mode, but I get an error if I assign more than two heaters.;Configurador del modo copia M940 Cx if(param.C == 1) M563 P4 S"Copia cuadruple" D0:1:2:3 H1:2:3:4 X0:3 Y1:4 F0:2:4:6 G10 P4 X0 Y0 U{-(move.axes[3].max/2)} V{-(move.axes[4].max/2)} S0 R0 M567 P4 E1:1:1:1 if(param.C == 0) T0 P0 M563 P4 D-1 H-1
Is there any way to be able to manage all 4 heaters at the same time?
Thanks -
@CorvoConV What hardware and firmware are you using? Send M122 and post the response.
Presumably you're using a Duet 3 Mini 5+. Currently the limit for the Mini 5+ is 2 heaters per tool, see https://docs.duet3d.com/User_manual/RepRapFirmware/RepRapFirmware_overview#firmware-configuration-limits
@dc42 may be able to increase this; I'm not sure why it's only 2 compared to other boards.
Ian
-
Yes, i am using the wifi mini, i forget to see that limit
I will manually set the temperatures in the starting gcode of the slicer.
Thanks.
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.6.0-rc.2 (2025-03-31 12:16:33) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: UGZBM-7M9MK-K65J0-40TKW-MTW2Z-ZHTW6 Used output buffers: 2 of 40 (32 max) === RTOS === Static ram: 94764 Dynamic ram: 98336 of which 404 recycled Never used RAM 47964, free system stack 186 words Tasks: NETWORK(1,ready,15.9%,193) LASER(5,nWait 7,0.0%,235) HEAT(3,nWait 6,0.0%,325) Move(4,nWait 6,0.0%,339) TMC(4,nWait 6,1.4%,99) CanReceiv(6,nWait 1,0.2%,771) CanSender(5,nWait 7,0.0%,336) CanClock(7,delaying,0.0%,348) MAIN(1,running,81.7%,647) IDLE(0,ready,0.0%,29) USBD(3,blocked,0.0%,133) AIN(4,delaying,0.8%,261), total 100.0% Owned mutexes: === Platform === Last reset 03:54:03 ago, cause: software Last software reset at 2025-04-29 12:57, reason: User, Gcodes spinning, available RAM 46292, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00489000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a === Storage === Free file entries: 19 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 31.6ms, write time 0.8ms, max retries 0 === Move === Segments created 0, maxWait 0ms, bed comp in use: none, height map offset 0.000, hiccups added 0/0 (0.00/0.00ms), max steps late 0, ebfmin 0.00, ebfmax 0.00 Pos req/act/dcf: 0.00/0/0.00 0.00/0/0.00 0.00/0/0.00 0.00/0/0.00 0.00/0/0.00 No step interrupt scheduled Driver 0: standstill, SG min 94, r/w errs 0/1, ifcnt 50, reads/writes 31486/16, timeouts 0, DMA errs 0, CC errs 0 Driver 1: standstill, SG min 16, r/w errs 0/1, ifcnt 50, reads/writes 31485/16, timeouts 0, DMA errs 0, CC errs 0 Driver 2: standstill, SG min 162, r/w errs 0/1, ifcnt 51, reads/writes 31485/16, timeouts 0, DMA errs 0, CC errs 0 Driver 3: standstill, SG min 78, r/w errs 0/1, ifcnt 50, reads/writes 31485/16, timeouts 0, DMA errs 0, CC errs 0 Driver 4: standstill, SG min 38, r/w errs 0/1, ifcnt 44, reads/writes 31486/16, timeouts 0, DMA errs 0, CC errs 0 Driver 5: standstill, SG min 28, r/w errs 0/1, ifcnt 45, reads/writes 31485/16, timeouts 0, DMA errs 0, CC errs 0 Driver 6: standstill, SG min 24, r/w errs 0/1, ifcnt 45, reads/writes 31485/16, timeouts 0, DMA errs 0, CC errs 0 === DDARing 0 === Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0] Segments left 0, axes/extruders owned 0x00000803, drives owned 0x00000803 Code queue is empty === DDARing 1 === Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0] Segments left 0, axes/extruders owned 0x00000000, drives owned 0x00000000 Code queue is empty === 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 === CAN === Messages queued 122766, received 1235340, lost 0, ignored 0, errs 0, boc 0 Longest wait 3ms for reply type 6061, peak Tx sync delay 386, free buffers 26 (min 25), ts 66559/66558/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 31.33ms; 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.1 Module reset reason: Power up, Vcc 3.39, flash size 2097152, free heap 40956
-
@CorvoConV @dc42 has increased the MaxHeatersPerTool from 2 to 8. This should be available in the next firmware release. https://github.com/Duet3D/RepRapFirmware/commit/e31003fdcb3b3ffaf33d8a3150e32c88bdf83e6d
I think no one had ever asked for more!
Ian