Activity for joan-d

  • joan-d joan-d posted a comment on discussion Runtime 🇬🇧

    UPDATE: The program now works on the device, but only if I move the code from a function (FUN) and execute it directly on the program (PRG), after initializing all variables to 0. Not sure why the same code won't execute inside a function but will work fine in a program. If anyone has any idea on why this could be happening please let me know.

  • joan-d joan-d posted a comment on discussion Runtime 🇬🇧

    Hi, I'm trying to implement a combinatorial algorithm on an EATON XV-302. In the codesys simulator for the device the program works fine, with the function TIME() I found out it takes around 10-20ms to execute the function that contains the algorithm. However, the SoftPLC on the device will work until it reaches the function and then crash shortly afterwards. I've tried to reduce the number of combinations and thus reducing the computation effort as well, this has worked and the program stopped crashing,...

1