Hello all,
I need some help to figure this out with least amount of logic. What I am trying to do is to find the laragest value from group of 4 numbers and use it as my input for logic to be added later. In real life, these numbers will be varying dynamically (RPM values from 4 motors) and I need to pick the highest value for my needs. This is the logic I cameup with so far and it seems to work (unless I missed something). However, the more I look at it, I can't help but feel there has got to be a a simpler way way of doing this (with much less code). But can't seem to put my finger on it. May be one of you super WIZ bang PLC guru's who do stuff like this in their sleep could give me some pointers. That is, w/o using pointers
Thanks
I need some help to figure this out with least amount of logic. What I am trying to do is to find the laragest value from group of 4 numbers and use it as my input for logic to be added later. In real life, these numbers will be varying dynamically (RPM values from 4 motors) and I need to pick the highest value for my needs. This is the logic I cameup with so far and it seems to work (unless I missed something). However, the more I look at it, I can't help but feel there has got to be a a simpler way way of doing this (with much less code). But can't seem to put my finger on it. May be one of you super WIZ bang PLC guru's who do stuff like this in their sleep could give me some pointers. That is, w/o using pointers
Thanks