Personal Data

Username:
czerwinb
Joined:
2021-12-26 06:06:07+00:00
Location:
CET

Projects

  • No projects to display.

Skills

  • No skills entered.

User Activity

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Thanks a lot for a hint! When I first saw your reply I hoped this is it, but... unfortunately it doesn't work since CoDeSys v2.3 says this pragma is not supported. Not only IsSimulationMode, but also the IF statement. You inspired me to check the CoDeSys help docs and I found that it supports a few use cases for other pragmas: It looks like it is time for a costly upgrade to e!COOCKPIT...

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi all, is it possible to detect that the program runs in the simulation mode in CoDeSys 2.3 rather than on the PLC? Why I need this? I own WAGO PLC 750-880 and I am using the SysRtcGetTime() function to read the PLC clock. As you know it doesn't work in the simulation mode, therefore I am using RTC() function block to simulate the clock by providing a certain date. Any ideas are welcome!

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi all, quite an old topic to resurrect, but I have a very related question. I would like to ask for an advice how to measure the speed or CPU load of the SysRtcGetTime() function. At my WAGO 750-880 PLC I am running a cyclic task to execute SysRtcGetTime() to read the clock at a given interval. The intention is to reduce CPU load - my assumption is that I do not need to read the clock at every cycle, as well as if the function was executed in the main program at every cycle it would impose higher...

View All