Restrictions

No end-of-line or end-of-string (´\0´) characters may be included in macro content. The limits the macro definition to one block.

"Macro_Move" = "X100 G01 \0"

"Macro_Move2" = "X100

                 G01"

...

M30

Macro content may not contain any control block statements ($).

"IF"     = "$IF"

"END_IF" = "$ENDIF"

P1 = 0

"IF" P1 == 0

P2 = 2

"ENDIF"

...

M30

Macro content may not contain any strong constants. However, strong functions or V.E. variables of the string type are permitted.

Recursive macro calls cause an error when the macro is executed.

"Macro_Recursive" = "G01 X100 \"Macro_Recursive\""

...

M30