Programming and Operating Manual (Milling)
332 6FC5398-4DP10-0BA6, 09/2017
M41 to M45 Gear stage 1 to gear stage 5
M19 Spindle positioned at 0 degree
Spindle switched to the axis mode
M... Remaining M functions Functionality is not defined by
the control system and can
therefore be used by the ma-
chine manufacturer freely
N Block number -
subblock
0 ... 9999 9999
only integer, no sign
Can be used to identify blocks
with a number; is written at the
beginning of a block
N20 ...
main block
only integer, no sign
Special block identification,
used instead of N... ; such a
block should contain all in-
structions for a complete sub-
sequent machining step.
P Number of subrou-
tine passes
1 ... 9999
only integer, no 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 ; three cycles
R0
to
R299
Arithmetic parame-
ters
± 0.0000001 ...
9999 9999
(8 decimal places)
of an exponent:
± (10
-300
... 10
+300
)
R1=7.9431 R2=4
with specification of an expo-
nent:
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)
TAN() Tangent Degrees R4=TAN(R5)
R10=ASIN(0.35) ; R10: 20.487
degrees
ACOS() Arc cosine R20=ACOS(R2) ; R20: ...
Degrees
The angle of the sum vector is
calculated from 2 vectors
standing vertically one on
another. The 2nd vector speci-
fied is always used for angle
reference.
Result in the range: -180 to
+180 degrees
R40=ATAN2(30.5,80.1) ; R40:
20.8455 degrees
TRUNC() Truncate to integer R10=TRUNC(R11)
RET Subroutine end Used instead of M2 - to main-
tain the continuous-path con-
trol mode
RET ; separate block