Closed peteruithoven closed 9 years ago
I see we now use M190
in the start.gcode, (we used to dynamicly prefix the start.gcode with M140
).
Original start.gcode: https://github.com/daid/Cura/blob/SteamEngine/Cura/util/profile.py#L255 Dynamic prefixing bed temperature to start.gcode: https://github.com/daid/Cura/blob/SteamEngine/Cura/util/profile.py#L1274 (M190)
We do use M140 in the end.gcode, I think M140 is the not waiting alternative of M190.
Maybe we should test this again.
M104 is the not waiting alternative of M109 to heat the nozzle.
Done in 202f36b52ce20d35cb54eb44634938bd9251bf79.
When we send a gcode line we check if the printer is changing it's target temperature. Because not all temperature info from the printer contains the target temperature. For example when sending the heatup command (usually send in start.gcode) it starts outputting in a format like
T:19.51 B:-1.00 @:0
which doesn't contain a target temperature. So we need to extract this from the gcode we send to the printer.Currently we check for
M109
andM190
but the default start.gcode uses aM140 S70
to heat up the bed and aM109 T0 S220
to heat the nozzle, both cases are not supported.