Added M112

This commit is contained in:
Dan Nixon 2014-03-14 23:19:43 +00:00
parent 040357fd1b
commit 272072fa20
2 changed files with 4 additions and 0 deletions

View file

@ -1808,6 +1808,9 @@ void process_commands()
#endif #endif
setWatch(); setWatch();
break; break;
case 112: // M112 -Emergency Stop
kill();
break;
case 140: // M140 set bed temp case 140: // M140 set bed temp
if (code_seen('S')) setTargetBed(code_value()); if (code_seen('S')) setTargetBed(code_value());
break; break;

View file

@ -193,6 +193,7 @@ M Codes
* M107 - Fan off * M107 - Fan off
* M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating * M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
* Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling * Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
* M112 - Emergency stop
* M114 - Output current position to serial port * M114 - Output current position to serial port
* M115 - Capabilities string * M115 - Capabilities string
* M117 - display message * M117 - display message