Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Captain Midnight 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"
Thanks
-
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
-
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
-
Thank you Hood, that was the problem.
-
or so...
rpm = GetRPM() : SetSpinSpeed( rpm )
i trap the same. and after this i read the first sites from VB-language description