Change standart Name of Beckhoff models
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
26 May 2022 15:06 #243902
by TheRoslyak
Change standart Name of Beckhoff models was created 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
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
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
Less
More
- Posts: 790
- Thank you received: 275
26 May 2022 20:48 #243945
by db1981
Replied by db1981 on topic Change standart Name of Beckhoff models
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.
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.
- Rios
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 2
07 Jun 2022 09:01 #244713
by Rios
Replied by Rios on topic Change standart Name of Beckhoff models
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.
- db1981
- Offline
- Platinum Member
Less
More
- Posts: 790
- Thank you received: 275
07 Jun 2022 09:25 #244715
by db1981
Replied by db1981 on topic Change standart Name of Beckhoff models
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"
"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.051 seconds