2 goto and if-goto commands, Unconditional goto – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual
Page 708

Paramacros
Chapter 28
28-8
Program a condition between the [ and ] brackets in this format:
[A EQ B]
where A and B represent some numerical value. The values for A and B
can be in the form of some mathematical equation or in the form of a
paramacro parameter.
Example 28.6
Evaluation of Conditional Expressions
Expression
Evaluation
[6.03 EQ 6.0301]
FALSE
[6.03 NE 6.0301]
TRUE
[2.5 GT 2.5]
FALSE
[2.5 LT 2.51]
TRUE
[2.51 GE 2.5]
TRUE
[2.5 LE 2.5]
TRUE
[[2.5-3] LE 1]
TRUE
[#1 GT #2]
This depends on the value of the parameters #1 and #2
For details on the use of conditional expressions, refer to page 28-9 on
“IF” statements and page 28-10 on “WHILE” statements. For details on
the use of paramacro parameters, refer to page 28-12.
Unconditional GOTO
Any time the control executes a GOTO block, the unconditional GOTO
command automatically transfers control.
Use this format for the GOTO command:
GOTO n;
Where :
Is:
n
Execution is transferred to the block with the sequence number specified as n
any time that the GOTO block is executed.
28.3.2
GOTO and IF-GOTO
Commands