Alright, i am back at the test PC.
@PCW: Thanks for that! Now i do understand that the input pins 16 and 17 dont need to be somewhere in the HAL, because those pins are already linked with "hm2_7i76e.0.7i76.0.0.enc0.count". Correct?
To count, the inputs must swing below 2V and above 3V relative to field ground
So, 4.10V is totally fine.
@rodw: I have read your build thread many times, really, but my problem is, i have no switches at all, so i dont know what i have to change in the HAL so that the MPG is always active just to test it.
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.
Thats a good point. Make sense for me, but again i dont know what i have to enter/change in the HAL to set one scale which is always active, so that no switches are needed.
It seems that i would need to study all those codes for linuxcnc and the complete MESA 7i76e manual or so, but i want to be honest: I want a working machine and not be a pro in Linuxcnc setup. Some time ago i wanted to set up a test pc and learn classic ladder etc., but i do not have a lot of time anymore, so i want spent my free time with other things than something which i will not really need a lot in future. Of course i would like to understand the configuration, because later when the mechanical part on the Lathe is done, i want a panel with a switch for the scale change (ordered the same as you have, but i already wrote that i think on page 1). Also i want to have some buttons to start/stop g code, but right now i just do not want to think about it. As soon as i get the switch for the scale and some buttons i will start thinking about that.
In my next post i will precisly explain my current setup, so that it will be easier to help me out.