Browse Source

Added M112

Dan Nixon 11 years ago
parent
commit
272072fa20
2 changed files with 4 additions and 0 deletions
  1. 3
    0
      Marlin/Marlin_main.cpp
  2. 1
    0
      README.md

+ 3
- 0
Marlin/Marlin_main.cpp View File

1808
 #endif
1808
 #endif
1809
       setWatch();
1809
       setWatch();
1810
       break;
1810
       break;
1811
+    case 112: //  M112 -Emergency Stop
1812
+      kill();
1813
+      break;
1811
     case 140: // M140 set bed temp
1814
     case 140: // M140 set bed temp
1812
       if (code_seen('S')) setTargetBed(code_value());
1815
       if (code_seen('S')) setTargetBed(code_value());
1813
       break;
1816
       break;

+ 1
- 0
README.md View File

193
 *  M107 - Fan off
193
 *  M107 - Fan off
194
 *  M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
194
 *  M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
195
 *         Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
195
 *         Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
196
+*  M112 - Emergency stop
196
 *  M114 - Output current position to serial port
197
 *  M114 - Output current position to serial port
197
 *  M115 - Capabilities string
198
 *  M115 - Capabilities string
198
 *  M117 - display message
199
 *  M117 - display message

Loading…
Cancel
Save