Arithmetic Parameters And Program Jumps - Siemens SINUMERIK 840DE Programming Manual

Hide thumbs Also See for SINUMERIK 840DE:
Table of Contents

Advertisement

Arithmetic Parameters and Program Jumps

10.1 Arithmetic parameter (R)
Example of assignment of axis values
N10 G1 G91 X=R1 Z=R2 F300
N20 Z=R3
N30 X=-R4
N40 Z=-R5
...
Value assignments
You can assign values in the following range to the arithmetic 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 positive leading sign can always be omitted.
Example:
R0=3.5678 R1=-37.3 R2=2 R3=-7
R4=-45678.1234
It is possible to assign an extended numerical range by using exponential notation:
Example:
± (10
The value of the exponent is written after the EX characters; maximum total number of
characters: 10 (including leading signs and decimal point)
Value range of EX: -300 to +300
Example:
R0=-0.1EX-5 ;Meaning: R0 = -0.000 001
R1=1.874EX8 ;Meaning: R1 = 187 400 000
Notes:
• There can be several assignments in one block incl. assignments of expressions.
• Value assignment must be in a separate block.
10-2
... 10
)
-300
+300
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents