Wuhan Huazhong Numerical Control Co., Ltd HNC-18iT v4.0 Programming Manual page 145

Century star turning cnc system
Table of Contents

Advertisement

Example
Example
Example 5 5 5 5
Example
Program the part shown in Figure 11.5.
%3405
N1 T0101
N2 G00 X90 Z30
N3 U10 V50 W80 A20 B40 C3 M98 P01(#20=10, #21=50, #22=80, #0=20, #1=40, #2=3)
N4 M30
%01
N1 G00 Z[-#22+#21+#20]
N2 X[#1+5]
N3 #10=#2
N4 WHILE #10 LE #21
N5 G00 Z[-#22+#21+#20-#10]
N6 G01 X[#0]
N7 G00 X[#1+5]
N8 #10=#10+#2-1
N9 ENDW
N10 G00 Z[-#22+#20]
N11 G01 X[#0]
N12 G00 X[#1+5]
N13 G00 X90 Z30
N14 M99
V
U
W
Figure 11.5 Custom Macro Example 5
141
11. Custom Macro
A
B
C

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HNC-18iT v4.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents