Hello Guest it is June 24, 2019, 08:28:51 AM

Author Topic: button to change feed, search variable  (Read 2927 times)

0 Members and 1 Guest are viewing this topic.

button to change feed, search variable
« on: May 24, 2008, 05:48:59 AM »
Hello

My name is Andreas hofmann and come from Germany.

I have a question:

How can I feed in the current axes to put a certain value? So I want to make a button you click and then the feed to 20 sets.

With the variable "FeedRate" is not ever. The DRO 813 one can not override.

Sorry for my bad English, but google can not it be better ;-)

Greeting
Andy

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: button to change feed, search variable
« Reply #1 on: May 24, 2008, 01:15:06 PM »
Andy -

What is the feedrate you have set on your motors (Config/Motor tuning)?  This is the maximum speed for the axis. You can only change your feedrate to something under this.

You can write a Visual Basic program to change the feed rate when you push a button, or you can change the Feed Rate DRO by entering new data.
Not me driving the engine - I'm better looking.
Re: button to change feed, search variable
« Reply #2 on: May 25, 2008, 03:20:50 AM »
Hello

Thank you for the answer!

I am already aware that I should not exceed rapid traverse, it is possible up to now still. This can all try to G01 X100 F1000 would go even though I have only 500.

The VB I write I have already thought only are all trying without success remained. What do I need to programming in VB so it's going?

Greeting
Andy

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: button to change feed, search variable
« Reply #3 on: May 25, 2008, 03:55:14 AM »
Andy
 Although you put a feedrate of 1000 in Mach should only move at the max rate you have in your motor tuning.
 I dont think you will be able to change the feedrate on the fly by changing the DRO value as I dont think Mach will allow that while code is running.
Why do you want a button to do this? it may help us understand what you want and maybe find a way to do it.
Hood
Re: button to change feed, search variable
« Reply #4 on: May 26, 2008, 11:49:05 AM »
Hello

So to better understand:

I want to make a few buttons so similar function as OEM code 109, only a certain number equal to selected%. So I click on the button and the machine runs at 50% remained (otherwise I would have yes 5 times to "feed lower" button

Greeting
Andy

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: button to change feed, search variable
« Reply #5 on: May 26, 2008, 12:15:58 PM »
Ok that should be easy enough to do, just finishing up here at the workshop, will try it out and post after I get home in an hour or two.

Hood

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: button to change feed, search variable
« Reply #6 on: May 26, 2008, 01:51:56 PM »
OK if you make a VB button and put the following in it the FRO should be set to 50%.

Call SetOemDRO (821,50)


Hood
Re: button to change feed, search variable
« Reply #7 on: May 26, 2008, 02:09:37 PM »
Thank you!

Works perfectly

Greeting
Andy