COND ---- .. figure:: ../media/image916.png :figwidth: 4.3125in :align: center **Purpose** Compares the value from the input channel with a set value. **Procedure** The (measured) value at the input channel is compared with the set value. The type of comparison is chosen by the ‘Logical operator’. **Parameters** ================== =================== ==== ===== ======= ======= Parameter input unit range default remarks ================== =================== ==== ===== ======= ======= Logical operator LT (less than)/ GT (greater than)/ LE (less equal)/ GE (greater equal)/ EQ (equal)/ NE (not equal) Set value real Reset time (true) real [s] 0 Reset time (false) real [s] 0 ================== =================== ==== ===== ======= ======= **Remarks** The condition must hold for a period longer than the ‘reset time’ before the output will switch its original value. If the condition does not hold for a period longer than the ‘reset time’ then the output will keep its original value and the timing period will be restarted. **Examples** .. figure:: ../media/image917.png :figwidth: 3.14583in :align: center Control scheme Figures :numref:`fig-1-cond` and :numref:`fig-2-cond` show the output when both ‘reset times’ are not used (0 seconds). .. _fig-1-cond: .. figure:: ../media/image918.png :figwidth: 2.77083in :align: center variation of Head measured by Sensor .. _fig-2-cond: .. figure:: ../media/image919.png :figwidth: 2.77083in :align: center Output of COND and LTAB Figure :numref:`fig-3-cond` shows the output when ‘reset time (true)’ is set to 5 seconds and ‘reset time (false)’ is set to 2 seconds. .. _fig-3-cond: .. figure:: ../media/image920.png :figwidth: 2.77083in :align: center Output of COND including reset times (true =5 s, false = 2s) .. include:: substitutions_control.rst