Dan Nixon 11 gadus atpakaļ
vecāks
revīzija
272072fa20
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 3
    0
      Marlin/Marlin_main.cpp
  2. 1
    0
      README.md

+ 3
- 0
Marlin/Marlin_main.cpp Parādīt failu

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

+ 1
- 0
README.md Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt