Turn off heaters on print cancellaton

I found out the heaters stay on after cancelling a print.

Personally, I want the printer to power off after I cancel a print. I might cancel it remote when I see there is something wrong.

I added the following GCODE in printer setup --> GCODES --> Event dependent  -> Run if job is aborted.

G91; Use Relative Coordinates
G1 Z10 ; raise Z 10mm
G90; Use Absolute Coordinates

M104 S0 ; make sure the extuder is turned off.
M140 S0 ; make sure the bed is turned off.
M84 ; shut down motors.
M81 ;power off

Comments

  • Make sure to have a space before semicolon. A bug in versions < 0.70 makes the server otherwise ignore the command.
Sign In or Register to comment.