Predefined User Variables: Channel-Specific Arithmetic Parameters (R) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
3.1.1.2

Predefined user variables: Channel-specific arithmetic parameters (R)

Channel-specific 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. R[10], and without array index, e.g. R10, is permitted for R parameters.
When using synchronized actions, the $ sign must be included as a prefix, e.g. $R10.
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>:
392
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:
REAL
Range of values: 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
Note:
● Notation: <Mantissa>EX<Exponent> e.g. 8.2EX-3
● A maximum of 10 characters are permitted including sign
and decimal point.
Number of the R parameter
Type:
INT
Range of values: 0 - MAX_INDEX
Note
MAX_INDEX is calculated from the parameterized number of R-
parameters:
MAX_INDEX = (MD28050 $MN_MM_NUM_R_PARAM) - 1
Array index
Any expression can be used as an array index, as long as the result of the expres‐
sion can be converted to the INT data type (INT, REAL, BOOL, CHAR).
... 1*10
)
-300
+300
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents