Siemens sinumerik 808d Programming And Operating Manual page 86

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

Advertisement

Programming principles
1.9 Arithmetic parameters, LUD and PLC variables
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
The value of the exponent is written after the EX characters; maximum total number of
characters: 10 (including leading signs and decimal point)
Range of values for EX: -300 to +300
Example:
R0=-0.1EX-5
R1=1.874EX8
Note
There can be several assignments in one block incl. assignments of arithmetic expressions.
Assignments to other addresses
The flexibility of an NC program lies in assigning these arithmetic parameters or expressions
with arithmetic parameters to other NC addresses. Values, arithmetic expressions and
arithmetic parameters can be assigned to all addresses; Exception: addresses N, G, and L.
When assigning, write the " = " sign after the address character. It is also possible to have an
assignment with a minus sign.
A separate block is required for assignments to axis addresses (traversing instructions).
Example:
N10 G0 X=R2
Arithmetic operations/arithmetic functions
When operators/arithmetic functions are used, it is imperative to use conventional
mathematical notation. Machining priorities are set with round brackets. Otherwise,
multiplication and division take precedence over addition and subtraction.
Degrees are used for the trigonometrical functions.
86
... 10
)
-300
+300
;Meaning: R0 = -0.000 001
;Meaning: R1 = 187 400 000
;Assignment to X axis
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0

Advertisement

Table of Contents
loading

Table of Contents