Hello Guest it is October 25, 2021, 11:44:30 PM

Author Topic: Scriptor Compile Error?  (Read 2792 times)

0 Members and 1 Guest are viewing this topic.

Scriptor Compile Error?
« on: September 19, 2010, 02:02:53 AM »
I am trying to setup my spindle. 2hp AC with VFD. It starts and stops, but S won't change the speed. I can change speeds by changing the overide percentage, but not by entering M3S400, or M3S800, ect. Speed stays the same. If I go to pulley setup, and change the max speed, my base S speed is differant, but still won't vary with S changes. What should I look at? While doing all this, I get a message that says, "Scriptor Compile Error. In Spindle Speed. mis"

Offline Hood

  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Scriptor Compile Error?
« Reply #1 on: September 19, 2010, 03:40:42 AM »
Sounds like the SpindleSpeed macro is wrong, what is in that macro, you will find it in C:\Mach3\macros\*****  where **** is the name of the profile you are using, ie Mach3Mill or the name you have called it if a custom profile has been set. The file you are looking for will be called spindlespeed.m1s


Offline stirling

  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Scriptor Compile Error?
« Reply #2 on: September 19, 2010, 03:48:38 AM »
just took a look at the out-of-the-box macro and it looks like this on my system

rpm = GetRPM() SetSpinSpeed( rpm )  

whereas syntactically it should look like this

rpm = GetRPM()
SetSpinSpeed( rpm )

Re: Scriptor Compile Error?
« Reply #3 on: September 20, 2010, 12:38:59 AM »
Thank you Hood, that was the problem.
Re: Scriptor Compile Error?
« Reply #4 on: January 09, 2011, 05:56:36 PM »
or so...

rpm = GetRPM() : SetSpinSpeed( rpm ) 

i trap the same. and after this i read the first sites from VB-language description