Change standart Name of Beckhoff models

More
26 May 2022 15:06 #243902 by TheRoslyak
Hi everyone. 
Tell me if it is possible to set standard Beckhoff modules (like EL2008),own names. Better in xml because it is first layer then hal-layer.
I need address to several hundred pins. And if it have name lcec.0.D2.dout-0 ("D.OUT.1") or lcec.0.D3.dout-0 ("D.OUT.9") and etc
I know that I can set signal name in Hal. But better that I will describe in xml 
Attachments:

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

More
26 May 2022 20:48 #243945 by db1981
if you want to set names for single pins from precoded Modules, this is not possible.
This would need changes in the source from the Beckhoff Module Drivers and lcec_conf.

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

More
07 Jun 2022 09:01 #244713 by Rios
This is also a question that i have , if we cant change the name directly in the lcec pins , how can we at least change/link for example the "lcec.0.C1_IN_1.din-0" to any named variable ?

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

More
07 Jun 2022 09:25 #244715 by db1981
this has to be done in hal.

"net water-sensor <= lcec.0.C1_IN_1.din-0" links your lcec pin to the net "water-sensor" after this you can use "water-sensor" in your hal.

"net water-coil => lcec.0.dout-xxx"
"net water-sensor => water-coil"

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

Time to create page: 0.066 seconds
Powered by Kunena Forum