Call:      AnaGoUnder( String Tag, int LowVal ) 

Input:    Tagname, Lower Value 

Output: boolean

 

When the analogue input associated with the Tagname drops under the value set by LowVal read in the previous cycle, the function result is true for one cycle.

 

Example: 

if (AnaGoUnder("LT-TANK1",100) State=EMPTY;