using a hand wheel encoder

More
29 Aug 2015 23:36 #61893 by Clive S
I am toying with the idea of putting a hand wheel encoder on my mill like these

www.aliexpress.com/store/group/Electroni...categoryId=100006990

I notice that some are 25 pulse per rev and others 100 pulses per rev then you have 5v,12v or 24v they have A and B output but no index will they be ok to use with a mesa card.

In the link above they are priced at 43 $ and 23 $ I am not sure what the difference is apart from the material they are made of.

Could anybody advise please . ..Clive

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 03:15 #61902 by PCW
Replied by PCW on topic using a hand wheel encoder
If you are using a high speed mesa encoder input you want the 25 PPR
(100 count quadrature 4x mode) MPG, because the high speed encoder
inputs only support 4x quadrature mode

If you are using the encoders built into the 7I69, 7I70, 7I73, 7I76, 7I76E,
7I77, 7I84 or LinuxCNC's software encoder you will want the 100 PPR MPG
(because these support 1X quadrature mode)

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 13:29 #61912 by Clive S
Replied by Clive S on topic using a hand wheel encoder
Many thanks for the quick response.

I have the 5I25 7I76 setup I aim to use the encoder on that for the spindle on the lathe but I also want to jog the x and z with the hand wheel.

(I use the setup for the mill and the lathe with different profiles)

So I understand I will need the 100 pulse wheel but I will also have to purchase another card for the second encoder. But which card?

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 18:27 #61913 by cncbasher
Clive ,
just to say those handwheels work fine , use the pendant card addon to get the extra encoders , and you'll get some extra gpio as a bonus . the pendant module is smart serial , so a simple plug in to the 7i76
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 18:36 #61914 by LearningLinuxCNC
Clive,

I think you could simply hook up a quadrature A-B encoder to two general purpose IO pins on the existing mesa card and use the encoder HAL module to count the pulses. I am saying this because the hand wheel is not moving very fast and therefore the HAL component can keep up. Even if it does miss a pulse it will not be critical like on a servo or spindle.

You could use either 100 CPR or 25 CPR with the HAL component. Looks like they offer the hand wheels in many different voltages also. Be sure to get the right one for your setup.

Follow this link for more information on the encoder hal component.
www.linuxcnc.org/docs/html/man/man9/encoder.9.html
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 19:45 #61920 by Clive S
Replied by Clive S on topic using a hand wheel encoder
Ok "cncbasher" Would you happen to have a link for the pendant card add on? :cheer:

"Nitro" I like the idea of using the gp pins on the mesa card would I not need 4 pins to do it this way I am not bothered if the software misses a few step as I only want to jog.

Many thanks for the responses ..Clive

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 20:21 #61921 by LearningLinuxCNC
Clive,

By 4 pins I assume that you mean A, B, *A, and *B for differential input. I don't believe that the encoder HAL component can deal with differential signals so you would just use A and B and not connect *A and *B. If you must use the differential signal due to noise issues then you would need to use a differential to single ended adapter and you would still use two GPIO pins.

Here is an adapter.

cnc4pc.com/product_info.php/c46-differen...ere5dkd8ga3g395qh4m2

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 21:01 #61922 by PCW
Replied by PCW on topic using a hand wheel encoder
The 7I76 already has support for two MPGs so if 2 MPGs plus a spindle encoder is all that's
required, you are set.

The MPGs connect to the 7I76's field I/O like this:

Field I/O MPG
16 1 QUADA
17 1 QUADB
18 2 QUADA
19 2 QUADB

The MPG inputs work with single ended 5V signals

You need to select sserial mode2 to get access to the MPGs
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
30 Aug 2015 21:49 #61925 by Clive S
Replied by Clive S on topic using a hand wheel encoder
"Nitro" Thanks for the input (pardon the pun) I have made those adaptors before with the quad chip.

"PCW" That's great I have not got around to putting the cards in yet but looking forward to it shortly. I will no doubt be back again if I get stuck.

Please Log in or Create an account to join the conversation.

More
05 Nov 2015 17:59 #64802 by dannym
Replied by dannym on topic using a hand wheel encoder
Big fan of the XHC HB04 wireless MPG pendant when I was using Mach3- and to be honest their poor handwheel driver kept it from working like a handwheel at all but it was still incredibly useful because I could walk around the large router and get my alignment and zero on the work, even has an LCD readout.

The output format is well documented, and there's a LinuxCNC driver for it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.179 seconds
Powered by Kunena Forum