Making the Probe status visible on the GUI
20 Jul 2023 09:52 #275877
by rodw
Replied by rodw on topic Making the Probe status visible on the GUI
But it will need to be in a postgui hal file
The following user(s) said Thank You: PedroSMS
Please Log in or Create an account to join the conversation.
20 Jul 2023 10:30 #275882
by PedroSMS
Replied by PedroSMS on topic Making the Probe status visible on the GUI
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
I think that's HAL type syntax - I'll find a file to try it out in...
Kind regards
Pedro
Please Log in or Create an account to join the conversation.
21 Jul 2023 04:22 #275928
by cmorley
the one on the tool tab must be connected - I should probably change that too.
Replied by cmorley on topic Making the Probe status visible on the GUI
There are two LEDS - the one on the probe screen automatically follows the probe pin.Must be a new feature so I'll have to add it. Something like this
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.
the one on the tool tab must be connected - I should probably change that too.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
21 Jul 2023 04:28 #275930
by PedroSMS
Replied by PedroSMS on topic Making the Probe status visible on the GUI
Please Log in or Create an account to join the conversation.
11 Oct 2023 19:58 #282767
by theslawek
Replied by theslawek on topic Making the Probe status visible on the GUI
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.
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 or Create an account to join the conversation.
11 Oct 2023 20:15 #282770
by rodw
Replied by rodw on topic Making the Probe status visible on the GUI
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.
qtdragon.led-probe
The following user(s) said Thank You: theslawek
Please Log in or Create an account to join the conversation.
12 Oct 2023 03:24 #282794
by theslawek
Replied by theslawek on topic Making the Probe status visible on the GUI
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.
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.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds