Flexible NC programming
1.1 Variables
1.1.2
Predefined user variables: Arithmetic parameters (R)
Function
Arithmetic parameters or R parameters are predefined user variables with the designation R,
defined as an array of the REAL data type. For historical reasons, notation both with array
index, e.g.
When using synchronized actions, the $ sign must be included as a prefix, e.g.
Syntax
When used as a preprocessing variable:
R<n>
R[<expression>]
When used as a main run variable:
$R<n>
$R[<expression>]
Meaning
:
R
:
$R
<n>
<expression>
20
, and without array index, e.g.
R[10]
Identifier when used as a preprocessing variable, e.g. in the part program
Identifier when used as a main run variable, e.g. in synchronized actions
Type:
Range of values:
:
Number of the R parameter
Type:
Range of values:
:
Array index
Any expression can be used as an array index, as long as the result of the
expression can be converted to the INT data type (INT, REAL, BOOL,
CHAR).
, is permitted for R parameters.
R10
REAL
For a non-exponential notation:
± (0.000 0001 ... 9999 9999)
Note:
A maximum of 8 decimal places are permitted.
For an exponential notation:
± (1*10
... 1*10
)
-300
+300
Note:
Notation: <Mantisse>EX<exponent> e.g. 8.2EX-3
A maximum of 10 characters are permitted including
sign and decimal point.
INT
0 - MAX_INDEX
Note
MAX_INDEX is calculated from the parameterized number
of R-parameters:
MAX_INDEX = (MD28050 $MN_MM_NUM_R_PARAM) - 1
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
.
$R10
Job Planning