mpg without external button
- centipid
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
14 Sep 2011 23:52 #13204
by centipid
mpg without external button was created by centipid
I need help in using or configuring MPG without external push button(hardware), but instead use the GUI to select which axis to jog. I'm new to emc2 and I successfully configure my machine except for MPG. I don't want to use additional hardware(button) to select the axis, I just want to utilized the GUI for that function.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7771
- Thank you received: 2055
15 Sep 2011 07:32 - 15 Sep 2011 07:43 #13209
by cmorley
Replied by cmorley on topic Re:mpg without external button
AXIS exports pins with names such as;
axisui.jog.x
That pin will be true when you select that axis in the GUI
You can connect that to (again for the X axis)
axis.0.jog-enable
then these
axis.0.jog-counts to an encoder counter
axis.0.jog-scale to axis.jog.increment
Some references (EMC 2.4.x:)
www.linuxcnc.org/docs/2.4/html/gui_axis....:Physical-jog-wheels
www.linuxcnc.org/docs/2.4/html/config_emc2hal.html
Hope that gives you the idea .
axisui.jog.x
That pin will be true when you select that axis in the GUI
You can connect that to (again for the X axis)
axis.0.jog-enable
then these
axis.0.jog-counts to an encoder counter
axis.0.jog-scale to axis.jog.increment
Some references (EMC 2.4.x:)
www.linuxcnc.org/docs/2.4/html/gui_axis....:Physical-jog-wheels
www.linuxcnc.org/docs/2.4/html/config_emc2hal.html
Hope that gives you the idea .
Last edit: 15 Sep 2011 07:43 by cmorley.
Please Log in or Create an account to join the conversation.
- centipid
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
15 Sep 2011 15:55 #13213
by centipid
Replied by centipid on topic Re:mpg without external button
Thanks cmorley, I will try this tonight and will keep you updated.
Please Log in or Create an account to join the conversation.
- centipid
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
05 Oct 2011 00:42 #13661
by centipid
Replied by centipid on topic Re:mpg without external button
Hello Cmorley,
Sorry for the delay response. I tried what you said but it didn't work. Can you please send me a sample code that I can load and test?
Thanks
Sorry for the delay response. I tried what you said but it didn't work. Can you please send me a sample code that I can load and test?
Thanks
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7771
- Thank you received: 2055
05 Oct 2011 00:46 #13662
by cmorley
Replied by cmorley on topic Re:mpg without external button
better if you zip your config files and post them.
I might add that i have not set up jogging as you have asked but it should not be a problem.
I might add that i have not set up jogging as you have asked but it should not be a problem.
Please Log in or Create an account to join the conversation.
- centipid
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
05 Oct 2011 04:40 #13667
by centipid
Replied by centipid on topic Re:mpg without external button
Here you go Cmorley.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7771
- Thank you received: 2055
05 Oct 2011 04:51 #13669
by cmorley
Replied by cmorley on topic Re:mpg without external button
looks like you connected
axisui.jog.a
axisui.jog.b
axisui.jog.c
instead of
axisui.jog.x
axisui.jog.y
axisui.jog.z
axisui.jog.a
axisui.jog.b
axisui.jog.c
instead of
axisui.jog.x
axisui.jog.y
axisui.jog.z
Please Log in or Create an account to join the conversation.
- centipid
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
10 Oct 2011 17:24 #13811
by centipid
Replied by centipid on topic Re:mpg without external button
It works!!!! Thanks for your help, Cmorley.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7771
- Thank you received: 2055
10 Oct 2011 19:21 #13812
by cmorley
Replied by cmorley on topic Re:mpg without external button
you are very welcome
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds