I want to use both hotend heater pins but i cant
-
hey,
I was using E0 with one of my printer heads but I want to add the other pin to my config to use the pin with another cable and another head. I checked the new cable in E0 it is working, I took out the cable from the e0 put it to the e1 and i left the e0 empty. I went to config tool add a new nozzle named e1temp and e1heat. created a config, I took the lines which are related with e1 and add them to my original config. but i cant see the new pin on dashboard, also i sent the m122 it says heater1 is on but says nothing about heater2 which is e1. how can i use both pins with different cables and heads. when i change the head ill leave the other cable on the pin but wont use it.
m122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet Ethernet 1.02 or later + DueX5 Board ID: 08DGM-917DA-G4MSJ-6J9D6-3SJ6T-19R38 Used output buffers: 1 of 26 (13 max) === RTOS === Static ram: 23836 Dynamic ram: 70876 of which 60 recycled Never used RAM 17308, free system stack 206 words Tasks: NETWORK(ready,24.4%,225) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,363) DUEX(notifyWait,0.0%,24) MAIN(running,75.3%,438) IDLE(ready,0.3%,30), total 100.0% Owned mutexes: === Platform === Last reset 00:03:50 ago, cause: software Last software reset at 2023-09-06 16:29, reason: User, GCodes spinning, available RAM 17296, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Step timer max interval 0 MCU temperature: min 33.3, current 34.5, max 34.7 Supply voltage: min 24.0, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min n/a Driver 1: standstill, SG min n/a Driver 2: standstill, SG min n/a Driver 3: standstill, SG min n/a Driver 4: standstill, SG min n/a Driver 5: standstill, SG min n/a Driver 6: standstill, SG min n/a Driver 7: standstill, SG min n/a Driver 8: standstill, SG min n/a Driver 9: standstill, SG min n/a Driver 10: Driver 11: Date/time: 2023-09-06 16:33:23 Cache data hit count 4294967295 Slowest loop: 11.07ms; fastest: 0.18ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 1.0ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.0 === 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 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === DueX === Read count 1, 0.26 reads/min === Network === Slowest loop: 13.13ms; fastest: 0.02ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 1 of 8 Interface state active, link 100Mbps full duplex
my old config;
; Configuration file for Duet Ethernet (firmware version 3) ; executed by the firmware on start-up ; ; generated by Julian Zettl Feb 2022 ; edited by Deniz and Tillman July 2023 ; ================= General preferences =================== G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"BLV" ; set printer name M669 K1 ; Select CoreXY mode ; ====================== Network =========================== M552 S1 ; enable network M552 P192.168.1.254 ; set IP Address M553 P255.255.255.0 ; set Netmask M554 P192.168.1.2 ; Set default Gateway M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; ======================= Drives =========================== M569 P0 S0 ; physical drive 0 goes backwards (A motor) M569 P1 S0 ; physical drive 1 goes backwards (B motor) M569 P2 S1 ; physical drive 2 goes forwards (alpha) M569 P5 S0 ; physical drive 4 goes forwards (beta) M569 P6 S0 ; physical drive 6 goes forwards (gamma) M569 P3 S1 ; physical drive 3 goes forwards (E0 motor) ;M569 P5 S1 ; physical drive 5 goes forwards (E1 motor) M584 X0 Y1 Z2:5:6 E3:4 ; set drive mapping ; ===================== Drive Settings ===================== M350 X128 Y128 Z128:128:128 E128:128 I1 ; configure microstepping with interpolation M92 X1600 Y1600 Z12800:12800:12800 E3936:6400 ; steps per mm E1:800 E2:837 M566 X540 Y540 Z56:56:56 E480:480 ; maximum instantaneous speed changes mm/min M203 X10000 Y10000 Z1800:1800:1800 E15000:15000 ; maximum speeds (mm/s) M201 X2000 Y2000 Z100:100:100 E1000:3000 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z800 E800 I50 ; set motor currents (mA) and idle % M84 S120 ; Set idle timeout ; ================ Independent Z Leveleing ================= M671 X-170.24:170.24:0 Y-128.815:-128.815:130.75 S20 ; leadscrew pivot point: ; ===================== Axis Limits ======================== M208 X-45 Y-36 Z0 S1 ; set axis min M208 X270 Y270 Z200 S0 ; set axis max ;originally with 0,0 centered on bed: ;M208 X-152:150 Y-144:172 ; ======================= Endstops ========================= M574 X1 S1 P"x_stop" ; X min active high endstop switch M574 Y2 S1 P"y_stop" ; Y max active high endstop switch M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; ======================== Z-Probe ========================= ;M950 M558 P9 C"zprobe.in" H5 F120 T6000 ; Duet 2 WiFi/Ethernet, DueX2/5 M950 S0 C"duex.pwm1" ; Duet 2 WiFi/Ethernet + DueX2/5 ;M307 H3 A-1 C-1 D-1 ; Disable heater 3 to free up PWM channel 1 on the Duex board. ;M558 P1 C"ZPROBE.IN" H5 F500 T1000 ; Z Probe type=analog, pin, dive height+rate, travelspeed ;M280 P0 S90 G31 X27 Y58 Z1 P25 ;G31 X0 Y0 Z0.2 P500 ; Z Probe offset and trigger value M557 X15:215 Y15:195 S60 ; define mesh grid ; ======================== Heaters ========================= ;M305 P1 T100000 B4267 R4700 ; old RRF2.x M301 H1 H2 P21.1 I0.816 D59.6 ;PID settings hotend from old config M308 S1 P"e0temp" Y"thermistor" A"Hotend" T100000 B4267 R4700 ; extruder thermistor M950 H1 C"e0heat" T1 ; link heater to sensor M143 H1 S285 ; temperature limit M104 S0 ; turn off nozzle heater M308 S0 P"bedtemp" Y"thermistor" A"Bed" T100000 B4267 R4700 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 Q10 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 A284.0 C843.8 D11.0 B0 ; Heatbed PID M140 H0 S0 ; map heated bed to heater 0 M143 H0 S100 ; set temperature limit for heater 0 to 120C M308 S2 P"mcu-temp" Y"mcu-temp" A"Duet Board" ; Configure MCU sensor ; ========================= Fans =========================== M106 P0 S0.1 I0 F500 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M950 F0 C"fan0" Q250 ; create fan 1 on pin fan0 and set its frequency M106 P0 C"hotend fan" T60 H1 ; P"fan1" C"displayname" T"triggervalue" H"heater1" M950 F1 C"fan1" M106 P1 S100 ; ======================== Tools =========================== M563 P0 S"FDM" D0 H1 ; P"tool0" S"displayname" D"e0motor" H"heater1" 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 ==================== M564 H0 ; Let the Jog buttons work blv: added to allow jog buttons ; ====================== Miscellaneous ===================== ;M575 P1 S1 B57600 ; enable support for PanelDue ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ;Duet 2 pinout-*=inverted ;bedheat * Bedheater ;e0heat * Hotend ;e1heat * NC ;exp.heater3 BLTouch S ;Duet 2 temperature inputs ;bedtemp Bed thermistor ;e0temp HE thermistor ;e1temp NC ;Duet 2 fan outputs ;fan0 MB Fan GND ;fan1 LY Fan GND ;fan2 HE Fan GND ;Endstop inputs ;xstop X Endstop C ;ystop Y Endstop C ;zstop NC ;e0stop Filament runout sensor C ;e1stop Off button C pin ;zprobe.in Z- ;zprobe.mod NC
the lines that i took from config tool
M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 2 to 280C
-
@siladeniz you need to add another tool using M563 for it to show up
-
@jay_s_uk hi thank you for the advise, I add to the config and i can see the heater 2 rightnow. but it shows -273C. is there a problem with my config or what should i do?
; Configuration file for Duet Ethernet (firmware version 3) ; executed by the firmware on start-up ; ; generated by Julian Zettl Feb 2022 ; edited by Deniz and Tillman July 2023 ; ================= General preferences =================== G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"BLV" ; set printer name M669 K1 ; Select CoreXY mode ; ====================== Network =========================== M552 S1 ; enable network M552 P192.168.1.254 ; set IP Address M553 P255.255.255.0 ; set Netmask M554 P192.168.1.2 ; Set default Gateway M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; ======================= Drives =========================== M569 P0 S0 ; physical drive 0 goes backwards (A motor) M569 P1 S0 ; physical drive 1 goes backwards (B motor) M569 P2 S1 ; physical drive 2 goes forwards (alpha) M569 P5 S0 ; physical drive 4 goes forwards (beta) M569 P6 S0 ; physical drive 6 goes forwards (gamma) M569 P3 S1 ; physical drive 3 goes forwards (E0 motor) ;M569 P5 S1 ; physical drive 5 goes forwards (E1 motor) M584 X0 Y1 Z2:5:6 E3:4 ; set drive mapping ; ===================== Drive Settings ===================== M350 X128 Y128 Z128:128:128 E128:128 I1 ; configure microstepping with interpolation M92 X1600 Y1600 Z12800:12800:12800 E3936:6400 ; steps per mm E1:800 E2:837 M566 X540 Y540 Z56:56:56 E480:480 ; maximum instantaneous speed changes mm/min M203 X10000 Y10000 Z1800:1800:1800 E15000:15000 ; maximum speeds (mm/s) M201 X2000 Y2000 Z100:100:100 E1000:3000 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z800 E800 I50 ; set motor currents (mA) and idle % M84 S120 ; Set idle timeout ; ================ Independent Z Leveleing ================= M671 X-170.24:170.24:0 Y-128.815:-128.815:130.75 S20 ; leadscrew pivot point: ; ===================== Axis Limits ======================== M208 X-45 Y-36 Z0 S1 ; set axis min M208 X270 Y270 Z200 S0 ; set axis max ;originally with 0,0 centered on bed: ;M208 X-152:150 Y-144:172 ; ======================= Endstops ========================= M574 X1 S1 P"x_stop" ; X min active high endstop switch M574 Y2 S1 P"y_stop" ; Y max active high endstop switch M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; ======================== Z-Probe ========================= ;M950 M558 P9 C"zprobe.in" H5 F120 T6000 ; Duet 2 WiFi/Ethernet, DueX2/5 M950 S0 C"duex.pwm1" ; Duet 2 WiFi/Ethernet + DueX2/5 ;M307 H3 A-1 C-1 D-1 ; Disable heater 3 to free up PWM channel 1 on the Duex board. ;M558 P1 C"ZPROBE.IN" H5 F500 T1000 ; Z Probe type=analog, pin, dive height+rate, travelspeed ;M280 P0 S90 G31 X27 Y58 Z1 P25 ;G31 X0 Y0 Z0.2 P500 ; Z Probe offset and trigger value M557 X15:215 Y15:195 S60 ; define mesh grid ; ======================== Heaters ========================= ;M305 P1 T100000 B4267 R4700 ; old RRF2.x M301 H1 H2 P21.1 I0.816 D59.6 ;PID settings hotend from old config M308 S1 P"e0temp" Y"thermistor" A"Hotend" T100000 B4267 R4700 ; extruder thermistor M950 H1 C"e0heat" T1 ; link heater to sensor M143 H1 S285 ; temperature limit M104 S0 M308 S3 P"e1temp" Y"thermistor" A"Hotend2" T100000 B4267 R4700 ; configure sensor 3 as thermistor on pin e1temp M950 H2 C"e1heat" T3 ; create nozzle heater output on e1heat and map it to sensor 3 ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 2 to 280C ; turn off nozzle heater M308 S0 P"bedtemp" Y"thermistor" A"Bed" T100000 B4267 R4700 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 Q10 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 A284.0 C843.8 D11.0 B0 ; Heatbed PID M140 H0 S0 ; map heated bed to heater 0 M143 H0 S100 ; set temperature limit for heater 0 to 120C M308 S2 P"mcu-temp" Y"mcu-temp" A"Duet Board" ; Configure MCU sensor ; ========================= Fans =========================== M106 P0 S0.1 I0 F500 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M950 F0 C"fan0" Q250 ; create fan 1 on pin fan0 and set its frequency M106 P0 C"hotend fan" T60 H1 ; P"fan1" C"displayname" T"triggervalue" H"heater1" M950 F1 C"fan1" M106 P1 S100 ; ======================== Tools =========================== M563 P0 S"FDM" D0 H1 ; P"tool0" S"displayname" D"e0motor" H"heater1" 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 P2 S"FDM" D0 H2 ; P"tool2" S"displayname" D"e0motor" H"heater2" G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets G10 P2 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; ===================== Custom settings ==================== M564 H0 ; Let the Jog buttons work blv: added to allow jog buttons ; ====================== Miscellaneous ===================== ;M575 P1 S1 B57600 ; enable support for PanelDue ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ;Duet 2 pinout-*=inverted ;bedheat * Bedheater ;e0heat * Hotend ;e1heat * NC ;exp.heater3 BLTouch S ;Duet 2 temperature inputs ;bedtemp Bed thermistor ;e0temp HE thermistor ;e1temp NC ;Duet 2 fan outputs ;fan0 MB Fan GND ;fan1 LY Fan GND ;fan2 HE Fan GND ;Endstop inputs ;xstop X Endstop C ;ystop Y Endstop C ;zstop NC ;e0stop Filament runout sensor C ;e1stop Off button C pin ;zprobe.in Z- ;zprobe.mod NC
-
@jay_s_uk Also I want to ask another thing too, sometimes while I am homing the device it goes to the wrong way, even I didn't change anything on the config or I changed something unrelated to that(like heaters) it happens. what can it be the reason and can I fix it permanently?
-
@siladeniz so a few "errors within your config
For all the Z settings in the drive settings, you should only have a single value, not 3 like you currently have. The only place there should be multiple entries for Z is the M584 line.
I would also suggest that 128 microstepping is way too high and adds no benefit. My advice would be no great then 32.
You don't need the line
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
as this is for using a probe with another axis, not for homing Z with oneThere is an order dependency to some commands, so the M301 line you have at the beginning of the heater section won't be doing anything as it has to come after the M950 for the heater its referring to. I also believe multiple H values in a single M301 command aren't valid.
The 2 M106 lines you have at the start of the fans section won't be doing anything as they come before any M950 commands rather than after.
In the tools section, is there any reason why you've used P2 in M563 rather than P1? convention is that tool numbers are sequential. You've also mapped the wrong extruder to the tool assuming each tool has its own extruder (the D value).
In terms of your actual issue, I don't see any problems with the thermistor definition. In which case I would be pointing to it being a wiring issue. Make sure that the thermistor is actually plugged into e1temp and nowhere else. If it is, you can either measure it with a multimeter to make sure the cabling has continuity (around 100k) or you could temporarily plug it into e0temp.
Hope all this helps
-
@jay_s_uk when put P1 the name was showing up as Duet board, as you can see at the end of the heater part,thats why I used p2.
there was a continuity problem I change the cable and it solved.
For the extruder selection since I am using just one tool at a time I didn't change the extruder, should I still change it?
I try to load filament but it didn't work, does e0 driver work with second heater?
I tried to uncommenting
;M569 P5 S1 ; physical drive 5 goes forwards (E1 motor)
from the drives part
and I changed the D value to D1 in tool part
it didn't work.lastly I changed the P5 to P7 since the P5 is used in drive 4, but there is an error now and it says drive 4 error: a and b phases may not be connected.
-
@jay_s_uk Okay I changed the D0 to D1 and pluged the servo motor pin from e0 to e1 and its working no thank you for the help!!
but I still have issues with homing can you answer that please
-
@siladeniz if you are just going to use the same extruder with two different tools you can leave it as D0 for both. I just assumed you had 2 different extruders due to having 2 lots of extruder entries.
Can you post your homing files?
-
@jay_s_uk I am using one head which means one extruder at a time, but I couldn't use e0 motor with e1 heater and I just unplugged the e0 motor pin and put it to the e1 motor pin. and changed the d0 to d1. does it work if I use e0 motor pin, e1 thermistor and e1 heater?
I am using the DWC dashboard homing buttons.
-
Please share your homex.g homey.g homez.g and homeall.g files.
-
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Aug 31 2023 11:01:34 GMT+0200 (Central European Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-235 Y-215 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X15 Y15 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Aug 31 2023 11:01:34 GMT+0200 (Central European Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-235 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Aug 31 2023 11:01:34 GMT+0200 (Central European Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-215 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-215 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Aug 31 2023 11:01:34 GMT+0200 (Central European Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X15 Y15 F6000 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@siladeniz said in I want to use both hotend heater pins but i cant:
@jay_s_uk Also I want to ask another thing too, sometimes while I am homing the device it goes to the wrong way, even I didn't change anything on the config or I changed something unrelated to that(like heaters) it happens. what can it be the reason and can I fix it permanently?
Can you give more detail about the behaviour? which axis goes the wrong way and when? How far? Consistently, or randomly?