Hello Guest it is April 16, 2024, 01:39:07 PM

Author Topic: Adjusting rapid speeds at the touch of a button?  (Read 3574 times)

0 Members and 1 Guest are viewing this topic.

Offline DaOne

*
  •  236 236
    • View Profile
Adjusting rapid speeds at the touch of a button?
« on: October 04, 2010, 12:51:11 AM »
On my Haas machines I have the ability to set the rapid movement speeds to 5% - 100% by pressing a button on the control. I want to know if this is possible on mach by say... editing the screen set and adding those buttons. Basically if I hit the 5% rapid button it sets my rapid speed to 5% of the max feed rate. I would like to create a 5, 25, 50 and 100% button. This is very useful for testing new programs. Helps avoid crashing the machine. Anyone know a way to do this?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #1 on: October 04, 2010, 02:33:17 AM »
You can lock the Rapid to Feedrate overrides so that if you turn the FRO down to 20% the rapid is 20% of the rapid. If you want it independantthen you can unlock that and then just use the rapid override or alternatively if buttons are preferred you could just have buttons on screen that write to and set the rapid % DRO to what you want.
For exampole a VB button with  this in it

SetOemDRO(223,25)

Would set the rapid to 25%
Hood

Offline DaOne

*
  •  236 236
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #2 on: October 04, 2010, 01:05:30 PM »
So SetOemDRO(223,25) would only set the rapid speed to 25% and it wont affect the feed rates in any way correct? This is what I am looking for. Also is the a way to display what they are set at?  Maybe use the same dro as a display?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #3 on: October 04, 2010, 01:15:22 PM »
 If you have the option in General Config to Lock Rapid to FRO unchecked then it will not affect the FRO.
The RRO slider on the main screen will show 25% when you do that code, if you prefer a DRO rather than the slider then you could change that with Screen4 or one of the other screen editors available.
Hood

Offline DaOne

*
  •  236 236
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #4 on: October 04, 2010, 01:16:43 PM »
So SetOemDRO(223,25) would only set the rapid speed to 25% and it wont affect the feed rates in any way correct? This is what I am looking for. Also is the a way to display what they are set at?  Maybe use the same dro as a display?

Think I figured it out. DRO 104

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #5 on: October 04, 2010, 02:39:49 PM »
It is OEM 223 for the SRO DRO. You could either put one on the screen or just change the slider by choosing not to use the slider image and resize it to a normal DRO shape/size.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Adjusting rapid speeds at the touch of a button?
« Reply #6 on: October 04, 2010, 02:52:27 PM »
Just for your information, I should have said in the previous post that OEM 104 DRO is the actual rapid rate and not the override.
Hood