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

Optimizing Codesys

spiritcore
2022-08-28
2022-08-29
  • spiritcore - 2022-08-28

    Hi,
    We have a complex program that we run on two devices and get significant timing differences.
    The first one is Delta AX8 with Intel Celeron J1900 and the second is PC running Win10 with Intel i7-6500U.
    It seems like the i7 is performing worse than the Celeron.
    Both run RTE 64 with SoftMotion license and the problematic program is a custom function of some calculations.
    I read the RTE manual and changed settings in the BIOS but it didn't solve it.

    I took pictures of most of the BIOS screens if the i7:
    https://imgur.com/a/qemW0Nr

    Any help would be appreciated.
    Thank you!

     
  • aliazzz

    aliazzz - 2022-08-28

    You should try using codesys Profiler to figure what parts of your code could be optimized. That is what the plugin is intended for.

     
  • spiritcore - 2022-08-29

    Thank you, but if I run the same code on both PLCs and I see that it runs fine on a weak Celeron CPU and not running OK on an i7 CPU it makes me believe that the issue is not on the code.

     

    Last edit: spiritcore 2022-08-29

Log in to post a comment.