Hello Guest it is December 21, 2024, 08:01:22 AM

Author Topic: scripter compile error ( 2 questions)  (Read 5725 times)

0 Members and 1 Guest are viewing this topic.

scripter compile error ( 2 questions)
« on: October 08, 2012, 05:44:31 AM »
Hi chaps
I am getting an error " scripter compile error in spindle speed.mis"
Could someone tell me what is wrong?
second question - where can i get a list of Mach3 error codes?

regards

fred evans
think of the trees-- use both sides of the computer paper

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: scripter compile error ( 2 questions)
« Reply #1 on: October 08, 2012, 07:11:46 AM »
Open the macro with notepad and see what it says and if there are any extras, it should say
rpm = GetRPM()
SetSpinSpeed( rpm )

If there are any artefacts there or it is on one line edit so its as above. Reason to open in notepad is you will often not see artefacts in the Mach editor.

No list of Artcodes as far as I know, Art usually is able to say roughly what they are but even then they can have quite a few different causes for the same code.
Hood



Re: scripter compile error ( 2 questions)
« Reply #2 on: October 10, 2012, 03:53:50 AM »
Thanks Hood-
where is this macro and what is ir called?
I have searched for *.mis and get no result?
regards
fred
think of the trees-- use both sides of the computer paper

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: scripter compile error ( 2 questions)
« Reply #3 on: October 10, 2012, 04:40:24 AM »
It will be contained in the macro folder for the profile you are using, eg if using Mach3Turn its default location would be
C:\Mach3\Macros\Mach3Turn

It will be called spindlespeed.m1s

Hopefully you havent deleted them in your quest for cleaning your drive ;)
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: scripter compile error ( 2 questions)
« Reply #4 on: October 10, 2012, 04:48:35 AM »
BTW please note it is m 1 (ONE) s rather than m i s.

Hood
Re: scripter compile error ( 2 questions)
« Reply #5 on: October 12, 2012, 02:26:10 PM »
ah ha thanks

fred
think of the trees-- use both sides of the computer paper
Re: scripter compile error ( 2 questions)
« Reply #6 on: October 12, 2012, 02:46:04 PM »
That problem has been around for YEARS, and I've never been able to cure it, though it appears to be harmless.  Sometimes, if you edit the file, make sure there are no "funny" characters in it, and there's a blank line at the end of the file, it will go away.  But, eventually, it will come back.

Regards,
Ray L.
Regards,
Ray L.

Offline budman68

*
  • *
  •  2,352 2,352
Re: scripter compile error ( 2 questions)
« Reply #7 on: October 12, 2012, 04:43:46 PM »


Hopefully you havent deleted them in your quest for cleaning your drive ;)
Hood

Had to laugh at that one!  :D

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)