Hello to everyone
I have a project, where is 50 valves. So I made UDT that cointains all information about these ( inputs, outputs, watchdog timers etc.)
Now I am looking for some easy solution to create just one code for watchdogs. I does not seem reasonable to just duplicate (50 times!).
I konow there are solutions called "Indexed Subroutine" and "Buffered Subroutine" and I have seen some small presentations about them but cannot find any good excample, how really use these.
Has anyone of you tested it and how does it looks?
BR
Lauri
I have a project, where is 50 valves. So I made UDT that cointains all information about these ( inputs, outputs, watchdog timers etc.)
Now I am looking for some easy solution to create just one code for watchdogs. I does not seem reasonable to just duplicate (50 times!).
I konow there are solutions called "Indexed Subroutine" and "Buffered Subroutine" and I have seen some small presentations about them but cannot find any good excample, how really use these.
Has anyone of you tested it and how does it looks?
BR
Lauri