Command Reference
Example
Explanation
The program has two nesting levels:
First level: Loop_2 and Loop_3.
Second level: Loop1.
Ten movements to the positive side will occur (first loop marked by
LABEL 2), then ten to the negative side (second loop marked by
LABEL 3). The two sets of movements will be repeated 5 times
(2nd
nesting level that contains the two 1st nesting level loops).
See Also LABEL
MATH
Table explanation
Group Variables
Syntax MATH <Result> <R Operator> <Variable> <Operation> <Value>
Op. Code 134
Modes Immediate; Sequential; Program
Description Sets the value of the specified <variable> to the result of a
mathematical operation on two elements. If the result is a fraction,
it will be rounded downward to the nearest integer.
Result The result of the calculation will be
stored in the <Result> variable. Any of
the read/write system variables can be
specified. See Chapter
9, List of System
Variables.
Serial
1 U
R Operator Operator:
Operator Code
= 18
Serial
1 U
Syntax
Arguments
Variable
Can be an integer number or any of the
system variables. See Chapter
9, List of
System Variables.
Serial
1 U
XtraWare User Manual 137