6 Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1
6.1 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1
6.2 Subroutine structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1
6.3 Subroutine call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2
6.4 Subroutine nesting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–3
7 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
7.1 Parameter programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
7.2 Parameter definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2
7.3 Parameter calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3
7.4 Parameter string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
7.5 Programming examples with parameters . . . . . . . . . . . . . . . . . . . . . . . 7–6
8 Contour Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1
8.1 Blueprint programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1
8.2 Contour definition programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–3
8.2.1 Operation of functions G09, F, S, T, H, M in contour definition . . . . . . . 8–7
8.2.2 Chaining of blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–7
8.2.3 Miscellaneous functions in chained blocks for turning and
milling machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–12
9 Tool Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–1
9.1 Tool data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–1
9.2 Turning machine: Tool offset without using tool nose radius
compensation (TNRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2
9.3 Tool offset using tool nose radius compensation (TNRC) . . . . . . . . . . . 9–6
9.4 Milling machine: Selection and cancellation of length
compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–7
9.5 G40/G41/G42 Intersection cutter radius path compensation (CRC) . . . . 9–8
9.6 Tool length compensation (positive or negative) . . . . . . . . . . . . . . . . . 9–12
9.7 Tool offsets for end mill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–12
9.8 Tool offsets for angle cutter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
9.9 Tool offset for drill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–14
10 Cutter Radius Compensation (CRC), Tool Nose Radius
Compensation (TNRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–1
10.1 Selection of CRC/TNRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–1
10.2 CRC/TNRC in program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2
10.3 Cancellation of CRC/TNRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–5
10.4 Changing direction of compensation . . . . . . . . . . . . . . . . . . . . . . . . . . 10–6
10.5 Changing offset number (D..) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–6
10.6 Changing compensation values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–7
10.7 Repetition of selected G function (G41, G42) with same offset number . 10–7
10.8 M00, M01, M02 and M30 with CRC/TNRC selected . . . . . . . . . . . . . . . 10–8
10.9 CRC/TNRC with combination of various block types and in conjunction
with contour errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–10
10.10 Special cases for CRC/TNRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–15
10.11 Effect with negative compensation values . . . . . . . . . . . . . . . . . . . . . . 10–18
11 Programming of Cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–1
11.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–1
11.2 Target code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2
11.2.1 Main groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2
11.2.2 Operands behind the target code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2