Example
Example
Example 2 2 2 2
Example
Program the parabola B in interval [0, 8] shown in Figure 11.2. The parabola
%3402
T0101
G00 X21 Z3
M03 S600
#10=7.5
WHILE #10 GE 0
#11=#10*#10/2
G90 G01 X[2*#10+0.8] F500
Z[-#11+0.05]
U2
Z3
#10=#10-0.6
ENDW
#10=0
WHILE #10 LE 8
#11=#10*#10/2
G90 G01 X[2*#10] Z[-#11] F500
#10=#10+0.08
ENDW
G01 X16 Z-32
Z-40
G00 X20.5 Z3
M05
M30
32
Figure 11.2 Custom Macro Example 2
138
A
8
B
32
40
4 4 4 4
11. Custom Macro
2
B
A
=
−
2 /
Need help?
Do you have a question about the HNC-18iT v4.0 and is the answer not in the manual?