Your subjects says it. Look at halcmd documentation, alias command.
Will it help?

04/30/2016 02:47 AM, Dmitry Yurtaev rašė:
> i'm trying to organize my configs and having trouble doing it
> conveniently. i'd like to localize external connections in one place
> and give signals meaningful names. e.g.
>
> net x-neg-limit sscii.0.gpio.0.in-not
> net x-pos-limit sscii.0.gpio.1.in-not
> net stop sscii.0.gpio.11.in-not
>
> and then use signal names for actual connection:
>
> net x-pos-limit => axis.0.pos-lim-sw-in
> net x-neg-limit => axis.0.neg-lim-sw-in
>
> if wiring changes, i can just edit the first net definition. BUT! i
> also have a pyvcp panel with LEDs  showing inputs status. and i can't
> just write in posgui.hal
>
> net led-in0 sscii.0.gpio.0.in-not => pyvcp-led0
>
> because sscii.0.gpio.0.in-not was already named x-neg-limit! so i'm
> forced to use x-neg-limit name here which ruins routing localization
> attempt...
>
> am i missing something? is there a way to make a connection without
> referring to a signal name which was given to it before?
>
> /dmtiry


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to