Siemens SINUMERIK 802D sl Programming And Operating Manual page 40

Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Programming
3.1 Fundamental Principles of NC Programming
Address
Meaning
Mn=3
CW rotation of spindle (for spindle n)
Mn=4
CCW rotation of spindle (for spindle n)
Mn=5
Spindle stop (for spindle n)
M6
Tool change
M40
Automatic gear stage switching
(for master spindle)
Mn=40
Automatic gear stage switching
(for spindle n)
M41 to M45
Gear stage 1 to
gear stage 5 (for master spindle)
Mn=41 to
Gear stage 1 to
Mn=45
gear stage 5 (for spindle n)
M70, M19
-
M...
Remaining M functions
N
Block number - sub-
block
:
Block number of a
main block
P
Number of subrouti-
ne passes
R0
Arithmetic parame-
to
ters
R299
Arithmetic functions
SIN( )
sinusoidal
COS()
Cosine
TAN()
Tangent
3-10
Value assignments
Information
n = 1 or = 2
n = 1 or = 2
n = 1 or = 2
Only if activated with M6 via the
machine control panel; other-
wise, change directly using the
T command
n = 1 or = 2
n = 1 or = 2
Reserved; do not use
Functionality is not defined by
the control system and can
therefore be used freely by the
machine manufacturer
0 ... 9999 9999
Can be used to identify blocks
0 ... 9, only integer,
with a number;
no sign
is written in the beginning of a
block
0 ... 9999 9999
Special block identification,
0 ... 9, only integer,
used instead of N... ; such a
no sign
block should contain all instruc-
tions for a complete subsequent
machining step.
1 ... 9999
Is used if the subroutine is run
0 ... 9, only integer,
several times and is contained
no sign
in the same block as the call
± 0.0000001 ...
9999 9999
(8 decimal places)
or with specification
of an exponent:
± (10-300 ...
10+300 )
In addition to the 4 basic arith-
metic functions using the oper-
ands + - * /, there are the fol-
lowing arithmetic functions:
Degrees
Degrees
Degrees
Programming and Operating manual, 06/2006, 6FC5398-4CP10-0BA0
Programming
M2=3 ; CW rotation stop for
spindle 2
M2=4 ; CCW rotation stop for
spindle 2
M2=5 ; Spindle stop for spin-
dle 2
M1=40 ; automatic gear
stage
; for spindle 1
M2=41; 1st gear stage for
spindle 2
N20
:20
L781 P... ;separate block
N10 L871 P3 ; three cycles
R1=7.9431 R2=4
with specification of an ex-
ponent:
R1=-1.9876EX9; R1=-1 987
600 000
R1=SIN(17.35)
R2=COS(R3)
R4=TAN(R5)
Grinding

Advertisement

Table of Contents
loading

Table of Contents