Hello Guest it is March 29, 2024, 04:19:28 AM

Author Topic: Pokeys analog input & Feed Rate DRO  (Read 14452 times)

0 Members and 1 Guest are viewing this topic.

Pokeys analog input & Feed Rate DRO
« on: March 26, 2011, 09:15:44 AM »
I use an external potensiometer with pokeys, to control the Feed Rate DRO (0-200%).

I have made a brain that reads the 10bit value and multiplies by 0.1954 (to give 0-1024 = 0-200%).
The pot works very good. (No delay - as i have read to other topics.)

My problem is when i run Mach for first time and i hit reset button,
allthough the pot can be at any position, the DRO goes to 100%.

The value is not beeing refreshed, unless i move the pot.
So the Feed Rate DRO has a wrong value.

How can i move it to the true value?
Seems like the brain does not work when the value is the same...(???) (i dont know)

How can this be solved?
Have you faced it before?

Any ideas would help...

KInd regards,
Giannis

Offline thosj

*
  •  532 532
    • View Profile
Re: Pokeys analog input & Feed Rate DRO
« Reply #1 on: March 26, 2011, 10:14:33 AM »
Take a look at mine and compare, mine works fine and if the pot is at, say 50% when Mach3 starts, that's what it shows. Mine does delay a bit, but I just thought it was Mach, not sure it has anything to do with the brain or not.

Tom
--
Tom
Re: Pokeys analog input & Feed Rate DRO
« Reply #2 on: March 26, 2011, 10:28:38 AM »
Its does the same thing!
(When i hit reset button to enable, goes to 100%)

Maybe it has to do with any configuration in Mach?

Offline thosj

*
  •  532 532
    • View Profile
Re: Pokeys analog input & Feed Rate DRO
« Reply #3 on: March 26, 2011, 11:08:52 AM »
Hmmm......I don't know. I just fired up my mill, had the FRO pot at approx. 3/4 range. When Mach started it said 72%. Hit Reset, it was still 72%.

When you tried my brain, you disabled yours, right? And be sure mine has the same PoKeys ModIO setting as yours. Mine is on Pokeys Pin 45, ModIO 126.

Here's how it works in Mach

Pokeys and Analog Pots

Pokeys pins 43 - 46 map to ModIO 124 - 127

Pin 43 = 124
Pin 44 = 125
Pin 45 = 126
Pin 46 = 127

I don't think any other config in Mach other than the brain.
--
Tom
Re: Pokeys analog input & Feed Rate DRO
« Reply #4 on: March 26, 2011, 11:44:20 AM »
Yes of course i made these changes and also bypassed your LED.
Giannis

Offline thosj

*
  •  532 532
    • View Profile
Re: Pokeys analog input & Feed Rate DRO
« Reply #5 on: March 26, 2011, 11:53:00 AM »
I'm not much of a brain expert, but try it with the LED. The Led is just set, then used to RESET FRO, so maybe that's it.

You could post yours here and I'll see what it does on my machine. Or, if Hood shows up, he may have some insight, he's the guy who originally wrote the brain I use.
--
Tom
Re: Pokeys analog input & Feed Rate DRO
« Reply #6 on: March 26, 2011, 12:35:33 PM »
I just checked. (Thank you sharing the brain!)

The use of the LED, locks the value to 100%. (The pot cannot be used.)
Also the Reset FRO sets the Feed Override to 100%.

So, also with LED its the same reaction.

Maybe Reset button resets also the FeedRate Override.

Still looking for the answer...

Offline thosj

*
  •  532 532
    • View Profile
Re: Pokeys analog input & Feed Rate DRO
« Reply #7 on: March 26, 2011, 05:25:43 PM »
So....the first 3 lines of my brain just reset to 100% when it's about 3% either side, so it's not floating around near 100%, flickering the LED in Mach. You could delete those 3 lines of the brain and the last two lines should do the FRO thing at 150%. It doesn't do that for you? You could change the formula to a/5.12 to get 200%. If those don't work, I have no idea. Works for me just the way it's written, FRO starts up at whatever the pot is set to, lives thru RESET, and moves to whatever the pot sets it to, and it jumps to 100% when it's around 100% +/- approx. 3%.

Again, the offer stands, upload your brain and I'll see if it works here, and take a look at it, for what it's worth. Can't hurt!
« Last Edit: March 26, 2011, 05:28:38 PM by thosj »
--
Tom
Re: Pokeys analog input & Feed Rate DRO
« Reply #8 on: March 27, 2011, 05:12:52 AM »
Ok, the problem was found!
I went to Config-->General Config--> FeedOverRide Persist should be checked!

Thank you very much for your time and for the brain also (witch i will use - i like the "near 100%" method)

Kindest regard,
Giannis
Re: Pokeys analog input & Feed Rate DRO
« Reply #9 on: September 04, 2014, 05:23:12 PM »
hello,

I have tryied to use your brain, but i need a feedoverride of 300% and i don't know how the formula works... How you can set the formula a/3.6 for 150% and 5.12 for 200%?

someone can explain me how this formula work?

thanks