Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:26:57 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Scriptor Compile Error?
Pages: 1   Go Down
Print
Author Topic: Scriptor Compile Error?  (Read 400 times)
0 Members and 2 Guests are viewing this topic.
Captain Midnight
Active Member

Offline Offline

Posts: 61


View Profile
« on: September 19, 2010, 01: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"
Thanks
Logged
Hood
Active Member

Offline Offline

Posts: 17,358


Carnoustie, Scotland


View Profile
« Reply #1 on: September 19, 2010, 02: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

Hood
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,190

UK


View Profile WWW
« Reply #2 on: September 19, 2010, 02: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 )

Ian
Logged
Captain Midnight
Active Member

Offline Offline

Posts: 61


View Profile
« Reply #3 on: September 19, 2010, 11:38:59 PM »

Thank you Hood, that was the problem.
Logged
mike303
Active Member

Offline Offline

Posts: 9


View Profile
« 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
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!