User Tools

Site Tools


mycnc:macro_language

Macro Language

  • # - All variables in Macro language started from # symbol and have number (address) in range 0…16000. However variables address higher than 1000 are considered as System Global Variables. It's possible to read an write to Global Variables but User should understand this may change system behavior. Variables in range 1…999 are User space variables. This variables are not changer by CNC control, modifying this variables does not affect system work
  • = - Symbol = is ued to assign value to Variable
  • Operators
    • + addition
    • - subtraction
    • * multiplication
    • / division
    • % modulo
  • Logic operators
    • GT - greater than
    • GE - greater or equal than
    • LT - less than
    • LE - less or equal than
  • [] - Square brackets are used to change operation priority (instead of round brackets which are used in g-code language as Comment).
mycnc/macro_language.txt · Last modified: 2017/09/13 22:26 by skirillov