Flexible Nc Programming; Variables And Arithmetic Parameters (User-Defined Variables, Arithmetic Parameters, System Variables) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming

1.1
Variables and arithmetic parameters (user-defined variables,
1.1
arithmetic parameters, system variables)
Function
Using variables in place of constant values makes a program more flexible. You can respond
to signals such as measured values or, by storing setpoints in the variables, you can use the
same program for different geometries.
With variable calculation and jump instructions a skilled programmer is able to create a very
flexible program archive and save a lot of programming work.
Variable types
The control uses 3 classes of variable:
User-defined variables
Arithmetic variables
System variables
Variable types
Type
INT
REAL
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Name and type of variable defined by the user, e.g., arithmetic
parameter.
Special, predefined arithmetic variable whose address is R plus a
number. The predefined arithmetic variables are of the REAL type.
Variable provided by the control that can be processed in the
program (write, read). System variables provide access to zero
offsets, tool offsets, actual values, measured values on the axes,
control states, etc.
(See Appendix for the meaning of the system variables).
Meaning
Integers with leading sign
Real numbers (fractions with decimal
point, LONG REAL in acc. with IEEE)
Value range
±(2
- 1)
31
±(10
... 10
)
-300
+300
1
1-1

Advertisement

Table of Contents
loading

Table of Contents