dash
Lifetime Supporting Member
I have allways been frustrated that the CLX subroutines do not give you a way to develop a true function block routine (like in Wago & Siemens) where you can declare each use of the function block and it keeps each instance separate. I also miss true pointer based addressing which makes a lot of that possible.
Any how this is my closest approximation of how to uses some of the more common features of timers and counters with UDTs & create truly reusable subroutines. I have not seen a Rockwell example like this, but I may have not searched on quite the right terms.
Does anyone have a better solution, comments, etc?
Any how this is my closest approximation of how to uses some of the more common features of timers and counters with UDTs & create truly reusable subroutines. I have not seen a Rockwell example like this, but I may have not searched on quite the right terms.
Does anyone have a better solution, comments, etc?
Last edited: