Hello all, I am sure this is brought up all the time. Looking for an RTO type of FB in CODESYS. Anyone have any luck porting this functionality over from AB? Please advice
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
would you be so kind and post a definition or a link to a definition of this RTO timer FB? That would most helpfull, thank you in advance. Maybe OSCAT has this type of timer allready implemented, but without your definition It wll be more difficult to help.
Last edit: aliazzz 2020-08-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello aliazzz Please see the attached timing diagram for RTO in AB. I have included my implementation as well in this forum. Also, please let me know if it can be improved etc.
Hello all, I am sure this is brought up all the time. Looking for an RTO type of FB in CODESYS. Anyone have any luck porting this functionality over from AB? Please advice
more posts ...
I found something for you here
This is not my code, this is code from the link
Ok this is a good start. Doesn't have the "Preset Time" input and doesn't have the Done output bit.
would you be so kind and post a definition or a link to a definition of this RTO timer FB? That would most helpfull, thank you in advance. Maybe OSCAT has this type of timer allready implemented, but without your definition It wll be more difficult to help.
Last edit: aliazzz 2020-08-29
Hello aliazzz Please see the attached timing diagram for RTO in AB. I have included my implementation as well in this forum. Also, please let me know if it can be improved etc.
After looking all over the Internet and in this fourm I decided to take a stab at it. I am sharing the first implementation of the CODESYS RTO block.
Download file
Usage
Based on the attached timing diagram. That's all the documentation I had.
Last edit: mandeepahujaifm 2020-08-31
Hi,
A tip: you can also submit your code in the snippets corner as then all submitted code is easy to browse/find/search;
https://forge.codesys.com/tol/iec-snippets/snippets/
Plus, offcourse kudoes for the effort, it looks very complete! π
PS => Your download button does NOT work at time of my posting
Last edit: aliazzz 2020-08-31