Duet2 wifi RRF3 homing mixture
-
@pertti said in Duet2 wifi RRF3 homing mixture:
M308 S1 P"e0temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M308 S2 P"e1temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 2 as thermistor on pin e1tempYou may need to add a space between the B3950 and ;B4138
Send M308 S1 and M308 S2 in the console by itself to see what it reports.
-
@phaedrux said in Duet2 wifi RRF3 homing mixture:
M308 S1
M308 S1
Sensor 1 type Thermistor using pin e0temp, reading 18.6, last error: sensor not ready, T:100000.0 B:3950.0 C:0.00e+0 R:4700.0 L:0 H:0
M308 S2
Sensor 2 type Thermistor using pin e1temp, reading 20.9, last error: sensor not ready, T:100000.0 B:3950.0 C:0.00e+0 R:4700.0 L:0 H:0 -
@pertti said in Duet2 wifi RRF3 homing mixture:
Error: bad model parameters
Does that error still occur after fixing that missing space?
-
@phaedrux
Yes, I´m afraid.
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: bad model parameters -
@pertti said in Duet2 wifi RRF3 homing mixture:
; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S120 ;S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M308 S2 P"e1temp" Y"thermistor" T100000 B3950;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 280CI'm not sure which of these commands is sending that error message.
Can you copy and past each of those lines one at a time to the gcode console? The offending line should produce the bad model parameters error.
-
@phaedrux
I got it. This is the one and only line that sends the error message.M307 H0 B1 S120 ;S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
Error: M307: bad model parameters -
@pertti said in Duet2 wifi RRF3 homing mixture:
M307 H0 B1 S120
Ah yes, ok. It's the S120 that is invalid.
That should be S1. It's specifying the PWM power factor in a range from 0.0 to 1.0, not a temperature.
Once that is solved I suggest you re-run the PID tuning process and save the new values with M500 so that it gets written to config-override.g.
M303 H0 S60 will tune the bed heater to 60c
M500 to save the results
M303 T0 S220 will tune the hot end heater to 220c
M500 after to save the resultsAnd make sure you have added M501 at the end of config.g so that config-override.g gets loaded at startup.
-
@phaedrux
Thanks for this day, I´ll be back tomorrow. -
@pertti
I comleted the PID tunig. . First I tried M500 but something happened and it did no saving. However in the console there were new lines which I copied to config.g. OK? Seems to work. Looks good now, many thanks. Next thing is to connect the extrusion cooling fans and the second extruder.
config.g:
M307 H0 B0 R0.078 C877.1 D17.57 S1.00 V23.6
M307 H1 B0 R2.016 C174.8:173.5 D4.45 S1.00 V24.0
config-override has same lines:
; Heater model parameters
M307 H0 R0.078 C877.100:877.100 D17.57 S1.00 V23.6 B0 I0
M307 H1 R2.016 C174.800:173.500 D4.45 S1.00 V24.0 B0 I0
M307 H2 R2.429 C140.000:140.000 D5.50 S1.00 V0.0 B0 I0 -
@pertti said in Duet2 wifi RRF3 homing mixture:
First I tried M500 but something happened and it did no saving.
@pertti said in Duet2 wifi RRF3 homing mixture:
config-override has same lines:
The config-override.g having the same lines means that it did in fact save correctly.