Arithmetic Parameters (R Variables), Lud And Plc Variables; Arithmetic Parameter R - Siemens SINUMERIK 802D sl Programming And Operating Manual

Surface grinding
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Note
In addition to M and H functions, T, D, and S functions can also be transferred to the PLC
(programmable logic controller). In all, a maximum of 10 function outputs of this type are
possible in a part program block.
10.9

Arithmetic parameters (R variables), LUD and PLC variables

10.9.1

Arithmetic parameter R

Functionality
The arithmetic parameters are used if an NC program is not only to be valid for values
assigned once, or if you must calculate values. The required values can be set or calculated
by the control system during program execution.
Another possibility consists of setting the arithmetic parameter values by operator inputs. If
values have been assigned to the arithmetic parameters, they can be assigned to other
variable-setting NC addresses in the program.
Programming
R0=... to R299=...
R[R0]=...
X=R0
Value assignments
You can assign values in the following range to the R parameters:
±(0.000 0001 ... 9999 9999)
(8 decimal places, arithmetic sign, and decimal point)
The decimal point can be omitted for integer values. A plus sign can always be omitted.
Example:
R0=3.5678 R1=-37.3 R2=2 R3=-7 R4=-45678.123
Use the exponential notation to assign an extended range of numbers:
± (10
Surface grinding
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
10.9 Arithmetic parameters (R variables), LUD and PLC variables
;Assign values to the arithmetic parameters
;Indirect programming: Assign a value to the arithmetic parameter R,
whose number can be found, e.g. in R0
;Assign arithmetic parameters to the NC addresses, e.g. for the X axis
... 10
)
-300
+300
Programming
275

Advertisement

Table of Contents
loading

Table of Contents