Probe Basic - jog slider & status

More
19 Jan 2023 23:09 #262440 by spumco
I was able to connect my MPG & selector to halui.axis.jog-speed so now I've got a physical adjustment for jog speed. Same thing for FRO, SRO, and RRO.

Problem is that while the FRO, SRO, and RRO UI sliders and status DRO's are all responding to external inputs (i.e. move on screen with my encoders), the on-screen jog adjustment does not respond to external inputs.

Even though I have not connected to any of the qtpyvcp exported hal pins the overrides mentioned still work on screen.  Nor did I put anything in the post-gui hal file.  They just seem to work ok.

I'd like to connect the jog slider as well.  How can I do this?

Thanks,
R

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

More
20 Jan 2023 07:31 #262464 by Lcvette
try connecting to:  machine.jog.linear-speed-percentage

this is what the slider is connected to in probe basic.

 
Attachments:

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

More
20 Jan 2023 20:41 #262522 by spumco
Thanks.

Connect to machine.jog.linear-speed-percentage in postgui?  Is that pin name exposed to hal like qtpyvcp.rapid-override-reset?

Reason I ask is that I didn't see any qtpyvcp jog related pins exposed in halshow.

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

More
21 Jan 2023 02:32 #262538 by Lcvette

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

More
21 Jan 2023 04:49 #262552 by spumco
Sorry if I wasn't clear but I've already got the hal pins exported in my custom_config.yml file.  Same config as from the post you linked.

That's what I was referring to earlier when I wrote that I can see the qtpyvcp RRO/SRO/MVO reset pins in halshow.

It's the jog slider that doesn't appear to have an exported hal pin connection.

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

More
21 Jan 2023 05:53 #262554 by Lcvette
can you show how you have your other overrides connected? im looking into it but would help to see what you have setup.

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

More
21 Jan 2023 06:08 #262555 by Lcvette
ok so the other overrides are coded and exposed already the jog percentage slider is not, so will need to expose it probably in the back end to make it easy to access, need to see what is needed there to accomplish.

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

More
21 Jan 2023 06:26 #262556 by Lcvette
try this in the postgui hal file, but with your naming for the net input of course, this is just generic:

# *** Set Line Below for ui Jog Slider hal connection ***
net linear-jog-speed-external-input => qtpyvcp.machine.jog.linear-speed-percentage

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

More
21 Jan 2023 16:24 #262588 by spumco
Thanks, but no joy.
LCNC throws up with 'pin doesn't exist'

Looking at halshow there are only three exposed override-related pins:
qtpyvcp.feed-override.reset
qtpyvcp.rapid-override.reset
qtpyvcp.spindle-override.reset

On the other hand, what I don't understand is if only the xxx.override.reset pins are exposed, why do the RRO/FRO/SRO status dro's displays and sliders follow external inputs?

My (naive) common-sense tells me only the reset function should work as there's no obvious connection between halui.xxx-override.counts (in) ot halui.xxx-override.value (out).

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

More
21 Jan 2023 16:47 #262591 by spumco
The plot thickens...

It looks like rapid/feed/max-vel/spindle overrides are linked(?) to value changes in machine_actions.py and spindle_actions.py

Warning: Spoiler!


But the jog-override section of machine_actions.py doesn't appear to have the same 'onValueChanged' functions:
Warning: Spoiler!


I don't understand python, but it looks like the jog control was written differently than the other overrides.

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

Moderators: KCJLcvette
Time to create page: 0.200 seconds
Powered by Kunena Forum