R Parameters; Machine And Setting Data - Siemens SINUMERIK 840Di sl Function Manual

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Detailed description
2.3 Special real-time variables for synchronized actions
2.3.4

R parameters

Application in synchronized actions
By programming the $ sign in front of R parameters, they can also be used in synchronized
actions. The field variables $R[n] or $Rn are used for calculations in synchronized actions
R[n] or Rn is used for calculations in part program, which are stored battery-backed in the
static memory. Therefore, R parameters retain their values after end of program, RESET, or
POWER ON.
Example
Import measured value in the R-parameter
WHEN $AC_MEA== 1 DO $R10= $AA_MM[Y]
; if valid measurement is present, import measured value in R-parameter.
Definition
Data type REAL
n: Number of the field variable
Example
Evaluation of the R-parameter
WHEN $A_IN[1] == 1 DO $R10 = $AA_IM[Y]
G1 X100 F150
STOPRE
IF R10 > 50 .... ; Evaluation of the R-parameter.
2.3.5

Machine and setting data

Reading and writing MD, SD
It is also possible to read and write machine data and setting data from synchronized
actions.
possible. Access must be differentiated according to the following criteria:
MD, SD that remain unchanged during machining and
MD, SD, whose settings change during machining.
32
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
Synchronized actions

Advertisement

Table of Contents
loading

Table of Contents