Access To R Parameters $Rxx - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

12.97
10
840D
NCU 572
NCU 573

10.3.4 Access to R parameters $Rxx

Function
Data type: REAL
These static variables are used for calculations in
the part program etc. They can be addressed in the
interpolation cycle by appending $.
Examples:
WHEN $AA_IM[X]>=40.5 DO $R10=$AA_MM[Y]
WHEN $AA_IM[X]>=6.7 DO $R[$AC_MARKER[1]]=30.6
Notes
Application:
The use of R parameters in synchronized actions
permits
• Storage of values that you want to retain beyond
the end of program, NC reset, and Power On.
• Display of stored value in the R parameter display
• Archiving of values determined for synchronized
actions
The R parameters must be used either as "normal"
arithmetic variables Rxx or as real-time variables $Rxx.
If you want the R parameter to be used as a
"normal" arithmetic variable again after it has been
used in a synchronized action, make sure that the
preprocessing stop is programmed explicitly with
STOPRE for synchronization of preprocessing and
the main run.
Example:
WHEN $AA_IM[X]>=40.5 DO $R10=$AA_MM[Y]
G01 X500 Y70 F1000
STOPRE
IF R10>20
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10.3 Special real-time variables for synchronized actions
810D
840Di
CCU2
Motion-Synchronous Action
Write access to the R parameter 10.
; Read access to the R parameter whose
number is given in flag 1
Use of R10 in synchronized actions
Preprocessing stop
Evaluation of the arithmetic variable
10
10-355

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents