Wiki source code of 12. Описание M-кодов
Last modified by writer on 2022/08/18 19:01
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | PUMOTIX supports the execution of macros (M-codes) directly from the control program. There is support for standard and custom macros(% style="color:#333333" %) ([[on how to write macros>>doc:Руководство пользователя.Ответы на типовые вопросы.Как создать пользовательский макрос?.WebHome]](%%))(% style="letter-spacing:0.0px" %). | ||
| 2 | |||
| 3 | In PUMOTIX, macros are written in the Lua language and are called from a G-code or a manual G-code input line using M-codes. Each macro is stored in its own file with the extension ***.pm**. The contents of the file can be accessed through the [["Macros and Background Operations Manager">>doc:Руководство пользователя.Описание M-кодов.Управление макросами и фоновыми операциями.WebHome]]. | ||
| 4 | |||
| 5 | For custom macros, the (% style="color:#8d69b2" %)**M120**(%%) to (% style="color:#8d69b2" %)**M199**(%%) range of M-codes is available. At the same time, the range (% style="color:#8d69b2" %)**M0 – M99**(%%), as well as (% style="color:#8d69b2" %)**M100 – M119**(%%) is allocated for standard macros used in PUMOTIX (it is not recommended to create your own macros in this range, but you can edit existing ones if necessary). | ||
| 6 | |||
| 7 | ====== Detailed description of macros: ====== | ||
| 8 | |||
| 9 | {{documentTree root="document:xwiki:Руководство пользователя.Описание M-кодов.WebHome" compact="true" showTranslations="false" showAttachments="false"/}} |