Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Overloaded on February 13, 2013, 12:43:28 PM

Title: Limit Feedrate, Unlimited Rapids
Post by: Overloaded on February 13, 2013, 12:43:28 PM
How to implement  :)

I have a servo driven feeder slide that only rapids when unloaded and retracting so it can go full throttle.
Feedrate is selectable by DRO entry (maybe a FRO pot later on) and I'd like to put a limit on the max allowable. (say ... 50 percent of rapid)

Something like the macro pump maybe ?   ???
If the DRO > allowable limit
Then MESSAGE BOX Cant exceed X amount ,Setting to MAX allowable   ???

No idea how to incorporate the FRO pot, maybe use up/dn FRO increment buttons instead.  ???

Hope this is enough info as to what I'm attempting.

Thanks for any ideas or alternatives,
Russ
 :)
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: BR549 on February 13, 2013, 03:49:59 PM
MaxSpeed= (GetParam(VelocitiesA) *.50)

Speed= GetUserDro(*********)   'FeedrateDro

If Speed > MaxSpeed then

Message" Max Velocity exceeded resetting to Max Velocity "

Speed=Maxspeed

End IF


FRO can be done with a simple cheap rotary encoder with center switch. Tie it to an encoder input then mapp that to the FRO dro DRO.

Use the center switch on the encoder to reset FRO to 100%

Just a thought , (;-) TP
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Chaoticone on February 13, 2013, 03:58:03 PM
Terry, do you have a link to any of the encoders you have used?  Last I looked all I could find were pretty pricey.

Brett
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: BR549 on February 13, 2013, 03:59:00 PM
What do you call pricey (;-) Do you need panel (has 2 nuts on the shaft to secure in a hole on the panel mount)  or surface mount (solders to a board no nuts)

(;-) TP
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Chaoticone on February 13, 2013, 04:39:48 PM
LOL, I'm poor as dirt Terry.  I need panel mount if you have a source handy.

Brett
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: BR549 on February 13, 2013, 04:54:52 PM
About as cheap as I have seen for a simple 10 pos Quad encoder with switch.


http://www.digikey.com/product-detail/en/ACZ09BR2E-20KQA1-20C10P/102-2224-ND/2510099

(;-) TP
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Chaoticone on February 13, 2013, 04:59:44 PM
Thanks Terry, that will be perfect.

Brett
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Overloaded on February 13, 2013, 07:04:12 PM
Fine job ! :)
I've got a few Oak Grigsby 32 (?) PPR encoders from an industrial control panel, nice heavy detents but no switch.
Could just mount a mom pushbutton beside it to reset ? I suppose ?
Thanks TP,
Russ
 8)
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Overloaded on February 15, 2013, 04:50:13 PM
This is the enc. I have.
http://www.keaonline.com/pages/pdf/mmp.pdf
I cannot find the wiring diagram or pinout anywhere ! >:(
Done googled my googler off. :-[
Anyone know where to find a complete data sheet for this monkey ?
Just short of calling the company that took these over ?
Just 6 little pins.
Assuming,   a+  a-  b+  b- V+  V-  .... but which is which ?
Thanks,
Russ
 :)
Title: Re: Limit Feedrate, Unlimited Rapids
Post by: Overloaded on February 15, 2013, 07:51:07 PM
 :)  These might be custom made.
There is a sticker on one:

OAKGRIGSBY
2638MMP/REL-32-1
    0645

Guess I'll call the new co. Monday.
Thanks,
Russ