Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Murray6301 on November 06, 2008, 09:47:45 AM
-
I'm new with a Taig CNC, Mach 3 and BobCadCm to learn. I notice that the last line of any code does not show in the Mach 3 Program Run window. In fact, when I write a subroutine starting with M98 and ending with M99, the subroutine runs, but the program stops at the last line in the subroutine - and doesn't return to the program. I found that if I added another M99 (one after the other), the code now shows in the window and the program runs correctly. Any help would be appreciated.
-
Add some whitespace to the end of your code.
-
Get into the habit of making the last line of your code a % doing that lets you know you have ended the previous line by moving on to the next. You can also do a swarfboy has said but looking at the code in notepad etc doesnt let you see you have remebered to press return after the last line where if the % is there you can see instantly.
Hood
-
Thanks for your help. Now I have another problem. A white window appeared below the Mach 3 screen and had an option to "Simply window" and I clicked on it. Now I have a gray screen with only the FIle, Config, Function Cfg's, etc. across the top. I've lost all the DRO's and other window info. Any suggestions?
-
Been a long time since I have done that, try going to view menu then load screens then choosing the 1024.set If that doesnt work then I will try and remember what you need to do.
Hood
-
Thanks again. That was the solution. I'm new, but I already can tell you that I really appreciate the help you guys give. Hope someday I'll be smart enought to help others.