Last modified by writer on 2023/02/09 19:19

Show last authors
1 The list of basic M-codes using in the Milling module.
2
3 (% class="wrapped" %)
4 |=(% style="text-align: center; width: 100px;" %)(% style="text-align:center" %)M-Code|=(% colspan="1" style="width: 150px;" %)(% style="text-align:center" %)Editing possible|=Description
5 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M0/M1**|(% style="text-align:center" %)no|Program pause. Pauses execution of the G code until the Start button is pressed.
6 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M3/M4**|(% style="text-align:center" %)yes|Switching spindle ON
7 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M5**|(% style="text-align:center" %)yes|Switching spindle OFF
8 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M6**|(% style="text-align:center" %) |Tool change command. [[More details...>>doc:Руководство пользователя.Ответы на типовые вопросы.Как работать со сменой инструмента?.WebHome]]
9 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M7**|(% style="text-align:center" %)no|Activating mist cooling.
10 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M8**|(% style="text-align:center" %)no|Activating flood cooling.
11 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M9**|(% style="text-align:center" %)no|Turn off cooling.
12 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M10**|(% style="text-align:center" %)no|Command to enable general purpose output. The output number is determined by parameter P. For example, (% style="color:#8d69b2" %)**M10**(%%)** P0** - enable UserOutput_0. The commands works without delay, slowdown or stop moving axes.
13 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M11**|(% style="text-align:center" %)no|Command to disable general purpose output. The output number is determined by parameter P. For example, (% style="color:#8d69b2" %)**M11**(%%)** P5** - shutdown UserOutput_5. The command works without delays, slowing down or stopping the movement of the axes.
14 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M30**|(% style="text-align:center" %)no|End of program.
15 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M94**|(% style="text-align:center" %)no|Command to set the workpiece diameter. Diameter value in determined by parameter P. For example, (% style="color:#8d69b2" %)**M94**(%%)** P15** - setting the diameter value 15 units (depends on the units selected in the program and G-code).
16 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M114**|(% style="text-align:center" %)yes|Macro search home. It is performed when you click on the button "Send to home and reset."
17 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M115**|(% style="text-align:center" %)yes|Macro probing. The direction of probing is passed as a parameter. [[More details...>>doc:Руководство пользователя.Особенности функционирования системы.Пробинг.WebHome]]
18 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M116**|(% style="text-align:center" %)yes|Move to safe Z height.
19 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M1000**|(% style="text-align:center" %)yes|Macro that runs when you click the Start button.
20 |(% style="text-align:center" %)(% style="color:#8d69b2" %)**M1001**|(% style="text-align:center" %)yes|A macro that is executed when the Stop button is pressed during the execution of the G-code and at the end of the execution of the G-code.