Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: DAlgie on November 27, 2008, 10:42:13 PM

Title: 1.84 won't recognise M30
Post by: DAlgie on November 27, 2008, 10:42:13 PM
Running my lathe with version 1.84 for a few years now, but just recently it won't recognise the M30 command. I do have M30 in the G code file, and can open it to edit it right there and see that it is in fact, in the list, but then save and close and the command is not shown on the scrolling code list, and when the program ends with the M5 I put in before it, it just ends there without rewinding back to the start. Very strange. Total reboot makes no differerence. Can I edit something to fix it or an XML save and reload the entire program?
      DaveA.
Title: Re: 1.84 won't recognise M30
Post by: RICH on November 27, 2008, 10:53:32 PM
DaveA,
Maybe someone else can help you out with an old version. Why not just update to a later version as many changes have been made.
RICH
Title: Re: 1.84 won't recognise M30
Post by: DAlgie on November 27, 2008, 11:03:26 PM
Yeah, I should update, but 1.84 has been flawless, and I never seem to need any of the newer stuff, which all seem to be done for mill work anyway. I use the Mach Silverblue screen, would this still work with a new version, would there be any new features that turn uses that the silverblue screen would not have on it? Thanks to all.
      DaveA.
Title: Re: 1.84 won't recognise M30
Post by: Hood on November 28, 2008, 02:12:38 AM
The M30 problem is because you have not terminated the last line of your code by pressing the return key and moving on to the next line, it is good practice to get into the habit of making the last line of your code a % as that ensures that you have terminated the last line and moved onto the next.
 There has been a lot of work done in the latest version of Mach and it runs very wel especially with VB and macros and also threading in turn has had a lot of work and is the best it has ever been. There should be no reason that Mach Blue would not work with the latest version.
Hood
Title: Re: 1.84 won't recognise M30
Post by: DAlgie on November 28, 2008, 10:35:13 AM
Thanks Hood, I'll try the enter key to move down, and the % symbol I used to need with Fanuc code but hadn't bothered with Mach code, I'll try that also, and download the latest version too.
Title: Re: 1.84 won't recognise M30
Post by: Hood on November 28, 2008, 10:44:07 AM
You dont need the % but I find it good to  get into the habit of putting it in as it assures that you have moved on to the next line.
 A while back when I mentioned this somone said as a joke how about putting a :) in , thing is   it would actualy work ;)

Hood
Title: Re: 1.84 won't recognise M30
Post by: DAlgie on December 04, 2008, 01:41:02 AM
Hood, I tried deleting the last M30 line and going back up a line, hitting enter and retyping it back in. Still no luck, and it never displays on the code list. Strange. So, what is the recomended new lockdown version for turn? Also, if I save my XML, will that include the tool offset data, or is that another file? Thanks.
Title: Re: 1.84 won't recognise M30
Post by: Hood on December 04, 2008, 03:44:49 AM
DAlgie
 I meant to hit the return AFTER the M30 so that you have terminated the  line that the M30 is on and moved onto the next, like this
M30 (Press enter key)
(This line is started but will be blank unless you put a % in)


The latest version is the one I am using. Tool offsets are in the macro folder of the profile you use, it is a dat file, best thing to do is have a custom profile and that way Mach will not overwrite anything.
Hood