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

Show last authors
1 The list of standard M-codes includes:
2
3 (% class="relative-table wrapped" %)
4 |=(% style="text-align: center;" %)M-code|=(% style="text-align: center;" %)Description
5 |(% style="color:#8d69b2; text-align:center" %)**M0/M1**|Program pause. Pauses execution of the G-code until the Start button is pressed. It is ignored when the option “Ignore pause M1” is selected in the settings.
6 |(% style="color:#8d69b2; text-align:center" %)**M3/M4**|(((
7 Sequentially executes a set of routines:
8
9 1. search for material zero (if required by the selected mode and settings);
10 1. rises to the pierce height (or working height depending on the module);
11 1. includes a torch (ignition + heating + cutting oxygen according to the description of [[the cutting process>>doc:Руководство пользователя.Модуль газокислородной резки.Рабочий процесс.WebHome]]).
12 )))
13 |(% style="color:#8d69b2; text-align:center" %)**M5**|Turns off the cutting torch (and the heating torch, if the option "Do not disable heating according to M05" is not activated), raises the torch to a safe height.
14 |(% style="color:#8d69b2; text-align:center" %)**M100**|Performs a material search (probing) and zeroing of the Z coordinate taking into account the parameter "Probing radius".
15 |(% style="color:#8d69b2; text-align:center" %)**M101**|Initializing macro. Resets the coordinates of the last point in X and Y at which the material was searched. Performs a climb to a safe height.
16 |(% style="color:#8d69b2; text-align:center" %)**M102**|Searches for material. It is used only by clicking on the “Probing” button in the module interface. The post-processor does not insert this M-command into the G-code.
17 |(% style="color:#8d69b2; text-align:center" %)**M103**|Enables height adjustment lock Z. The macro works without delay, slowing down, or stopping axes.
18 |(% style="color:#8d69b2; text-align:center" %)**M104**|It disables the height adjustment lock Z. The macro works without delay, slowing down or stopping the movement of the axes.
19 |(% style="color:#8d69b2; text-align:center" %)**M106-М111**|System macros associated with specific buttons of the gas cutting module.
20 |(% style="color:#8d69b2; text-align:center" %)**M1000**|Macro that runs when you click the Start button.
21 |(% style="color:#8d69b2; text-align:center" %)**M1001**|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.
22
23 Range for writing custom macros: (% style="color:#8d69b2" %)**М120-М199**(%%). The range (% style="color:#8d69b2" %)**М0-М99**(%%), as well as (% style="color:#8d69b2" %)**М100-М119**(%%) is allocated for standard macros used in PUMOTIX. It is not recommended to create custom macros in this range, if necessary, you can edit existing ones.