Hello Guest it is May 24, 2019, 05:37:21 AM

Author Topic: Spindle Speed Control  (Read 2165 times)

0 Members and 1 Guest are viewing this topic.

Offline kolias

*
  •  1,011 1,011
    • View Profile
Spindle Speed Control
« on: January 27, 2014, 08:01:54 PM »
I wonder why I could not change the spindle speed during my 1st gcode run but I was able to change the feed rate. Mach3 is set to control the spindle speed and in trial runs using M3 S*********x or M5 works well

As my cut was progressing and since my speeds were set low, I click the plus sign in the Feed Rate window and the feed rate increased but in the Spindle Speed window clicking the plus sign nothing changed.

Perhaps I'm doing something wrong?
Nicolas

Offline Hood

*
  •  25,816 25,816
  • Carnoustie, Scotland
    • View Profile
Re: Spindle Speed Control
« Reply #1 on: January 29, 2014, 06:00:30 AM »
The spindle override should work fine as long as Mach is in full control of your spindle.
Does the % increase when you increase the override? If it does then either Mach is not in control of your spindle properly or your spindle is already at Max according to your Spindle Pulleys/Motor Tuning.
Hood

Offline kolias

*
  •  1,011 1,011
    • View Profile
Re: Spindle Speed Control
« Reply #2 on: January 29, 2014, 01:35:56 PM »
Yes the % increases and my pulley setting is at Max 24K. But after checking all settings in Mastercam I think that the postprocessor is the problem.

I downloaded the postprocessor from the Mach3 site (MasterCam_MACH3B.pst) and looking at the code I noticed this line at the top:

# Revision log:
# --------------------------------------------------------------------------
# Programmers Note:
# CK  12/07/05  -  MODIFIED MACH2 POST
#                  -Changed Max/Min spindle speeds to 2000/320RPM

My gcode has always S2000 so it must be the PST but I don’t want to venture editing the PST since I never done it. Should I open another thread and ask for help on how to edit the PST?
Nicolas

Offline Hood

*
  •  25,816 25,816
  • Carnoustie, Scotland
    • View Profile
Re: Spindle Speed Control
« Reply #3 on: January 29, 2014, 04:55:13 PM »
You would be best talking to MasterCAM about editing the PP as unless someone here has MasterCAM and has edited a PP then you will be unlikely to get an answer.
Hood

Offline kolias

*
  •  1,011 1,011
    • View Profile
Re: Spindle Speed Control
« Reply #4 on: January 29, 2014, 06:13:07 PM »
Thank you Hood, I will take care of it
Nicolas

Offline kolias

*
  •  1,011 1,011
    • View Profile
Re: Spindle Speed Control
« Reply #5 on: January 29, 2014, 09:58:10 PM »
I opened the Mach3B post processor in Notepad and looking at the lines I found this:

max_speed   : 2000  #Maximum spindle speed
min_speed   : 320   #Minimum spindle speed

Changed the 2000 to 24000, saved the file, and the problem is now solved, can put any speed up to 24000 when I select my tool and the gcode is correct

The above is for other members if they have similar problems but be careful and first make a backup copy of the pst file and make sure you don’t change anything you are not sure. Also try a few simple operations to assure what you did works well
Nicolas