Personal Data

Username:
maoravni
Joined:
2020-04-02 10:04:09

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I've just noticed that there are two network libraries: NetBaseServices and CAANetBaseServices. I don't know what's the difference between them, but all examples I've found is for the CAA one. Does anyone if there are any examples for NetBaseServices (Without the CAA)?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have a PLC with very strange PLC Load behavior. The project is running fine with all libraries upgraded to latest SP 17, except for TCP network traffic. TCP packets take forever to read and write - we've seen response times of 40 seconds. When checking the PLC load we see that the load is unusually high at ~60%. Checking the task monitor we don't see anything out of the ordinary - the background task where all of the communication is performed is taking ~1000us average cycle time. Max cycle time...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    My code has a reproducible case of infinite loop, but it only happens when running without any breakpoints. The observed behavior is the freewheeling task is not finishing. Debugging by setting breakpoints "fixes" this behavior. When I press "STOP" the application stops. I couldn't find any way to debug this - show me where the freewheeling task was executing before stop. Is there any way to break at the infinite loop (which I don't know where it's located in the code...)

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I'm seeing different behavior between the libraries, which makes my project work with the old version and not with the new version. First difference I can spot is TCP disconnection. The old version of the library sets tcp_connection.xActive to FALSE. In the latest version of the library when the TCP connection is dropped I get a receive error in the TCP_Reader, while the TCP_connection.xActive is still TRUE. And the documentation of the NetBase library is practically non-existent. Can anyone else...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    We have a library containing common infrastructure for our projects, like a TCP server. We're upgrading the project from Codesys 3.5.6.1 to 3.5.17.0. My question is regarding the included library versions in the project vs. the library versions in our infrastructure library. I've opened the library, upgraded all libraries to the newest, and deployed the library. When including our library the placeholders list shows the "CAA NetBase" library. When setting the NetBase library to version 3.5.17.0 the...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Does anyone how to provide the terrible feedback I have regarding the GIT package to CODESYS? Support mails are not handled as I would like because I need to purchase a ticket. It seems absurd to me that I have to purchase a ticket so I'm able to provide feedback. Does any one from the development team ever read posts in these forums? Because, for me, the GIT package is almost unusable in the current version. Anything from long file names that the OS can't handle, up to IDE that doesn't respond to...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have the following code: FUNCTION_BLOCK B VAR idA : INT; idB : INT; END_VAR METHOD FB_Init: BOOL VAR_INPUT bInitRetains: BOOL; // TRUE: the retain variables are initialized (reset warm / reset cold) bInCopyCode: BOOL; // TRUE: the instance will be copied to the copy code afterward (online change) idA : INT; idB : INT; END_VAR // B's FB_init: THIS^.idA := idA; THIS^.idB := idB; FUNCTION_BLOCK A VAR idA : INT; arrB : ARRAY[0..1] OF B[ (idA, 0), (idA, 1) ]; i : INT; END_VAR METHOD FB_Init: BOOL VAR_INPUT...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have the following code: FUNCTION_BLOCK B VAR idA : INT; idB : INT; END_VAR METHOD FB_Init: BOOL VAR_INPUT bInitRetains: BOOL; // TRUE: the retain variables are initialized (reset warm / reset cold) bInCopyCode: BOOL; // TRUE: the instance will be copied to the copy code afterward (online change) idA : INT; idB : INT; END_VAR // B's FB_init: THIS^.idA := idA; THIS^.idB := idB; FUNCTION_BLOCK A VAR idA : INT; arrB : ARRAY[0..1] OF B (idA, 0), (idA, 1) ; i : INT; END_VAR METHOD FB_Init: BOOL VAR_INPUT...

View All