Skip to content

Prevent heating after Stop() is called#2788

Open
awenelo wants to merge 2 commits into
prusa3d:MK3from
awenelo:no-preheat-in-error
Open

Prevent heating after Stop() is called#2788
awenelo wants to merge 2 commits into
prusa3d:MK3from
awenelo:no-preheat-in-error

Conversation

@awenelo

@awenelo awenelo commented Aug 2, 2020

Copy link
Copy Markdown
Contributor

Check IsStopped() before setting temperatures. This is an alternative to #2609 and fixes #2605.

Additions:

  • Check IsStopped() before heating, don't heat if true

  • If the Gcode M104, M109, M140 or M190 is called and IsStopped() is true, we don't set temperature, and send Hotend/Bed temperature not set because Stop() has been called. Use M999 to reset and try again. over serial.

  • Don't show menu items that cause heating if IsStopped() is true

    • Preheat
    • Print from SD
    • Load filament
    • Unload filament
    • Settings > Temperature

Checks IsStopped() before heating

If M104, M109, M140 or M190 is called, we don't set temperature, and sends "Hotend/Bed temperature not set because Stop() has been called. Use M999 to reset and try again." over serial.

Removes menu items that cause heating if IsStopped():
Preheat
Print from SD
Load filament
Unload filament
Settings > Temperature
@ghost
ghost force-pushed the no-preheat-in-error branch 2 times, most recently from 84c73aa to 3db242b Compare August 7, 2020 12:43
@awenelo
awenelo force-pushed the no-preheat-in-error branch from 931ea7b to 3db242b Compare September 23, 2020 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Autoload procedure can trigger during mintemp

1 participant