mis-assigned heaters (setting up multiple hotends)
I've been using one hotend for a long time with no problem. I just added a second one but the heaters don't line-up with the sensors now. I detach the sensor connection at hotend 1 but the 2nd hotend reports 2000deg. I detach the sensor from hotend 2 then the bed (H0) sensor reports 2000deg. I detach the bed sensor and heater 1 now reports a bad value.
Here's the tech info: followed by my config file:
Board: Duet 2 Ethernet (2Ethernet)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2.2 (2021-02-11)
; Configuration file for Duet WiFi (firmware version 3.00) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Mar 13 2021 14:27:17 GMT-0800 (Pacific Standard Time) ; modified to match older config file ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"MDCDelta" ; set printer name M665 R247.3721 L450 B160 H384 X0 Y0 Z0 ; set delta radius, diagonal rod length, printable radius, homed height, and x,y, and z tower rotations. ;M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them ; Network M552 S1 P192.168.1.15 ; enable network and force IP address M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 direction M569 P1 S0 ; physical drive 1 direction M569 P2 S0 ; physical drive 2 direction M569 P3 S0 ; physical drive 3 direction M569 P4 S0 ; physical drive 3 direction M584 X0 Y1 Z2 E3:4 ; set drive mapping M350 X16 Y16 Z16 E16:E16 I1 ; configure microstepping with interpolation M92 X200 Y200 Z200 E2700:2700 ; Set axis steps/mm These settings for Zesty Nimble extruder ; eSun Black PLA+ E2699 (at 1mm/sec thru .6mm nozzle) ; Hatchbox White PLA E2669 ; Proto-pasta Iron PLA E2669 ; Matteforge Gray E2776 (at 5mm/sec through .6mm nozzle) ; White PETG 2776 (at 5mm/sec through .6mm nozzle) ; Mika3D Silk Copper E2722 (at 5mm/sec through .6mm nozzle) ; PLA+ E2669 ; (at 5mm/sec through .4mm nozzle) ; Priline wood E2812 ; PLA 2638? (lots of pla prints at this setting but does not match the makerbot pla below) ; Ninjaflex: E2814 ; Botfeeder Filastic: E2777 ; NinjaTek Armadillo: E2666 ; Makerbot PLA: E2614 (includes all hard materials ie wood, stone, pla, hard nylons) ; Taulman PCTPE: E2614 M566 X700 Y700 Z400 E40:40 ; Maximum instant speed changes mm/minute M203 X19980.00 Y19980 Z15000 E1020:1020 ; set maximum speeds (mm/min) M201 X3000 Y3000 Z1000 E120:120 ; Accelerations (mm/s^2) (120 for zesty, 1000 normally) M906 X1000 Y1000 Z1000 E500:500 ; Set motor currents (mA) (500 for Zesty, 1200 normally) M84 S30 ; Set idle timeout ; Axis Limits M208 S1 Z-0.2 ; set minimum Z ; Endstops M574 S1 X2 P"xstop" M574 S1 Y2 P"ystop" M574 S1 Z2 P"zstop" ; Z-Probe M558 P5 C"z_probe.in" H5 F120 T3000 ; create z probe line and type G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters ;M557 R85 S20 ; define mesh grid ; temp sensors M308 S0 P"bed_temp" Y"thermistor" T100000 B4349 ;sets bed sensor type M308 S1 P"spi.cs1" Y"rtd-max31865" ;sets extruder 1 sensor type M308 S2 P"spi.cs2" Y"rtd-max31865" ;sets extruder 2 sensor type ; Heaters M950 H0 T2 C"bedheat" ;make bed heater M950 H1 T0 C"e0heat" ;make extruder #1 heater M950 H2 T1 C"e1heat" ;make extruder #2 heater M140 H0 ;assign bed heaters ; PID settings M307 H0 R0.517 C424 D4.49 S1.00 V24.2 ;from a run done on 3/13/2021 ; Limits M143 H0 S120 A2 ; temperature limit for bed to 120° M143 H1 S300 A2 ; set temperature limit for heater 1 to 300C M143 H2 S300 A2 ; set temperature limit for heater 2 to 300C ; Fans MM950 F0 C"fan0" M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ; Tools M563 P0 D0 H1 ; define tool 0 (old: M563 P0 D0 H1) G10 P0 X-11 Y0 Z0 ; set tool 0 axis offsets G10 P0 R50 S50 ; set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 ; define tool 1 G10 P1 X11 Y0 Z0 ; set tool 1 axis offset G10 P1 R60 S120 ; set initial tool 1 active and standby temperatures to 0C ; Custom settings are not defined M575 P1 B57600 S0 ; set serial port parameters for messages f ; Miscellaneous M501 ; load saved parameters from non-volatile memory
oops, I had a typo: here is the heater/sensor mis-match table:
heater 1 is reporting the bed sensor
heater 2 is reporting heater 1 sensor
bed is reporting the heater 2 sensor
oh, and when I try to select T1 the board seems to reset!
@shadowphile It's this bit:
; temp sensors M308 S0 P"bed_temp" Y"thermistor" T100000 B4349 ;sets bed sensor type M308 S1 P"spi.cs1" Y"rtd-max31865" ;sets extruder 1 sensor type M308 S2 P"spi.cs2" Y"rtd-max31865" ;sets extruder 2 sensor type ; Heaters M950 H0 T2 C"bedheat" ;make bed heater M950 H1 T0 C"e0heat" ;make extruder #1 heater M950 H2 T1 C"e1heat" ;make extruder #2 heater
Your heaters in M950 (defined by H#) are using the wrong temperature sensors (defined by M308 S#, used in M950 by T#). Change Heaters to:
; Heaters M950 H0 T0 C"bedheat" ;make bed heater M950 H1 T1 C"e0heat" ;make extruder #1 heater M950 H2 T2 C"e1heat" ;make extruder #2 heater
@shadowphile Does it still do that if you disconnect the T1 heater? If so, check your wiring for shorts.
@droftarts thanks for the quick reply! Your reply had me scrambling for a while until I realized that T stands for Temperature sensor, not Tool.
@droftarts I fixed the channel assignments and disconnected heater 1. System still went into reset and looked like a short because all the PCB LEDs blank out the moment I select either T0 or H1 (GUI links), or send T0 by the console.
However, the heaters are working now and I've tuned them up already.
I tried a few more times with T0 or T1 though and haven't been able to force a reset. It would be great if it stayed this way!