Hello, We have a system with PLCs with different byte order conventions - little endian/big endian. I'm looking for Codesys routines for converting data between a host's internal representation and Network Byte Order(like htons() and ntohs()). Thanks in advance
Hello, For our project we need a retentive timer functionality. We've created a function block that implements this functionality. I created my own library with this function block and added this library to a project. I get a lot of errors when I build the project - it doesn't recognize any type from the Standard library. Any help you can provide would be greatly appreciated. Thanks
Thanks for the link. We are going to use the timer in several projects. Is there any way to create a library or something like that in order to not include the retentive timer code in all our projects? Thanks in advance
We are converting our Ladder application to Codesys LD. Our Ladder supports a retentive timer. Its behaviour as follows: 1. As long as the input is TRUE, the timer counts down from its preset time. 2. When the input ceases to be true, the time left is "frozen", i.e., the timer stops counting but remains at the point in the countdown that it reached while the input was true. 3. When the input again becomes true, the timer resumes its countdown from the "frozen" point. Is there such a timer in Codesys...