Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Bob Hepple on June 15, 2011, 02:27:02 PM

Title: Help Please With Spindle
Post by: Bob Hepple on June 15, 2011, 02:27:02 PM
Can anyone tell me the meaning of the message on mach screen in status ?? it is saying scripter Compile Error in Spindle Speed.mis

if anyone can enlighten me it would be good. I took delivery of my mill which has been modified with belt drives and ball screws when I run the spindle this error is being shown I am new to spindle control via mach and such lost HELP

Title: Re: Help Please With Spindle
Post by: Hood on June 15, 2011, 03:17:36 PM
Can you look in the macro folder for the profile you use and then copy and zip the spindlespeed.m1s macro and attach it to the forum.
Hood
Title: Re: Help Please With Spindle
Post by: Bob Hepple on June 17, 2011, 09:33:20 AM
Hood
sorry for taking so long been away- looked for that file and found it, not sure how to upload it but will try. I copied the file before zipping and had a look via notepad, now I know you should may not be  doing  this, I dont know how you look at these files officially?  but it has not alot in this that I can see. your thoughts.

Bob

hear we go for the upload
p.s had to rename it bobs
Title: Re: Help Please With Spindle
Post by: Hood on June 17, 2011, 12:07:52 PM
Ok what to do is open Mach then go to Operator menu then  VB Script Editor. In the window that pops up go to file and open then browse to your profiles macro folder and open the spindle speed macro. You will see
rpm = GetRPM()    SetSpinSpeed( rpm )   

It should be on two lines like

rpm = GetRPM()
SetSpinSpeed( rpm )   

Save it and hopefully you will be fine.

Hood
Title: Re: Help Please With Spindle
Post by: Bob Hepple on June 22, 2011, 02:43:29 PM
Hood thanks for that sorry for delay I tried what you said although the machine is not connected (away being worked on) but the two line you said were all on one line
hope this sorts it will tell by week end as machine comes back
Thanks

Bob
Title: Re: Help Please With Spindle
Post by: Hood on June 22, 2011, 02:55:05 PM
No probs :) Hopefully thats all that the problem is .
Hood
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 05:51:22 AM
Hi,
I have the same problem, but I already edited my spindle speed macro and still get this error.
Anyone could help me please.

Thanks
Title: Re: Help Please With Spindle
Post by: Hood on May 09, 2013, 07:00:55 AM
What version of Mach?
Hood
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 07:02:10 AM
R3.042.020
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 07:07:37 AM
And I have a Laptop with Mach3 without installed drivers, on it doesn't show that error, I have already put the exactly same configs on my PC that control the cnc and still show me this error, also, doesn't show me the complet toolpath draw.
Title: Re: Help Please With Spindle
Post by: Hood on May 09, 2013, 07:12:38 AM
You will not see the complete toolpath if it is over 500 lines and you are not licensed.
I think updating Mach may help with your spindle speed issue as it seems to have been an on/off issue over the years.
Hood
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 07:15:30 AM
Hi,
My mach3 is licensed, I have run more that 1500 lines without problem. I will update to see.
Thank you.
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 07:31:51 AM
Update done and still the same problem. Any ideas?

Thank you
Title: Re: Help Please With Spindle
Post by: Hood on May 09, 2013, 01:13:56 PM
attach your xml and I will see if there is a problem with it.
Hood
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 01:40:35 PM
I have this two profiles, both do the same problem.
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 01:41:38 PM
This too
Title: Re: Help Please With Spindle
Post by: Hood on May 09, 2013, 01:48:40 PM
Both of these xml's show that Mach is running in demo mode, so either you do not have your licence in the correct folder or your licence is corrupt.
Hood
Title: Re: Help Please With Spindle
Post by: Juliogdiana on May 09, 2013, 02:01:21 PM
I bought this CNC with computer and mach3 installed, the guy told me that he had bought a license for mach3.
Title: Re: Help Please With Spindle
Post by: Hood on May 09, 2013, 02:11:29 PM
 Mach Licenses are owned by the person that purchased them and can not be transferred to another, whether that is with a machine or separately.
Hood