Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

update of .dbc file

BY
2021-11-17
2021-12-10
  • BY

    BY - 2021-11-17

    Hello All,

    I import .dbc file to the J1939 Manager and map the variables inside of it. Then I add a message to the dbc file and again I want to update dbc file on the codesys project side. But there is no update option. If I import again then my mapping settings are gone. Do you know how to update dbc without loosing mapping part?

    Thanks in advance,

     
  • BY

    BY - 2021-11-17

    Hi again everyone.
    I think I solved the problem. You can "export mappings to CSV" feature when you mapped your variables inside of the ECU node. Then after you imported new dbc, you can right click to the ECU and click "import mappings from CSV" feature. Then your old mappings will be there.

     
  • johnhastech

    johnhastech - 2021-12-10

    Hi BY,

    Could you tell me how you imported your DBC file? I have one to import but I can't find how to import it into my instance of Codesys!

    Cheers,

    John

     
  • BY

    BY - 2021-12-10

    Hi johnhastech,

    Which version of codesys you are using? In order to import dbc file, I guess your version should be at least SP17. Otherwise you cannot see "import dbc" feature.

    If you are using lower version of codesys mandatorily, then you can download sp17 free and import your dbc there. then copy and paste to your main project.

     

Log in to post a comment.