How to read Jog Speed in HALUI?

More
18 Oct 2009 19:28 #987 by Andy123
How to read Jog Speed in HALUI?

I know I can write to halui.jog-speed, but I need to read the value set in AXIS using slider

What I amtrying to do is to jog selected axis using external pushbuttons

I connected buttons to halui.jog.selected.minus and halui.jog.selected.plus
But want to use currently selected Jog Speed from Axis.

Thanks

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

More
18 Oct 2009 20:06 #988 by cmorley
Currently There is no way to get that info from AXIS.
AXIS would have to export a pin with it or export a message to HALUI (and HALUI accept it)
Neither program can do that.
Ask the developers on the mailing list- see what they say.

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

More
18 Oct 2009 20:21 #989 by Andy123
At least I am not missing something after looking for hours

This is kind of inconsistent bacause I can read and set 3 other sliders: Feed Override, Spindle Override, and Max Velocity


Also related - I guess there is not way to read/set joint selection radio buttons :( - am I right?

Thanks

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

More
18 Oct 2009 21:08 #990 by cmorley
no on changing the radio buttons on th gui with HALUI (I just tried this yesterday actually).
To be fair there is a particular problem with say jog speed changes using a real dial and a GUI slider.
The GUI slider can easily track the real dial, so the real dial and the slider say the same rate.
It is not possible to have the real dial track the GUI slider, so one could have the slider and the real dial
at two different speeds. which one should EMC use?

The selected axis problem is similar unless you use momentary on buttons to select axis.

What would be nice is if AXIS could be told just to display what the real panel said and not respond to mouse input.
Well how about lots of options so people can set it more like they want.
Thats the problem wit EMC we are used to being able to get what we want (with some work) :)

How do you solve the problem with feed override etc of real dial and GUI dile not being the same?

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

More
18 Oct 2009 21:41 #992 by Andy123
I agree with most of your statements.

I am working with industrial controls for 26 years and this always been a rule that only one output is active and controls the data.

I did not play too long with other sliders - I just dont need them yet, but I think the way other slider controls moved externally is similar to MPG - add/subsract value to the current settings that effectively moving GUI sliders while EMC always uses GUI values.

This does not work with Jog Speed for some unknown reason.

The GUI slider can easily track the real dial, so the real dial and the slider say the same rate.

Not for Jog Speed, at least I don't know how to do it
Writing value to halui.jog-speed does not move slider

I am trying to build USB handheld pendant
I am using simple USB microcontroller that is reading MPG and few buttons

I can select X, Y, Z, MPG Scale and send it to EMC
Once I selected an axis, I would like to move GUI radio button also

I also want to have Jog+/- buttons that would move selected joint at predefined Jog Speed (GUI Slider)
So far I can use constant only and this is not what I want :(



This is just for a small desktop router, so I guess I will keep it as is until developers add this feature...

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

More
18 Oct 2009 22:04 - 18 Oct 2009 22:09 #993 by cmorley

The GUI slider can easily track the real dial, so the real dial and the slider say the same rate.

Not for Jog Speed, at least I don't know how to do it
Writing value to halui.jog-speed does not move slider[/quote]

Sorry I should have wrote The GUI COULD (if programmed)...
It is not programmed to do that.

This is just for a small desktop router, so I guess I will keep it as is until developers add this feature...


The developers probably won't add this unless they are solicited to.
And they will want reasons for it. (you have good reasons)
Again mostly because of the mentioned problems and not many people formally ask for change.
Last edit: 18 Oct 2009 22:09 by cmorley.

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

More
18 Oct 2009 22:22 - 19 Oct 2009 21:54 #994 by Andy123
I am new to EMC - using it for about 3 weeks and don't know what is possible to ask for and what is not

In any case I like consistency, for me if 3 other sliders have it then I see no reason why Jog Slider shold not have it

I just wanted to be sure that I did not miss it
Last edit: 19 Oct 2009 21:54 by Andy123.

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

More
19 Oct 2009 06:55 #995 by alex_joni
The problem with jog speed is that the jog speed is a GUI-internal thing.
That means that AXIS has it's own setting, halui has it's own, etc.
Not sure this is the best way to do it, but that's how it's currently implemented.
As you can have more than one GUI connected to emc2 (AXIS, halui, tkemc, etc) each will have different slider values.

Regards,
Alex

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

More
19 Oct 2009 21:57 #998 by Andy123
I am not questioning current implementation, just it would be nice to have GUI Jog Speed value output pin

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

Time to create page: 0.138 seconds
Powered by Kunena Forum