I want to use both hotend heater pins but i cant
-
@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?