M500 writes file with empty M307 values
-
Not sure if this is a RRF or DSF issue but running M500 results in a file with no data for the M307 parameters
; config-override.g file generated in response to M500 at 2019-10-09 15:40 ; Heater model parameters M307 H A C D S B0 M307 H A C D S B0 ; Workplace coordinates
Here's what M307 reported:
M307 H0 Heater 0 model: gain 356.6, time constant 852.6, dead time 0.6, max PWM 1.00, calibration voltage 24.5, mode PID Computed PID parameters for setpoint change: P711.3, I31.449, D298.7 Computed PID parameters for load change: P711.3, I169.374, D298.7 M307 H1 Heater 1 model: gain 717.2, time constant 306.5, dead time 5.1, max PWM 1.00, calibration voltage 23.8, mode PID Computed PID parameters for setpoint change: P15.0, I0.379, D53.4 Computed PID parameters for load change: P15.0, I0.927, D53.4
-
Update. It looks like there no code in DuetControlServer to populate the heater model which is why M500 writes empty values.
It has...
heaterObj.Current = response.temps.current[heater]; heaterObj.Max = response.tempLimit; heaterObj.Name = response.temps.names[heater]; heaterObj.Sensor = heater; heaterObj.State = (HeaterState)response.temps.state[heater];
but no heaterObj.Model.
-
@gtj0 yep still on the todo list!
-
Yeah. I just figured out how to change a topic to a question so it would have the unsolved/solved tags
-
This is solved in DSF 1.3.0