User Tools

Site Tools


mycnc:macro_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mycnc:macro_language [2020/02/18 14:08] ivanmycnc:macro_language [2022/03/29 16:15] (current) ivan
Line 1: Line 1:
 ===== Macro Language ===== ===== Macro Language =====
 +
 +A video recap of this manual is available on our YouTube channel:
 +
 +{{youtube>MHS8w3Wk6kM?large}}
  
   * **#** - 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   * **#** - 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
Line 77: Line 81:
 G10 L80 P7391 Q0 (Homing Flag) G10 L80 P7391 Q0 (Homing Flag)
 </code> </code>
 +//
 +Quick note: in system macros (especially in which coordinates are reassigned and/or reset), G0 positioning codes must be used.//
 +
 ==== Repeat Test ==== ==== Repeat Test ====
  
Line 99: Line 106:
 if [ #10 LT 100 ] 20 (Repeat 100 times) if [ #10 LT 100 ] 20 (Repeat 100 times)
 </code> </code>
- 
  
  
mycnc/macro_language.1582052890.txt.gz · Last modified: 2020/02/18 14:08 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki