Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
263
Address
Significance
Value assignments Information
Programming
L
Subroutine; name
and call
7 decimals;
integer only, no sign
Instead of a free name, it is
also possible to select L1
...L9999999;
this also calls the subroutine
(UP) in a separate block.
Please note: L0001 is not
always equal to L1.
The name "LL6" is reserved
for the tool change subroutine.
L781; separate block
M
Additional function
0 ... 99
only integer, no sign
For example, for initiating
switching actions, such as
"coolant ON", maximum five M
functions per block.
M...
M0
Programmed stop
The machining is stopped at
the end of a block containing
M0; to continue, press the
following key:
M1
Optional stop
As with M0, but the stop is
only performed if a special
signal (Program control:
"M01") is present.
M2
End of main program with return to
beginning of program
Can be found in the last block
of the processing sequence
M30
End of program (as M2)
Can be found in the last block
of the processing sequence
M17
End of subroutine
Can be found in the last block
of the processing sequence
M3
CW rotation of spindle
M4
CCW rotation of spindle
M5
Spindle stop
M6
Tool change
Only if activated with M6 via
the machine control panel;
otherwise, change directly
using the T command
M40
Automatic gear stage changeover
M41 to M45 Gear stage 1 to gear stage 5
M70, M19
-
Reserved; do not use
M...
Remaining M functions
Functionality is not defined by
the control system and can
therefore be used by the
machine 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 ...
:
Block number of a
main block
0 ... 9999 9999
only integer, no 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 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