Arithmetic Parameters R, Lud And Plc Variables - Siemens sinumerik 802d sl Operation And Programming Manual

Hide thumbs Also See for sinumerik 802d sl:
Table of Contents

Advertisement

8.7

Arithmetic parameters R, LUD and PLC variables

8.7.1
Arithmetic parameters R
Functionality
The arithmetic parameters are used if an NC program is not only to be valid for values as-
signed once, or if you must calculate values. The required values can be set or calculated
by the control system during program execution.
The arithmetic parameter values can also be set by operator inputs. If values have been as-
signed to the arithmetic parameters, they can be assigned to other NC addresses in the pro-
gram with variable values.
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 and leading 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
The value of the exponent is written after the EX characters; maximum total number of char-
acters: 10 (including the leading sign and decimal point)
Value range of EX: –300 to +300
Example:
R0=–0.1EX–5
R1=1.874EX8
Remark: There can be several assignments in one block incl. assignments of arithmetic ex-
pressions.
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
; Assign values to the arithmetic parameters
; Indirect programming: Assign the arithmetic parameter R whose
number is to be found, e.g. in R0 a value
; Assign the NC addresses an arithmetic parameter, e.g. the X axis
–300
+300
... 10
).
8.7
Arithmetic parameters R, LUD and PLC variables
; Meaning: R0 = –0.000 001
; Meaning: R1 = 187 400 000
Programming
8-175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents