Comparing between SP19 patch 5 and patch 7

2026-08-20
2 days ago
  • jari-koivuluoma - 2026-08-20

    Hello. Has anyone here used project compare tool across different versions of Codesys? I tried the compare of the title but it does not seem to do much. It lets me choose the project files and then seems to be comparing but no results are ever shown. If the compare tool cannot be used how else would I keep 2 nearly identical projects in sync when the versions differ?

    On the other hand it might be possible to just have one project but then I would need to use the older codesys with older target device description to develop for devices that have newer device description. Codesys will let me do that but its not recommending it.

    Any advice?

     
    πŸ‘
    1
  • YIN

    YIN - 2 days ago

    Yes, I've run into the same thing with the project compare tool. In my experience it only really works when both projects were saved in the same IDE version, so comparing across patch 5 and patch 7 tends to show very little even though it lets you pick both files. It is not that you are doing it wrong, the tool just does not seem built for that gap.

    What I ended up doing was keeping one project as the master and working from a copy for the older setup. I made a copy of the patch 7 project, opened that copy in patch 5 and let it convert, then ran the compare between the converted copy and the original patch 5 project. That gave me a usable diff to work through, though I still had to check the device tree by hand, because some device description settings do not show up clearly in the compare view.

    If you go the single-project route, keep a backup of the patch 7 version before you change anything, and try the result in simulation before downloading it to a real controller. The compare will not catch a wrong device setting for you, and anything safety-related should never be left to a tool like this.

     

Log in to post a comment.