Mach3 to Mach4 migration "#"
Again, this was a case that worked fine on Mach3, but caused an error on Mach4.
Contents
When I read the attached file used for milling with Mach4, Mach4 does not read it as shown in the picture.
It stopped at the "#" point.
I am troubled. Please teach me the solution.
*******************************
(herical M8tap)
(Initial Value)
#1=8;(Screw_D)
#2=1.25;(Screw Pitch)
#3=[#2/2];
#4=0;(xPos)
#5=0;(yPos)
#6=[4.1-2.9];(Screw_r+H/8_cutter_r)
#7=[#4+#6];(arc_Pos)
#8=[#4-#6];(-arc_Pos)
#9=-12;(Drill_Bottom)
#10=120;(tap_S)
#11=[#10*#2];(Tap_F)
#12=[[#9*-1]/#2];(Tap_Turn)
#13=1250;(Drill_S)
#14=30;(Drill_F)
#15=[#9+[0.4*#1]];(Tap_bottm)
M5;
(Initial setting);
G17 G80 G49;
G28 G91 Z0;
G90;
N1;(drill D5)
M7;(Mist_On)
S#13 M3
G54
(Dril Cycle)
G98 G83 X#4 Y#5. Z#9 R2 Q2 F#14;(Q:Dril_Pich)
G80
G28 G91 Z0;
G90;
M5;
M9;
M00;(Pouse)
N2;(Herical_tap)
(Initial setting)
M7;
M3 S#10;
G54 G0 X#4 Y#5;(x_Pos_Y_Pos)
G0 Z#15;
M98 P3 L#12;(Sub3 Program Call)
G0 X#4 Y#5;
S20;
G0 Z5;
(Return To Origin);
G28 G91 Z0.
G28 X0. Y0.
M30;(End)