R Parameters ($R) - Siemens SINUMERIK 840D sl Function Manual

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Detailed description
3.3 System variables for synchronized actions
3.3.6

R parameters ($R)

Whether R parameters are treated as preprocessing or main run variables depends on whether
they are written with or without $ characters. In principle, the notation is freely selectable. For
use in synchronized actions, R parameters should be used as main run variables, i.e. with $
characters:
● $R[<index>]
● $R<number>
Data type:
<Index>:
<Number>:
The notations with index or number are equivalent.
Parameterizable number per channel
The maximum number of R parameters per channel can be set via the machine data:
MD28050 $MC_MM_NUM_R_PARAM = <maximum number>
Reset behavior
R parameters are saved persistently in the static memory of the NC. Therefore, R parameters
retain their values with all reset types:
● Power on reset
● NC reset
● End of part program reset
Example
Value assignment to R10 in the action part of the synchronized action and subsequent
evaluation in the part program
WHEN $A_IN[1]==1 DO $R[10]=$AA_IM[Y] ; assignment
G1 X100 F150
STOPRE
IF R[10] > 50 ... ; evaluation in the part program
28
REAL
Array index: 0, 1, 2, ...
Number of the R parameter: 0, 1, 2, ...
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Synchronized actions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents