Hello Guest it is April 19, 2024, 02:31:21 AM

Author Topic: Mach4 Stops at G98 G81 - No error  (Read 770 times)

0 Members and 1 Guest are viewing this topic.

Mach4 Stops at G98 G81 - No error
« on: August 18, 2022, 03:29:58 PM »
Hello,

Just wondering if anyone had any input for me. When running Mach4 (Licensed and up to date), my program runs fine up until it gets to the drilling cycle. The last message I saw was, "Do cycle start", so no error message. The time keeps counting up as if the program is still running. Here is the relevant code:

N106 (T1-1/8" HSS Jobber Drill)
N108 (---1/8" HSS Jobber Drill)
N110 (T2-1/8" 4FLT Carbide Endmill)
N112 (---1/8" 4FLT Carbide Endmill)


N1 G90 G17 G40 G80 G00
N114 M06 T1 (1/8" HSS Jobber Drill)
N116 (D-drill)
N118 G00 G0 G90 X2.625 Y0.9753 S9167 M03
N120 G43 H1 Z2.
N122 Z0.4
N124 G98 G81 X2.625 Y0.9753 Z-0.2876 R0.1 F14.6677 <------- Stops here
N126 X2.2695 Y1.2704
N128 X1.7462 Y1.7874
N130 X1.3125 Y0.9753
N132 Y0.1553
N134 X2.625
N136 X3.3695 Y1.2704
N138 X3.9695 Y3.2704
N140 X2.625 Y4.0247
N142 Y4.8447
N144 X1.3125
N146 Y4.0247
N148 X1.7462 Y3.2637
N150 X2.0695 Y3.3204
N152 X0.2698 Y3.2637
N154 Y1.7874
N156 G80
N158 M05
N160 M01
« Last Edit: August 18, 2022, 03:38:16 PM by Nathanklx »

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Mach4 Stops at G98 G81 - No error
« Reply #1 on: August 18, 2022, 08:20:36 PM »
Line 118 has 2 G00 commands (G00 & G0)

Try putting the G98 on the line before the G81

Are you going to hit the Z- softlimit ?
Without engineers the world stops