2 seperate MPG handwheels for each axis - CNC Lathe build

More
6 years 5 months ago #167983 by Mike_Eitel
A... I see a 5i25 in your configuration. I believe that the pncconf configurator is intelligent and offers only what the card can do...
My feeling is that you have the problem in the start where you choose your cards..
But sorry pncconf is years ago....

But anyhow. Taking a good sleep helps. I mostely burn things up when i press myself to hard.
The following user(s) said Thank You: tommylight

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

More
6 years 5 months ago #167984 by denhen89
Thanks Mike_Eitel.
The thing is i want currently only test the MPG handwheel. I have no switches for the scale or so, so i would somehow need to have a scale selector on the Linuxcnc GUI. Also i want the encoder to be active and not as some have it with a button or so, because i currently do not have those things here, so i think my test setup should be less complicated.

Just to explain my situation shortly and why i am "just testing right now": I am still doing the mechanical stuff at my CNC lathe, and i need about 2-3 weeks to get the mechanical part done, but the MPG Handwheels part sits all the time in my head, because i have never done it and i knew it will be difficult, but not that difficult. I want to get it done, so i will have a free head to continue with the mechanical part. :dry:

@tommylight: That sounds really great, because i need fresh air. I will visit my gf and go out for a walk with the dogs to get some energy for tomorrow :D If you really take your time to help me out on tomorrow then let me know when i should be online.
Thanks in advance and have a nice evening!
The following user(s) said Thank You: tommylight

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

More
6 years 5 months ago #167985 by denhen89
@Mike_Eitel: Where do you see that i choosed 5i25? The configurations/Hal i posted are from other poeple, but you would need to read everything i wrote to understand why i posted it. In PCCONF i choosed 7i76e and also my HAL i do nowhere have 5i25, but only 7i76e, so that should be correct as i have it.

PS: i tested the halmeter in linuxcnc, tryied all enc0 pins, but when turning the handwheel, nothing happens. When measuring on the A and B wires from the MPG then i get 4,10V when turning the wheel. Not sure why 4,10V and not 5V.

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

More
6 years 5 months ago #167994 by tommylight

Mike_Eitel wrote: I mostely burn things up when i press myself to hard.

Learned that when i was young and stubborn as hell, now i just leave everything and go grab a coffee somewhere else, not in the shop.
I am in Europe, or part of it, so European time should do just fine, but at some point i will have to go help a friend assemble a plasma cutter as he dismantled it to have it painted, probably under an hour or so.

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

More
6 years 5 months ago #167995 by PCW
The raw count for MPG field inputs 16,17 should be

hm2_7i76e.0.7i76.0.0.enc0.count

To count, the inputs must swing below 2V and above 3V relative to field ground

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

More
6 years 5 months ago #168006 by rodw
Really all the info you need is in my build thread. forum.linuxcnc.org/show-your-stuff/32029...build?start=20#85305
Hand editing your hal and ini files is the only way to go. Then you have total control.
pncconcf did not support the 7i76e when I started so I survived without it.
I use halshow a lot to watch pins and see what is going on as you can see more than one at a time in one window.
The only thing I thought of is that if you don't have the axis select switch installed, you might have to setp the MPG scale pin to a value. If it is 0 , nothing will happen.

ANd yes, I hit the wall heaps of times. So I Would stop for a day or so have a think then go back to it. Take Tommy's advice. Coffee is good!
The following user(s) said Thank You: Mike_Eitel, tommylight

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

Time to create page: 0.067 seconds
Powered by Kunena Forum