Connecting HAL pins to Gladevcp panel

More
10 years 4 months ago #76261 by terkaa
Hi,

I need to connect custom HAL component pins to Mesa IO card, my custom HAL component and also to GladeVCP panel. What is best method of doing this? Ie. I want to connect input that indicated that tool changer arm is in vertical position:

net atc_arm_is_vertical atc_panel.hal_atc_arm_is_vertical armatc.0.arm-is-vertical hm2_5i25.7i70.0.4.input-03

Above cannot be done in core HAL because it needs to be post gui. So is defining all these pins in postgui.hal ok? Or is there a way to define:

net atc_arm_is_vertical armatc.0.arm-is-vertical hm2_5i25.7i70.0.4.input-03

And then connect this name atc_arm_is_vertical to atc_panel.hal_atc_arm_is_vertical in Postgui.hal afterwards?

[IMG


Tero

Please Log in to join the conversation.

More
10 years 4 months ago #76262 by terkaa
Ok,

Right after posting I found solution. Using:

net atc_arm_is_vertical armatc.0.arm-is-vertical hm2_5i25.7i70.0.4.input-03

In core HAL and:

net atc_arm_is_vertical atc_panel.hal_atc_arm_is_vertical

In Postgui.hal is ok.

Tero

Please Log in to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum