wiring MPGs to 7i96s

More
4 years 1 month ago #252791 by HansU
Replied by HansU on topic wiring MPGs to 7i96s

linuxcnc.org/docs/devel/html/examples/mpg.html
do i need to include all this in the config including ilowpass, mux4(what is that), scale..etc

If you want to switch between different scalings of the MPG, or want to use one MPG for different axes, then yes.
Ilowpass you may need in every case for smoother jogging.
The following user(s) said Thank You: Masiwood123

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

More
4 years 1 month ago #252794 by Masiwood123
Replied by Masiwood123 on topic wiring MPGs to 7i96s
I would like the x encoder to follow jog velocity which is set in gui(not with increments 0.1,10,100,(physical selector) Z axis the same that.. also i dont need it for positioning, want it too works always(I mean while gcode not in progress).. also I would like both axes to work at the same time also I don't need any selector. I will have some frequent small operations on the lathe I am making and I would like to be able to do it manually, not via gcode, what else do I want I give a child or an old father to play with the hands and make something (those who don't know what a volt or watt is, and haven't even heard of gcode yet:)))Thank you all

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

More
4 years 1 month ago #252795 by Masiwood123
Replied by Masiwood123 on topic wiring MPGs to 7i96s

something like this

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

More
4 years 1 month ago #252933 by HansU
Replied by HansU on topic wiring MPGs to 7i96s
Then you don't need most of these examples. You only have to connect your pins
Code:
hm2_7i96s.0.inm.00.enc0-count hm2_7i96s.0.inm.00.enc1-count

to
Code:
axis.x.jog-counts axis.z.jog-counts

And set theses pins:
axis.x.jog-enable
axis.z.jog-enable

And set a scale:
axis.x.jog-scale
axis.z.jog-scale

But I would recommend to use the ilowpass for smoother jogging like in the second example. But you need two instances of that component.
The following user(s) said Thank You: Masiwood123

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

More
4 years 1 month ago #252951 by Masiwood123
Replied by Masiwood123 on topic wiring MPGs to 7i96s
that's very useful for me, thank you very much!.. and I barely understand anyway, and I don't need anything beyond that, it complicates the matter ..ilowpass as i understand should be ilowpass.0 and ilowpass.1.. as soon as I'm done, I'll report what I did, based on my picture, I should also connect the appropriate MPG inputs..
net mpg-1 encoder.0.phase-A <= hm2_7i96s.0.inm.00.input-00
net mpg-1 encoder.0.phase-B<= hm2_7i96s.0.inm.00.input-01
net mpg-2 encoder.0.phase-A <= hm2_7i96s.0.inm.00.input-02
net mpg-2 encoder.0.phase-B <= hm2_7i96s.0.inm.00.input-03
right?

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

More
4 years 1 month ago #252952 by PCW
Replied by PCW on topic wiring MPGs to 7i96s
No, the 7I96S has built in MPG encoder hardware so you don't deal
with A or B in hal

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

Moderators: PCW, jmelson
Time to create page: 0.063 seconds
Powered by Kunena Forum