Hello Guest it is June 14, 2025, 03:43:22 PM

Author Topic: Nested M98 not working  (Read 4200 times)

0 Members and 1 Guest are viewing this topic.

Nested M98 not working
« on: November 07, 2024, 06:27:40 AM »
I read previous posts about this issue and adding % at the top and bottom did not help.  I also removed all comments.  The M98s go to the right place fine, but the program stops the spindle and hangs after the first iteration of the nested loop.  It just stops after executing the G1Y-2 in O2000 one time.  Help please!

%
g90
g40
s4000
f10
m3
G0Z0
g0x0y0   

G92A-7.2
G0Z-4   
M98 P1000 L5 

F20
G1B-7.9188
F10
G0Z-.96
G0X-5.48
G92A-7.2

M98 P1000 L5
M5
M2
M30



O1000
G91
G0X.5
G0a7.2
M98 P2000 L20
G90
G99

O2000
G0X.005
G0Y2
G0X-.03
G1Y-2
G99
%

Re: Nested M98 not working
« Reply #1 on: November 07, 2024, 08:06:39 AM »
I found the problem, but I can't find a way to edit or delete the post.

Offline Tweakie.CNC

*
  • *
  •  9,295 9,295
  • Super Kitty
Re: Nested M98 not working
« Reply #2 on: November 07, 2024, 08:30:41 AM »
Just out of curiosity, what was the problem ?

Tweakie.
PEACE

Offline Graham Waterworth

*
  • *
  •  2,783 2,783
  • Yorkshire Dales, England
Re: Nested M98 not working
« Reply #3 on: November 09, 2024, 09:13:30 PM »
My guess is the G99 should have been M99
Without engineers the world stops

Offline Tweakie.CNC

*
  • *
  •  9,295 9,295
  • Super Kitty
Re: Nested M98 not working
« Reply #4 on: November 10, 2024, 12:49:03 AM »
Well spotted Graham.

Tweakie.
PEACE