fari - 5 days ago

Hi everyone,

With the latest version of Codesys, it’s now possible to import DBC files directly into the J1939 Manager, which is great. However, I’m trying to achieve the same thing programmatically and can’t find any scripting functions related to import_dbc or any host_parameter that would let me configure PGNs and signal mappings automatically.

So far, I’ve managed to add the J1939 Manager and an ECU, and I can pass the DBC database to it, but I’m stuck when it comes to adding the signals.

Has anyone figured out if this can be done through scripting?
(Attached is an illustration of what I am trying to accomplish programmatically).

Thanks in advance.