Signal link problem
25 Nov 2022 11:32 #257614
by CNC_Tux
Signal link problem was created by CNC_Tux
Dear Community,
i have a problem with the signal link in the hal.
I use LinuxCNC 2.8.4 with MESA Card 7i76E and Gmoccapy with a XHC_WHB06B with the standard for the pedant.
All things are very well running, but i need some signal links about the modes Automatic and Manual
I try the make the link like " net ba-man halui.mode.is-manual" i got a message: Pin "halui.mode.is-manual" was already linked to signal "pdnt.mode.is-manual".
If i try "net ba-man pdnt.mode.is-manual" i got a message: Pin "pdnt.mode.is-manual" does not exist.
If i try "net ba-man whb.halui.mode.is-manual" i got a message: "Pin "whb.halui.mode.is-manual" was already linked to signal "pdnt.mode.is-manual"
I dont know whats wrong!?
If know someone a souloution, please let me know.
Thank you so much in advance
Cheers
Reinhard
i have a problem with the signal link in the hal.
I use LinuxCNC 2.8.4 with MESA Card 7i76E and Gmoccapy with a XHC_WHB06B with the standard for the pedant.
All things are very well running, but i need some signal links about the modes Automatic and Manual
I try the make the link like " net ba-man halui.mode.is-manual" i got a message: Pin "halui.mode.is-manual" was already linked to signal "pdnt.mode.is-manual".
If i try "net ba-man pdnt.mode.is-manual" i got a message: Pin "pdnt.mode.is-manual" does not exist.
If i try "net ba-man whb.halui.mode.is-manual" i got a message: "Pin "whb.halui.mode.is-manual" was already linked to signal "pdnt.mode.is-manual"
I dont know whats wrong!?
If know someone a souloution, please let me know.
Thank you so much in advance
Cheers
Reinhard
Please Log in or Create an account to join the conversation.
25 Nov 2022 11:51 - 25 Nov 2022 11:53 #257615
by HansU
Replied by HansU on topic Signal link problem
You can't connect one pin to several nets (=signals) and you can't connect one net to another.
Which pins do you want to connect?
I guess halui.mode.is-manual to whb.halui.mode.is-manual?
So according to your error message a signal named "pdnt.mode.is-manual" exists with the pin "halui.mode.is-manual" linked to.
So I guesswould do the trick without having seen your HAL file.
Which pins do you want to connect?
I guess halui.mode.is-manual to whb.halui.mode.is-manual?
So according to your error message a signal named "pdnt.mode.is-manual" exists with the pin "halui.mode.is-manual" linked to.
So I guess
net pdnt.mode.is-manual <= whb.halui.mode.is-manual
Last edit: 25 Nov 2022 11:53 by HansU.
Please Log in or Create an account to join the conversation.
25 Nov 2022 14:59 #257625
by CNC_Tux
Replied by CNC_Tux on topic Signal link problem
Hello HansU
the halui.mode.is manual is linked in the hal of XHC_WHB06B
The line looks like this:
"net whb.halui.mode.is-manual pdnt.mode.is-manual halui.mode.is-manual"
I need a signal from mode.is-manual to a output pin.
Nothing will work, an i dont have any idea how can make this link.
Cheers
Reinhard
the halui.mode.is manual is linked in the hal of XHC_WHB06B
The line looks like this:
"net whb.halui.mode.is-manual pdnt.mode.is-manual halui.mode.is-manual"
I need a signal from mode.is-manual to a output pin.
Nothing will work, an i dont have any idea how can make this link.
Cheers
Reinhard
Please Log in or Create an account to join the conversation.
25 Nov 2022 15:44 #257627
by HansU
Replied by HansU on topic Signal link problem
ProbablyOtherwise please post yout HAL file(s).
net whb.halui.mode.is-manual => your_output_pin
Please Log in or Create an account to join the conversation.
25 Nov 2022 22:16 - 25 Nov 2022 22:17 #257648
by chris@cnc
Replied by chris@cnc on topic Signal link problem
I also struggle with this pin. Line 44 in the file. line 43 is the original.
For some reason, the standard hal was not working. Here is my whb.hal
near similar to the original with some personal notes. Hope it helps
For some reason, the standard hal was not working. Here is my whb.hal
near similar to the original with some personal notes. Hope it helps
Last edit: 25 Nov 2022 22:17 by chris@cnc.
Please Log in or Create an account to join the conversation.
26 Nov 2022 08:54 #257668
by CNC_Tux
Replied by CNC_Tux on topic Signal link problem
Good morning Chris,
thank you so much for your HAL and support, i will try directly on Monday.
Cheers
Reinhard
thank you so much for your HAL and support, i will try directly on Monday.
Cheers
Reinhard
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds