manual jog of u and v axis

More
23 Dec 2015 21:19 #67274 by JohnK43
I got most of the foam cutter working but cannot figure out how to jog u and v in manual mode.

Is there somewhere to assign key presses to this?

JohnK43

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

More
23 Dec 2015 22:11 #67277 by andypugh
Replied by andypugh on topic manual jog of u and v axis

I got most of the foam cutter working but cannot figure out how to jog u and v in manual mode.


It looks like the key bindings are here:
github.com/jepler/linuxcnc-mirror/blob/c...cripts/axis.py#L3095

And UV (axes 6 and 7) are not mentioned.

You should be able to add bindings with a .axisrc file.
Maybe Alt + Arrow?

linuxcnc.org/docs/html/gui/axis.html#_axisrc

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

More
23 Dec 2015 23:23 #67279 by JohnK43
Replied by JohnK43 on topic manual jog of u and v axis
Thanks. I will work on it tomorrow. I think this will take some more learning on my part.

John

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

More
24 Dec 2015 06:22 - 24 Dec 2015 06:42 #67281 by Rick G
Replied by Rick G on topic manual jog of u and v axis
You can select the axis in the manual control panel and use the + or - keys on the keyboard to jog forward and reverse.
Or the + or - buttons in the manual control panel.

Rick G
Last edit: 24 Dec 2015 06:42 by Rick G.

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

More
24 Dec 2015 18:56 #67295 by JohnK43
Replied by JohnK43 on topic manual jog of u and v axis
Thanks for the info. Somehow I missed that. Still think I will try to assign one key press to jog.
Learn something new every day.

John K

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

More
26 Dec 2015 15:59 #67345 by JohnK43
Replied by JohnK43 on topic manual jog of u and v axis
Andy thanks for the help. Progress is being made. I had found a post by Jeff talking about how to bind keys to the jog command but now I can't find it again. I have searched a few times but obviously don't remember the magic words in the post.

any help would be appreciated...

On the next idea is it possible to jog two axis at the same time with the same key.

For the foam cutter I would like to position the machine and push a jog button and have the machine move in x,u or y,v at the same time. i:e: a straight cut in one dimension manually.

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

More
26 Dec 2015 18:30 #67348 by andypugh
Replied by andypugh on topic manual jog of u and v axis

Andy thanks for the help. Progress is being made. I had found a post by Jeff talking about how to bind keys to the jog command but now I can't find it again. I have searched a few times but obviously don't remember the magic words in the post.


I can't remember either, as it happens, but googling found me this:
thread.gmane.org/gmane.linux.distributio...er/12638/focus=12642

On the next idea is it possible to jog two axis at the same time with the same key.


If I might make a suggestion, can you set up a jogwheel? having got used to one I don't particularly like keyboard jogging any more, and it is much easier to set up dual-axis jogging with the halui interface / motion interface than by editing the Axis gui.

You basically need to connect the "counts" pin of the axis in question to the axis.N.jog-counts pin, then you can set the axis.N.jog-enable pins in any way you wish (probably a PyVCP panel)
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html

What scares me about keyboard jogging is that it all passes through the GUI, which is not realtime. There is no guarantee that the key-up event will always be seen, so the jog isn't guaranteed to stop.

For manual cutting, have you considered MDI? It's not as bad to type G1 X30 U30 F200 as you might think, and you can queue commands up too.

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

More
26 Dec 2015 19:19 #67349 by JohnK43
Replied by JohnK43 on topic manual jog of u and v axis
That was the one I was reading. Will try some of it here in a little bit. You should never assume I know what I am doing
cause some days I am not sure of anything.

Any advice is welcome. A jog wheel or wheels sounds like it would be a good idea. What kind do you have.

Getting used to typing commands is probably a good idea as well. If nothing else it makes you think about what
you are about to do.

Thank you again for the time and effort.

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

More
26 Dec 2015 23:08 #67354 by andypugh
Replied by andypugh on topic manual jog of u and v axis

A jog wheel or wheels sounds like it would be a good idea. What kind do you have..


I am using a "bare" one connected to an MPG counter on a Mesa board, but connected to a parport would also work.
www.ebay.co.uk/itm/281397093021

It ought to be possible to use now of the XHC style ( www.ebay.co.uk/itm/261868902355 ) but I have a feeling that the LinuxCNC driver is a bit too locked-in to XYZA mode.

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

More
27 Dec 2015 01:15 - 27 Dec 2015 01:17 #67359 by dgarrett
Replied by dgarrett on topic manual jog of u and v axis

It ought to be possible to use the XHC style
... but I have a feeling that the LinuxCNC driver is a bit
too locked-in to XYZA mode.


The driver (xhc-hb04.cc) uses nomenclature as xyza because that
is how the device's physical controls are labeled. That does not prevent
a user from assigning the pins with xyza names otherwise.

The optional script (LIB:xhc-hb04.tcl) provided and demonstrated with
sim configs in theconfigs/sims/axis/xhc-hb04 directory supports arbitrary assignments
using an ini file parameter for coordinates.
For example:
[XHC_HB04_CONFIG]
...
coords = x y z c
...
Results in signal assignments like:
$ halcmd show pin xhc-hb04.jog.enable\*
Component Pins:
Owner   Type  Dir         Value  Name
    62  bit   OUT         FALSE  xhc-hb04.jog.enable-a ==> pendant:jog-c
    62  bit   OUT         FALSE  xhc-hb04.jog.enable-x ==> pendant:jog-x
    62  bit   OUT         FALSE  xhc-hb04.jog.enable-y ==> pendant:jog-y
    62  bit   OUT         FALSE  xhc-hb04.jog.enable-z ==> pendant:jog-z
    ...


Ref: (driver manpage):
linuxcnc.org/docs/2.7/html/man/man1/xhc-hb04.1.html

Ref: (sim example configs with README and examples):
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...69;hb=refs/heads/2.7
Last edit: 27 Dec 2015 01:17 by dgarrett.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum