Pins not recognized in halfile

More
29 Apr 2024 12:45 #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
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
29 Apr 2024 12:49 #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.
The following user(s) said Thank You: Lcvette, KS

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

More
29 Apr 2024 13:11 #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!
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
29 Apr 2024 13:38 #299319 by tommylight
Replied by tommylight on topic Pins not recognized in halfile
You are welcomed, always.
The following user(s) said Thank You: Lcvette

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

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