Pins not recognized in halfile

More
2 years 6 months ago #299315 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.

 

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.

More
2 years 6 months ago #299317 by tommylight
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.

Please Log in to join the conversation.

More
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!

Please Log in to join the conversation.

More
2 years 6 months ago #299319 by tommylight
You are welcomed, always.

Please Log in to join the conversation.

Time to create page: 0.154 seconds
Powered by Kunena Forum