11. Custom Macro
139
Example
Example
Example
Example 3
3
3
3
Program the parabola B in interval [12, 32] shown in Figure 11.3. The parabola
2
/
2
A
B
−
=
5
5
5
5
8
A
B
12
20
28
Φ
2
0
Φ
1
6
Figure 11.3 Custom Macro Example 3
%3403
N1 T0101
N2 G00 X20.5 Z3
N3 #11=12
N4 M03 S600
N5 WHILE
#11 LE 32
N6 #10=SQRT[2*[#11]]
N7 G90 G01 X[2*#10] Z[-[#11-12]] F500
N8 #11=#11+0.05
N9 ENDW
N10 G01 X16 Z-20
N11 Z-28
N12 G00 X20.5 Z3 M05
N13 M30
Содержание HNC-18iT
Страница 27: ...2 Preparatory Function 23 G59...