Symbol CAN-ID as variable?
-
- Posts: 3
- Joined: Thu 15. Feb 2024, 21:23
Symbol CAN-ID as variable?
Hello,
I am creating a project where the user can configure CANOpen devices by using the Panel in PCAN Explorer 6. Is there a way to write the CAN-ID field in Symbols?
For example:
The user enters the NODE ID they wish to configure the CANOpen device and click a Button to set the Node address to XXXh (which I can do with no issue using LSS). Next the user needs to configure the device using the Object Directory where the CAN-ID 600h + Node-ID XXXh just configured.
I am creating a project where the user can configure CANOpen devices by using the Panel in PCAN Explorer 6. Is there a way to write the CAN-ID field in Symbols?
For example:
The user enters the NODE ID they wish to configure the CANOpen device and click a Button to set the Node address to XXXh (which I can do with no issue using LSS). Next the user needs to configure the device using the Object Directory where the CAN-ID 600h + Node-ID XXXh just configured.
Re: Symbol CAN-ID as variable?
Hello,
no, the CAN ID of a symbol cannot be modified, it is determined solely by the definitions made in the loaded Symbols file.
no, the CAN ID of a symbol cannot be modified, it is determined solely by the definitions made in the loaded Symbols file.
-
- Posts: 3
- Joined: Thu 15. Feb 2024, 21:23
Re: Symbol CAN-ID as variable?
Thanks for the reply.
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Symbol CAN-ID as variable?
I had a customer in the past who changed a symbol file inside a script. This is possible if you have good VBS knowledge.
A symbol file could be changed at runtime (Apply) with a script. Maybe this is a solution for your project.
So that you „edit“ the ID in the Symbol File, based on the customer input of the node id.
Send a e-mail to our support, maybe i found the sample project again…
A symbol file could be changed at runtime (Apply) with a script. Maybe this is a solution for your project.
So that you „edit“ the ID in the Symbol File, based on the customer input of the node id.
Send a e-mail to our support, maybe i found the sample project again…
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Posts: 3
- Joined: Thu 15. Feb 2024, 21:23
Re: Symbol CAN-ID as variable?
Do you mean that you did send an email to support or I should? I haven't used VB in a while but I could probably figure it out with the help of a sample project.U.Wilhelm wrote: ↑Sat 17. Feb 2024, 11:22I had a customer in the past who changed a symbol file inside a script. This is possible if you have good VBS knowledge.
A symbol file could be changed at runtime (Apply) with a script. Maybe this is a solution for your project.
So that you „edit“ the ID in the Symbol File, based on the customer input of the node id.
Send a e-mail to our support, maybe i found the sample project again…
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Symbol CAN-ID as variable?
Send a email to support[at]peak-system.com.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------