Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Seitz333 on September 29, 2014, 04:46:35 PM
-
Hi All,
I have been having a problem with my spindle control. Lets say I have some gcode with 4 jobs and 2 different tools.
Job 1 Profile with 1/4" bit, S14000 - Runs fine (machine stops, I change bit, and cycle restart for Job 2)
Job 2 - Pocket with 1/2" bit S9000 - Runs fine and moves on to Job 3
Job 3 - Pocket with same 1/2" bit S9000 - SPINDLE SPEED INCREASES TO 24000 (my max setting), the DRO reads 9000 like it is supposed to thou.
Job 4 - Profile with same 1/2" bit S9000 - SPINDLE CONTINUES TO RUN AT 24000
Also if I try to use the MDI and issue a S9000 command it does not bring the spindle speed down.
I also noticed if the spindle is running at any speed and I enter in a different RPM or Spindle Override % the spindle will increase to 24000.
So far as a work around I just run each job separately, which is a pain to load the new gcode each time.
Is there a Gcode I'm missing, a settting in my post processor, or a setting on the VFD???
I'm using BOBCad V27, Mach 3 (latest version), VFD for spindle control.
Thanks,
Chuck
-
Can you attach the code and also your xml and I will see if I can figure out the issue.
Hood
-
Here are the files. Thanks!
-
I dont see anything amiss in your xml or code.
What hardware do you have for controlling the spindle?
Can you measure the voltage to see whether it corresponds to the commanded speed?
What rev of Mach are you using?
Hood
-
I have a Gecko G540, and my VFD is a Lenze AC Tech ESV222N02YXB.
I was looking over the forum and it looks like this person is having a similar issue based on his thread.
http://www.machsupport.com/forum/index.php/topic,24431.0.html (http://www.machsupport.com/forum/index.php/topic,24431.0.html)
-
Does pressing the Reset for spindle override work for you/
Hood
-
Pressing the Reset for spindle override does nothing.
FYI I'm running Mach3 Version R3.043.066, on Windows 7.
-
Ok, doesnt sound like the same issue as that guy seemed to be getting the spindle override operating on its own.
Can you run the code in air with the 0-10v disconnected and measure the voltage coming out to see if it corresponds to the commanded or actual speed you are seeing.
Hood
-
Sorry for the long delay, finally had a chance to check the voltages. The voltage does jump up (4-5v) when the spindle speeds up. So it corresponds to the actual speed I'm seeing and not the command.
Chuck
-
Can you try this. Shut down Mach then go to the Mach3 folder on yor drive then Macros then the folder named after the profile you are using. You will see a file called Linearity.dat, delete that then start Mach and see if that has helped the problem.
Hood
-
Hood, you sir are a genius! That fixed the problem. For my own knowledge can you explain what was happening?
Thanks!
Chuck
-
It sounds like at some point you have tried to calibrate the spindle and it has not worked properly. The linearity.dat holds that info and deleting it has put things back to the way they were before the attempted calibration.
Normally there is no need for trying to calibrate a VFD spindle as it should be relatively close anyway and I dont think the calibration works too well in any case.
Hood