Klipper: show wrong temperate when select T1 (shared extruder)
I activated two macros to change the extruder, the second shares heater with the first one.
Repetier Server V0.9.31 when I select T1 shows wrong temperature, for example now T0 is 14.5° and T1 0.0°, always remains at 0.
[gcode_macro T0]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder
[gcode_macro T1]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder1
Repetier Server V0.9.31 when I select T1 shows wrong temperature, for example now T0 is 14.5° and T1 0.0°, always remains at 0.
In the LCD I see instead the two identical temperatures, obviously sharing the same heater are the same.
My Macro:
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder
[gcode_macro T1]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder1
The two extruder setting in Klipper:
[extruder]
step_pin = PD6
dir_pin = !PD3
enable_pin = !PC1
step_distance = 0.0011904761
nozzle_diameter = 0.400
filament_diameter = 1.75
heater_pin = PB27
sensor_type = NTC 100K beta 3950
sensor_pin = PA16
control = pid
pid_kp = 12.770
pid_ki = 0.441
pid_kd = 92.420
min_extrude_temp = 170
min_temp = 0
max_temp = 280
[extruder1]
step_pin = PB26
dir_pin = PA15
enable_pin = !PD1
step_distance = 0.0005952381
nozzle_diameter = 0.400
filament_diameter = 1.75
shared_heater = extruder
step_pin = PD6
dir_pin = !PD3
enable_pin = !PC1
step_distance = 0.0011904761
nozzle_diameter = 0.400
filament_diameter = 1.75
heater_pin = PB27
sensor_type = NTC 100K beta 3950
sensor_pin = PA16
control = pid
pid_kp = 12.770
pid_ki = 0.441
pid_kd = 92.420
min_extrude_temp = 170
min_temp = 0
max_temp = 280
[extruder1]
step_pin = PB26
dir_pin = PA15
enable_pin = !PD1
step_distance = 0.0005952381
nozzle_diameter = 0.400
filament_diameter = 1.75
shared_heater = extruder
Comments
Setting it in that way (here dual extruder but one shared heater) trying to warm up T0 from the menu does not do it, because T1 is at 0, so it does not hold the heater.
By putting the second extruder on "2" then T0 works.
Repetier Server imho missing this combination (shared heater), ie unify the temperatures.
With the shared heater if I set T0 to 200° T1 must also be set to the same temperature.
In theory the firmware should think about this, but if it does too Repetier Server is better imho.
Just enter the printer settings, give "save configuration" and at that point it detects it correctly, so it is a problem of Repetier Server with Klipper.
I've the same problem. Have you any solutions?
Thanks
My problem is no one gave me a hint how to create that problem. When I use klipper I do not get it. My M105 responses are:
And I get no NaN. The question is here does the invalid number get into the queue.
If you activate connected.log how does it look when you get the NaN?
What do you need to do to get it? I restarted server and did not get it I Restarted klipper no problem. Reloaded webpage and still no problem.
So if you you post the connected.log and some hints on how to produce the error I might be able to fix it.
This video show the problem:
Also look at what happens to the fan0, activating the heater also activates it and shouldn't, it is that of the extruded material.
Regarding NaN it did not happen, so I guess I can not replay it with single extruder on klipper. But should be pretty easy to see in the log since it happens after you enable temperature. So my guess is that klipper responds with something that causes this to happen. Once I know the output created I will put that into my virtual printer for replay so I can then fix it.
Nice, thanks Roland!
In Klipper T0 and T1 they don't work if you don't insert a macro in the cfg like this (which I put):
gcode =
ACTIVATE_EXTRUDER EXTRUDER=extruder
[gcode_macro T1]
gcode =
ACTIVATE_EXTRUDER EXTRUDER=extruder1
Files are not allowed since our disk space on server is limited and there are so many ways to upload files for free nowadays.