Hello Guest it is April 25, 2024, 05:55:45 PM

Author Topic: File can't see M99 in the Subroutine need help  (Read 2378 times)

0 Members and 1 Guest are viewing this topic.

File can't see M99 in the Subroutine need help
« on: January 22, 2012, 04:35:50 PM »
I have a gear cutting file that I want to nest inside a subroutine.  This I have done but for what ever reason Mach3 can't see the "M99" at the end of the program.  When you look at the code in the window of the Mach3 at the very end of the GCode M99 is not there but when you open the "Edit G-Code" it is there.
The file was a "Tap" and I changed the extension to "nc" before I added the extra code not sure if that is the problem.
Also I wanted to move the repeat X56mm so I have used G52 to do it not sure if that is the best way.
Tony

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: File can't see M99 in the Subroutine need help
« Reply #1 on: January 22, 2012, 05:36:49 PM »
Add a % on the line after the M99. OR add an empty line carrage return. The % you can always see that it is there.

(;-) TP
Re: File can't see M99 in the Subroutine need help
« Reply #2 on: January 22, 2012, 05:44:46 PM »
Thank you TP,
It works perfect,
Tony