Command Reference
Operation Available operations:
Operator Code
* 6
/ 7
MOD 8
+ 9
- 10
AND 13
XOR 14
OR 15
Serial
1 U
Value Long type.
Serial
4 V
Example LABEL 1
SET_VAR Var_01 8192
MATH ECAM_Shift = Actual_position_registration / Var_01
ECAM_ENGAGE 1 Non Cyclic
END
Example
Explanation
The ECAM_SHIFT variable is calculated by dividing the
Actual_position_registration by the value of Var_01. For example,
if Actual_position_registration is 19300, ECAM_SHIFT will be set to
2, since 19300 / 8192 = 2.36 and only the integer part is
considered.
See Also SET_VAR
138 XtraWare User Manual