Making the Probe status visible on the GUI

More
3 years 3 months ago #275877 by rodw
But it will need to be in a postgui hal file

Please Log in to join the conversation.

More
3 years 3 months ago #275882 by PedroSMS
Thank you very much for that reply.

I think that's HAL type syntax - I'll find a file to try it out in...

Kind regards
Pedro

Please Log in to join the conversation.

More
3 years 3 months ago #275928 by cmorley

Must be a new feature so I'll have to add it. Something like this

Code:
net probe-sig <= lcec.0.3.in-06 net probe-sig => motion.probe-input net probe-sig => qtdragon.led-probe Where lcec.0.3.in-06 is my EtherCAT input pin the probe is attached to. 
 
There are two LEDS - the one on the probe screen automatically follows the probe pin.
the one on the tool tab must be connected - I should probably change that too.

Please Log in to join the conversation.

More
3 years 3 months ago #275930 by PedroSMS
With a little bit of reverse-engineering :-

My probe input was already assigned a net "probe-in"

The LED is named "hal_led_probe", therefore adding this line
net probe-in => qtdragon.hal_led_probe

To file "custom_postgui.hal" got it to WORK
 

Please Log in to join the conversation.

More
3 years 2 weeks ago #282767 by theslawek
I'm trying the same, but getting this dreaded error:
custom_postgui.hal:4: Pin 'qtdragon.hal_led_probe' does not exist

In my machine.hal I have: net probe_in <= parport.0.pin-15-in-not
Using HAL_METER I can see the pin toggle when I touch my clip to the plate.

In my custom_postgui.hal I have: net probe-in => qtdragon.hal_led_probe

Running LinuxCNC 2.9 on a fresh Debian 12.2 install with linuxcnc_uspace package. I've googled and searched endlessly. Cannot find the solution.

Attaching all pertinent files. Thanks.
 

Please Log in to join the conversation.

More
3 years 2 weeks ago #282770 by rodw
When you get a pin not found error, comment out the problem line in your hal file and run the gui again. When it opens. use halshow to check the pin names. Usually you have a spelling error. When I did this, I found this pin which I think is the one you need.
Code:
qtdragon.led-probe 

Please Log in to join the conversation.

More
3 years 2 weeks ago #282794 by theslawek
That did it! Thank you.

I had two problems. I was using probe_in instead of probe-in (underscore vs dash), and hal_led_probe instead of led-probe.

Now on to getting z probe height touchoff and tool length working. Nothing happens after homing, setting a tool, and pressing "TOUCH PLATE". I don't want to hijack this thread though.

Please Log in to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum