Doodle3D / print3d

The application that runs on a Doodle3D WiFi box that communicates with printers.
www.doodle3d.com
GNU General Public License v2.0
13 stars 4 forks source link

Bed heatup gcode command is not detected #10

Closed peteruithoven closed 9 years ago

peteruithoven commented 9 years ago

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 and M190 but the default start.gcode uses a M140 S70 to heat up the bed and a M109 T0 S220 to heat the nozzle, both cases are not supported.

peteruithoven commented 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.

peteruithoven commented 9 years ago

M104 is the not waiting alternative of M109 to heat the nozzle.

woutgg commented 9 years ago

Done in 202f36b52ce20d35cb54eb44634938bd9251bf79.