Programming
8-130
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
Address ProgrammingInformationValue assignmentsMeaning
M0 Programmed stop The machining is stopped at the end of a block
containing M0; to continue, press NC START.
M1 Optional stop As with M0, but the stop is only performed if a special
signal (Program control: “M01”) is present.
M2 End of program Can be found in the last block of the processing
sequence
M30 – Reserved; do not use
M17 – Reserved; do not use
M6 Tool change Only if activated with M6 via the machine control
panel; otherwise, change directly using the T
command
M70, M19 – Reserved; do not use
M... Remaining M functions Functionality is not defined by the control system and
can therefore be used freely by the machine
manufacturer
N Block number – subblock 0 ... 9999 9999
only integer, without sign
Can be used to identify blocks with a number;
is written in the beginning of a block
N20 ...
: Block number of a main
block
0 ... 9999 9999
only integer, without sign
Special block identification, used instead of N... ; such
a block should contain all instructions for a complete
subsequent machining step.
:20 ...
P Number of subroutine
cycles
1 ... 9999
only integer, without sign
Is used if the subroutine is run several times and is
contained in the same block as the call
N10 L781 P... ; Separate block
N10 L871 P3 ; Run three times
R0
to
R299
Arithmetic parameters 0.0000001 ...
9999 9999
(8 decimals) or with
specification of an
exponent:
(10
–300
... 10
+300
)
R1=7.9431 R2=4
with specification of an exponent:
R1=–1.9876EX9 ; R1=–1 987 600 000
Arithmetic functions In addition to the 4 basic arithmetic functions using the
operands + – * /, there are the following
arithmetic functions:
SIN( ) Sine Degrees R1=SIN(17.35)
COS() Cosine Degrees R2=COS(R3)
TAN() Tangent Degrees R4=TAN(R5)
ASIN() Arc sine R10=ASIN(0.35) ; R10: 20.487 degrees
ACOS() Arc cosine R20=ACOS(R2) ; R20: ... Degrees