Hello Guest it is May 13, 2021, 03:04:58 AM

Author Topic: Setting Spindle Speed Range  (Read 1229 times)

0 Members and 1 Guest are viewing this topic.

Setting Spindle Speed Range
« on: May 23, 2016, 03:42:34 AM »
Hi Guys
Could someone please let me know what is the method for setting the Spindle Speed Range - I can see it on the diagnostics page but is there a method for normal use on the run page. I have a Charter Oak clone RF45 with a six speed gearbox and will need to change ranges after some tool changes. Is there an "M" code or something?
Thanks
Steve

Offline smurph

*
  • *
  •  1,402 1,402
  • "That there... that's an RV."
    • View Profile
Re: Setting Spindle Speed Range
« Reply #1 on: May 27, 2016, 06:50:43 PM »
This is usually done with M41 and above.  But it is REALLY machine specific (manual, automatic, number of ranges, etc..)  so we don't provide any scripts for it.  For example, a Haas only has low high gears on the spindle, thus, they only use M41 and M42.

You will have to create M41-46 macro scripts on your system that does the right thing.

Called in G code like this:

M41 (select spindle range #1)
S1200
M03

If the spindle ranges are set manually, you will want the machine to prompt you to change ranges.  Also, a bit of code to check if it is already in the correct range might be nice to keep unnecessary prompting from happening.  

Steve
Re: Setting Spindle Speed Range
« Reply #2 on: May 27, 2016, 10:53:58 PM »
Thanks Steve, I'll have to put some thought into this.
Regards
Steve