- Posts: 4
- Thank you received: 0
Pins not recognized in halfile
2 years 6 months ago #299315
by KS
Pins not recognized in halfile was created by KS
Hi there,
that's my first post here as I came to obstacle and need some support. Installed latest LinuxCNC and configured probe basic. Now there is a field "Spindle Load" which should read value from:
qtpyvcp.spindle-load-indicator.in-f
I can find it in halshow and even manualy write some value.
Now need to connect some value here, let's say from ladder:
net sp_ld qtpyvcp.spindle-load-indicator.in-f <= classicladder.0.out-01
but this results in crash:
./mill.hal:87: Pin 'qtpyvcp.spindle-load-indicator.in-f' does not exist
How to make qtpyvcp pins available in hal file? Or there's another way to write spindle load to qtpyvcp?
thanks
Krzysztof
that's my first post here as I came to obstacle and need some support. Installed latest LinuxCNC and configured probe basic. Now there is a field "Spindle Load" which should read value from:
qtpyvcp.spindle-load-indicator.in-f
I can find it in halshow and even manualy write some value.
Attachment not found
Now need to connect some value here, let's say from ladder:
net sp_ld qtpyvcp.spindle-load-indicator.in-f <= classicladder.0.out-01
but this results in crash:
./mill.hal:87: Pin 'qtpyvcp.spindle-load-indicator.in-f' does not exist
Attachment not found
How to make qtpyvcp pins available in hal file? Or there's another way to write spindle load to qtpyvcp?
thanks
Krzysztof
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 6 months ago #299317
by tommylight
Replied by tommylight on topic Pins not recognized in halfile
Put that in postgui.hal file, not in the main hal, probably those pins are created by GUI so when trying to load from the main hal, they still do not exist.
This is just a guess.
This is just a guess.
Please Log in to join the conversation.
2 years 6 months ago #299318
by KS
Replied by KS on topic Pins not recognized in halfile
Thank you for fast response.
Put that line in file probe_basic_postgui.hal as it was defined in INI file and now it works!
Put that line in file probe_basic_postgui.hal as it was defined in INI file and now it works!
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 6 months ago #299319
by tommylight
Replied by tommylight on topic Pins not recognized in halfile
You are welcomed, always.
Please Log in to join the conversation.
Time to create page: 0.154 seconds
