|
%
(2024/02/04 10:23)
(NC name: 程序样本.nc)
(Machine time: 7.70 MIN)
(Total Tool:1)
(T1=EM-D30 D=30. MinZ=0. )
G40 G17 G90
G91 G28 Z0.0
N1.0 (T1:EM-D30 D=30. R=0. H=01)
(MAX_Z=100. MIN_Z=0. Time=7.70M)
T01 M06
M01
[PLANAR_MILL_1]
G90 G55
S1061 M03
(----------)
#1=10(起点)
#2=0(终点)
#3=10(切深)
#4=0.1(余量)
(----------)
G00 X-40.894 Y9.486
#51=#5001
#52=#5002
G43 H01 Z[100.+#1+#4] M08
(----------)
WHILE [#1GT#2] DO1
#1=#1-#3
IF [#1LT#2] THEN #1=#2
G00 X#51 Y#52
(----------)
Z[10.+#1+#4]
#101=7.038(起点)
#102=0.000(终点)
WHILE [#101 GE #102] DO1
G03 X-40.894 Y9.486 Z#101 I-9.606 J-9.486 F250.
#101=#101+[-2.962]
END1
X-64. Y0.0 Z[0.0+#1+#4] I-9.606 J-9.486
G01 Y-64.
X64.
Y64.
X56.
Y0.0
G02 X-56. Y0.0 I-56. J0.0
G01 Y64.
X-64.
Y0.0
X-85.
Y-85.
X85.
Y85.
X35.
Y0.0
G02 X-35. Y0.0 I-35. J0.0
G01 Y85.
X-85.
Y0.0
X-70.
Z[3.+#1+#4]
G00 Z[100.+#1+#4]
(----------)
END1
(----------)
M09
M05
G91 G28 Z0.0
M30
%
这个螺旋进刀 分层宏 单层没问题,多层不对,各位大师,这个还要怎么更改啊。
|
|