Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Vandabrackin on February 09, 2017, 02:34:24 PM

Title: Unknown word where unary operation could be
Post by: Vandabrackin on February 09, 2017, 02:34:24 PM
 ???  I have run this short program hundreds of times over the years and have never got this message. I use onecnc with the mach 3 post. The program starts and makes its first move and then stops with this message  "unknown word where unary operation could be". what am i missing?????/
Title: Re: Unknown word where unary operation could be
Post by: joeaverage on February 10, 2017, 06:50:59 PM
Hi,
code looks good to me as well.

Could it be the S2000 word, it has already been stated above, maybe it doesn't like being repeated. Clutching at straws I know...

Craig
Title: Re: Unknown word where unary operation could be
Post by: smurph on February 11, 2017, 08:06:18 PM
I would check the file and make sure there are no UNICODE characters in it.  G code is ASCII only. 

Steve
Title: Re: Unknown word where unary operation could be
Post by: Ron19 on May 20, 2017, 02:00:26 PM
Vandabrackin, did you ever solve this problem?

I am getting the same message when running a file that I know is good: "Unknown word where unary operation could be".

Your post is the only one that comes up using a "unary" search in Mach4 forums.

Thanks
Title: Re: Unknown word where unary operation could be
Post by: dmoore on September 03, 2017, 04:31:23 PM
I too have almost the exact same issue - 3,000 hours of run time on this machine without issue and all the sudden the spindle has stopped working.  Here is the text of my complete error:

Unknown word where unary operation could be , Block = DOSPINCW()

The PC doesn't have windows updates on, problem happened after running another job just fine and the second job the spindle refused to start.  Ripped apart all the hardware thinking it was physical but it appears to be in Mach3 as I never found any hardware issues.
Title: Re: Unknown word where unary operation could be
Post by: mark4 on September 11, 2017, 12:50:44 AM
hi if i remember right unknown word where unary operation could be did happen to me turned out to be a corupt file i would check files you have written and re install mach it will ovewrite the files in question and fix any that are corrupted. luck
mark