Test whether one value is within the limit range of two other values
Let go back to our HPU system. When the temperature of the oil is >= 50 degree and <=125 degree then we are in operating mode. That means we have the permission to run the HPU System.
Ladder Logic Solution
- Temperature element I:3.0
- HPU No permission B3:0/0
We test our temperature the both limits. The low limit is 50 degree and High limit is 125. If the temperature is outside this range then we don't have the permission to run.
- Temperature is an analog value.