Call:      AnaBetween( String Tag, int LowVal, int HighVal ) 

Input:    Tagname, Lower value, Higher value 
Output: boolean 

The analog input associated with the Tagname is tested on the range. So when the analog input is between or equal to one of the two values, the function result is true when called in the cycle.

LevelOk = AnaBetween(“LT-TANK1”,100,300);