Detailed description
2.1 Predefined auxiliary functions
Predefined auxiliary functions
System function
Index n (index for the machine data of the parameters of an auxiliary function)
Stop
0
Conditional stop
1
End of subroutine
2
3
4
Tool change
5
Spindle right
6
Spindle left
7
Spindle stop
8
Position spindle
9
Axis mode
10
Automatic gear stage
11
Gear stage 1
12
Gear stage 2
13
Gear stage 3
14
Gear stage 4
15
Gear stage 5
16
Spindle speed
17
Feed
18
Cutting edge
19
selection
DL
20
Tool selection
21
Stop (associated)
22
Conditional stop
23
(associated)
End of subroutine
24
Nibbling
25
Nibbling
26
Nibbling
27
Nibbling
28
Nibbling
29
Nibbling
30
16
Type: MD22050 $MC_AUXFU_PREDEF_TYPE[ n ]
Address extension: MD22060 $MC_AUXFU_PREDEF_EXTENSION[ n ]
Value: MD22070 $MC_AUXFU_PREDEF_VALUE[ n ]
Group: MD22040 $MC_AUXFU_PREDEF_GROUP[ n ]
M
0
0
1
M
0
1
1
M
0
2
1
M
0
17
1
M
0
30
1
M
(1)
6
(1)
1)
M
(1)
3
(2)
M
(1)
4
(2)
M
(1)
5
(2)
M
(1)
19
(2)
M
(1)
70
(2)
2)
M
(1)
40
(4)
M
(1)
41
(4)
M
(1)
42
(4)
M
(1)
43
(4)
M
(1)
44
(4)
M
(1)
45
(4)
S
(1)
-1
(3)
F
0
-1
(1)
D
0
-1
(1)
L
0
-1
(1)
T
(1)
-1
(1)
M
0
-1
1
3)
M
0
-1
1
4)
M
0
-1
1
5)
M
0
20
(10)
6)
M
0
23
(10)
6)
M
0
22
(11)
6)
M
0
25
(11)
6)
M
0
26
(12)
6)
M
0
122
(11)
6)
Output behavior: Bits 0- 8
MD22080 $MC_AUXFU_PREDEF_SPEC[ n ]
8
7
6
5
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
(0)
(0)
(0)
(1)
(0)
(0)
(0)
(1)
(0)
(0)
(0)
(1)
(0)
(0)
(0)
(1)
(0)
(0)
(0)
(1)
(0)
(0)
(0)
(1)
(0)
0
0
1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