SYNTEC OpenCNC MACRO User Manual

The SYNTEC OpenCNC MACRO user manual explains file formats, command syntax, functions, and macro customization for version 9.40.


SYNTEC OpenCNC MACRO User Manual - cover page
Brand
Syntec
Category
Automation control Equipment
Document type
User Manual
Language
Chinese
Pages
57
File format
PDF
File size
1.1 MB
Published
03 October, 2026
Updated
03 October, 2026
MD5 checksum
640394CEFF41079FC483DEA32C35F5A3

About this manual

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.

What's inside

  • Introduction
  • File Format
  • Command Format
  • Operators
  • Syntax Description
  • Functions Listing
  • Subroutine Call
  • Variable Specification
  • Extended G‑code Usage
  • Macro Custom Alarm

Specifications

Version9.40

Frequently asked questions

How should a macro file be declared?

The first line must start with ‘%’ and include the keyword ‘@MACRO’ to be recognized as a macro file.

Which functions are used to read XML data in a macro?

Use DBOPEN to load the XML file and DBLOAD to read its contents within the macro.

What is the block command format for a single‑line action?

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.

Download PDF (1.1 MB)

More Syntec Manuals


View all Syntec manuals →