dginbuffalo
Member
Hello again- after the nice thread on filling the .pre's on timer arrays, I'm in another bind.
I need to look at 60 timer_array.dn bits and see if any of them are on so i can flag a main alarm. I tried unsuccessfully with AB chat and they dumped me because it's a programming question-lol.
The only thing I can think of is to either create an indexer to step through the array and see if array_timer[0].dn is greater than zero?
Or copy and index all the array_timer.dn bits and move into 2 DINT's and then see if they are greater than 0?
Maybe I'm missing the obvious- any ideas??
I need to look at 60 timer_array.dn bits and see if any of them are on so i can flag a main alarm. I tried unsuccessfully with AB chat and they dumped me because it's a programming question-lol.
The only thing I can think of is to either create an indexer to step through the array and see if array_timer[0].dn is greater than zero?
Or copy and index all the array_timer.dn bits and move into 2 DINT's and then see if they are greater than 0?
Maybe I'm missing the obvious- any ideas??