R Parameters ($R) - Siemens SINUMERIK 828D Function Manual

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

Advertisement

Detailed description
2.3 System variables for synchronized actions
2.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:
MD28254 $MC_MM_NUM_AC_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
Program code
WHEN $A_IN[1]==1 DO $R[10]=$AA_IM[Y]
G1 X100 F150
STOPRE
IF R[10] > 50 ...
26
REAL
Array index: 0, 1, 2, ...
Number of the R parameter: 0, 1, 2, ...
Comment
; Assignment
; Evaluation in the part program
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents