Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: panaceabeachbum on March 18, 2008, 11:52:48 PM

Title: m3 not always recognized
Post by: panaceabeachbum on March 18, 2008, 11:52:48 PM
I am running mach on 3 machines, 2 lathes and a mill and at some point on everyone of them the m3 command fails to start the spindle, wont work at the MDI line or in the gcode file. It usually happens later in the day after the system has been running 6-8 hours sometimes not for a couple of days. I am not sure what the common link is three seperate machines, three seperate computers all have the problem at some point. Closing and restarting mach doesnt seem to fix it . Always requires rebooting the computer.
Title: Re: m3 not always recognized
Post by: vmax549 on March 19, 2008, 12:27:55 AM
Art has recomended that IF you run into this problem Go to General config page and turn ON debug this run. THen try using the mdi many times to get the m3 to work. THen send them the file that mach generates to help them find the bugger that causes it.

(;-) TP


ART's instructions:

One thing you CAN do is , if the MDI problem occurs and things wont move,
select "Debug This Run" in config/general, then
try quite a few MDI commands. Close the program and show us the entries in the
..hmm, I think its called debug.txt or LastErrors.txt file in the mach3 folder.
Im not sure it will help, but the debugrun logging has allot more in it than
normal mode, so it may show a possible bug location. Also, on the Diags page of
the program is a queue depth DRO. Try several MDI moves, do they get queued and
just not execute, or do they not get queued.. in the end the more info we can
giev brian in that area, the faster he can zero in on a possability..

Thanks,
Art
Title: Re: m3 not always recognized
Post by: panaceabeachbum on March 19, 2008, 09:48:12 PM
one of the lathes did this again  but I didnt have any failure to move but when m3 is called out in the gcode  I get a popup that says "uknown error 1 occured, m3 not recognized" when I click the OK on that popup it opens the VB editor with the DoSpin (cw) command, Require machine reboot to recognize m3
Title: Re: m3 not always recognized
Post by: Glenn on May 02, 2008, 05:53:48 PM
Hi Panaceabeachbum,
  Today I was hooking up my first spindle relay, and after several good
program run-throughs, (motor on-motor off by m3, m5), Mach 3
 would run down to the m3 line, and just stop-- I could rewind
start again, but it just won't cross the m3 line and proceed on with the
rest of the program. I can hit letter "s" on keyboard to start/stop spindle
and it does work. Any ideas on what it is up to?

cnc-erly,

Glenn :)
Title: Re: m3 not always recognized
Post by: sshneider on May 02, 2008, 07:42:33 PM
What version are you runing?
Title: Re: m3 not always recognized
Post by: Glenn on May 02, 2008, 10:48:11 PM
Hey Sid,
  I'm running licensed version R2.63..But of course, I shut it down and ate supper (My wife
brought me a steak sandwich from the local Wild Turkey Festival), and now it works!
  I'll keep my fingers crossed!
   Thanks,
Glenn :)
Title: Re: m3 not always recognized
Post by: sshneider on May 02, 2008, 11:25:33 PM
Wow, nice Wife!  Bon Apitit!

I seem to recall having similar internittent M3 issues around the ver 2.X times.  You might want to give ver 3.41 a try I think things have progressed a bit since back then!  But then again.. "If it ain't broke..."

Regards,
Sid
Title: Re: m3 not always recognized
Post by: jimpinder on May 03, 2008, 04:29:14 AM
I cannot remeber having this problem when I was only using M3.M4 and M5, and using the inverter manually to control the speed.

My problems started when I started using PWM to control the speed - and since I had set a minimum speed, I put in M3 with an S - and, of course, nothing happens. If I don't notice the warning  about it being below minimum, I'm left scratching my head.
Title: Re: m3 not always recognized
Post by: Bodini on August 14, 2008, 04:27:10 PM
So did anything ever get straightened out with this problem?  I've been having it for a month now (at least)... M3 not being recognized in MDI or during gcode.  I'm using v2.63. 

-Nick

addendum- I just noticed that during a gcode routine, Mach had ran through a bunch of macros, then when it got to the M3 (the first one of the routine BTW), Mach quit running the code.  Also, after that point, NO macros would run, OEM or custom.
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 08:14:39 AM
Hi Bodini
I'm experiencing exactly the same problems at start up, you can go to the MDI screen hit M3 or M4 even M5 and it comes back with an unspecified error down the bottom will say syntax error, even just typing s*********x will cause it to go into error mode. Have you found a solution yet? Or has anyone addressed the problem; so it takes out one less thing to look at when it falls in a heap. As yours the only way to get mine to work is to re-boot.
Regards Katoh
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 08:43:20 AM
Katoh
 What version of Mach are you using? It might be worth trying the latest Dev version as a lot of work has been done in the VB part of Mach
Hood
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 08:55:24 AM
Hi hood
Im running Version 2.63.
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 09:03:49 AM
What I would do is create a folder on your desktop and then go to the Mach3 folder and copy the Mach3.exe and paste it into the folder you created. I would also copy your xml and any custom macros. screens etc you may have and also the .dat files that are in your profiles macro folder as they contain such things as tooltables etc (thats if you have these set up)
 Once you have copied all you need then download and install the latest Dev version of Mach and give it a go, if it doesnt help you then all you need to do is go to your saved exe and paste it back into the Mach3 foilder, same with xml etc if needed.
Hood
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 09:21:14 AM
Thanks Hood
As you might be aware I'm still in the process of setting the whole thing up so I haven't got anything customised as yet, The only things is the actual machine settings, which Ill write down on a piece of paper all the settings to make It go, and then Ill load the latest version of Mach, set the settings up by using the info Ive written down and see what happens, For now its just hitting 1.30am and I'm deciding either to go to bed or watch the Wallabies play the Lions in Twickinham(hope I spelt that right) So this will be on tomorrows to do list. Do you remove the old Mach before updating or leave it and run the up datated version?
Thanks Again
Katoh
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 09:38:33 AM
LOL well its the Ozzys and England but the better one to watch would be the Sprigboks and Scotland ;) I am watching the score online while at the workshop.
 The xml holds all of your pin settings etc so always best to have a backup of that anyway.
No need to delete the old version of Mach, the installing of any version of Mach3 will overwrite any files needed so dont worry there.
Hood
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 10:17:31 AM
Thanks again Hood
Ill do that! Starting whatching the Game its a good fast one. But I'm sorry to say We will run away with it in the second Half, I don't think the English can keep up the Pace.
Katoh
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 10:19:23 AM
Heres hoping your prediction is true (http://forums.pcper.com/images/smilies/extras/yllol.gif)

Hood
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 11:16:06 AM
Yep. Spot on, 14 to 28 our favour, I reckon scotland may have a good chance against the Sprinbocks, there a bit off there game lately, They dont seem to travel well, were the All blacks are a different story.
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 11:35:45 AM
Well true to form Scotland play well but lose ;D maybe one day things will go our way, wonder if I will be still alive.
 Hood
Title: Re: m3 not always recognized
Post by: Katoh on November 15, 2008, 06:09:17 PM
Hood, one can only hope! It ll be a great day when I see a nation not part of the top 5 hoist the William Webb Trophy over their heads in triumph. It Might be the Scott,s in Wales You never know.
Title: Re: m3 not always recognized
Post by: Hood on November 15, 2008, 06:15:19 PM
I can always dream :)

Hood