Hello Guest it is December 09, 2019, 02:49:28 AM

Author Topic: Limit the MINIMUM feed rate  (Read 2440 times)

0 Members and 1 Guest are viewing this topic.

Limit the MINIMUM feed rate
« on: December 08, 2014, 12:25:03 PM »
Ok so I have operators in my shop that want to slow the machines down too far for certain jobs.  Is there a way to limit how far down you can turn the feed rate?  I want them to be able to turn it down to 80%, but no farther than that.  Then the job just takes too long.  I've tried explaining this to the operators, but they don't get it, they continue to do this. 

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Limit the MINIMUM feed rate
« Reply #1 on: December 08, 2014, 05:05:59 PM »
You could have the macropump set a minimum override value. For example if the value entered is less than 80% the macropump would over rule it and set it 80, if greater than 80% then it would leave it alone.
Hood

Offline ger21

*
  • *
  •  6,290 6,290
    • View Profile
    • The CNC Woodworker
Re: Limit the MINIMUM feed rate
« Reply #2 on: December 08, 2014, 06:02:00 PM »
If you edit the screenset in a screen designer, you can set the limits of the FRO slider there. And if you remove the FRO up and down buttons and DRO for direct entry, the slider will dictate the available range.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Limit the MINIMUM feed rate
« Reply #3 on: December 09, 2014, 07:45:11 AM »
What I came up with is edit the FRO down button to just set the feed rate at 80.  So they could hit that and it would go to the minimum, then back up to 90 or 100.  Thanks for the ideas.
Re: Limit the MINIMUM feed rate
« Reply #4 on: December 09, 2014, 08:07:19 AM »
Ok So apparently that sets the actual feed rate to 80.  Since most of our toolpaths run at 100ipm, 80% is 80 ipm.  but when I tested it, it just sets the actual feed rate to 80 ipm and is overridden by the next line of code that sets the feed rate.  So apparently that idea doesn't work.  how does the macro pump value work idea work?
Re: Limit the MINIMUM feed rate
« Reply #5 on: December 09, 2014, 08:20:06 AM »
Also, I don't use a screenset that has a slider

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Limit the MINIMUM feed rate
« Reply #6 on: December 09, 2014, 06:59:15 PM »
From the operator menu in Mach choose Edit VB Script option and the editor will open.
If you paste the following into the editor then click file and save and then call it macropump.m1s and make sure it is saved to the macro folder of the profile you are using. Then on General Config page choose Run Macro Pump and then restart Mach, it should now not allow a FRO of less than 80% whether you use the slider, the buttons or type directly into the FRO DRO.

FRO = GetOemDRO(821)

If FRO < 80 Then
SetOemDRO(821,80)
Else
Set FRO = FRO
End If



Hood
Re: Limit the MINIMUM feed rate
« Reply #7 on: December 13, 2014, 09:41:31 AM »
Thanks a million, this should work!   Just not real familiar with VBscript.

Bll