Temperatures not turning off after cancel

What is the problem?
After cancelling a print, the extruder and bed heaters do not turn off.
The "After print job is cancelled" GCode script contains

G1 Z300 F4000
G1 X00 Y270 F12000
M104 s0
M140 s0

This used to work. Not sure what happened.

What did you already try to solve it?
Not sure what else to try, I added the two temperature GCode commands, as follows:

M104 s0
M140 s0
G1 Z300 F4000
G1 X00 Y270 F12000
M104 s0
M140 s0

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

Octoprint 1.3.10. Upgraded to 1.3.11 this morning.
OctoPi version : 0.16.0
Hypercube Evolution, Smoothieware on MKS SBASE

Attached is a plot showing the temperature. The first and second drop in target temperature were when I cancelled the print (~1 minute into a 2 minute print). The third target temorature drops were when I manually set temperature to OFF.

Octoprint.log follows:

octoprint.log (418.4 KB)

Hi @lar3ry!

Try with capital "S" in the command line:
https://reprap.org/wiki/G-code#Case_sensitivity

1 Like

Of course! Now and again, I forget that Octoprint only changes case in some places, and not in the GCode scripts.

Thanks!