The SYNTEC OpenCNC MACRO user manual explains file formats, command syntax, functions, and macro customization for version 9.40.
This manual introduces the SYNTEC OpenCNC MACRO development tool, providing guidance for creating and editing macro programs that extend CNC controller capabilities. It covers the required file header, supported operators, control structures, and how to integrate custom alarm and prompt features.
The document is organized into sections on file format, block command syntax, operators, detailed syntax rules, function listings, sub‑routine calls, variable specifications, extended G‑code usage, macro alarm and prompt customization, and an appendix with examples and XML data handling instructions. This manual is written in Chinese.
| Version | 9.40 |
|---|
The first line must start with ‘%’ and include the keyword ‘@MACRO’ to be recognized as a macro file.
Use DBOPEN to load the XML file and DBLOAD to read its contents within the macro.
The format is "/ N G X Y Z A B C I J K F S T D M" where each letter represents a specific axis or function.