6.1.7 Macro with Better Readability and Understandability


In order to make the use of Macro more readable, Intek simplifies the calculations. Here is an example to illustrate:


Example 1:


Old version:

#5=SIN(#20)

#6=COS(#20)

G00 X#5 Y#6


New version:

G00 X( SIN(#20) ) Y( COS(#20) )


Example 2:


Old version:

#10=#5-#6

IF #10 P100


New version:

IF (#5-#6) P100


Note:

In this Macro application, the sentence pattern of Macro syntax must be written between "(...)".