Download Print this page

Siemens Sinumerik 840D Operating Turning page 124

Hide thumbs Also See for Sinumerik 840D:

Advertisement

Section 4
Notes
B509
B509
Calculation variables R
Calculation variables provide a large number of means for flexible pro-
gramming of the numerical values of instructions.
In the program no actual values are assigned to the addresses; instead
variables numbers are assigned to which the respective values have been
assigned previously.
Exception:
The addresses "N", "G" and "L" can be programmed with an
"R variable".
Normally the variables "R0" to "R99" are available.
Specific control units may also be provided with the means for a greater
number.
The "R variables" can be assigned with values in the range of 8 places and
the decimal point as well as a sign.
Example: ± 0.000 0001 to ± 9999 9999
The value assignment to the variables can be achieved manually in the
variable list, automatically in the program or by programmed calculation
operations.
In the following editor extracts the two variants of programming the ad-
dress values can be compared.
Addresses directly with values:
N10 G18 G54 G64 LIMS=3000
N20 G00 X200 Z300
N30 T1;
Roughing tool
N40 G96 S160 F0.2 M4 D1
N50 G00 X82 Z0 M8
N60 G01 X-1.6
N70 Z3
N80 G00 X80;
Raw dimension
N90 LBL12:
N100 G00 G42 X=IC(-4) Z1
N110 G01 Z-20
N120 X=IC(6)
N130 G00 G40 Z4
N140 G01 X=IC(-6)
N150 EBE12:
N160 G00 X200 Z300
Hint:
The respective numerical values that have been assigned to the variables
"R0" to "R11" will be found in the variable list on the following page.
Page 8
Indirect address values by means
of "R variables":
N10 G18 G54 G64 LIMS=3000
N20 G00 X=R1 Z=R2
N30 T1;
Roughing tool
N40 G96 S=R10 F=R11 M4 D1
N50 G00 X=R3+2 Z=R0 M8
N60 G01 X-1.6
N70 Z3
N80 G00 X=R3; Raw dimension
N90 LBL12:
N100 G00 G42 X=IC(R4) Z1
N110 G01 Z=R5
N120 X=IC(R6)
N130 G00 G40 Z4
N140 G01 X=IC(-R6)
N150 EBE12:
N160 G00 X=R1 Z=R2
840D/828D SINUMERIK Operate

Advertisement

loading

This manual is also suitable for:

Sinumerik 828d