mpg without external button

More
14 Sep 2011 23:52 #13204 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

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

More
15 Sep 2011 07:32 - 15 Sep 2011 07:43 #13209 by cmorley
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 .
Last edit: 15 Sep 2011 07:43 by cmorley.

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

More
15 Sep 2011 15:55 #13213 by centipid
Thanks cmorley, I will try this tonight and will keep you updated.

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

More
05 Oct 2011 00:42 #13661 by centipid
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

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

More
05 Oct 2011 00:46 #13662 by cmorley
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.

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

More
05 Oct 2011 04:40 #13667 by centipid
Here you go Cmorley.

File Attachment:

File Name: custom_postgui.zip
File Size:1 KB
Attachments:

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

More
05 Oct 2011 04:51 #13669 by cmorley
looks like you connected
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.

More
10 Oct 2011 17:24 #13811 by centipid
It works!!!! Thanks for your help, Cmorley.

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

More
10 Oct 2011 19:21 #13812 by cmorley
you are very welcome

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

Time to create page: 0.091 seconds
Powered by Kunena Forum