Call:      DistanceLonger (String Tag, int longer ) 

Input:    Tagname, Lower value 
Output: boolean

The value for the selected ultrasonic, associated with the Tagname is checked on the longer value. So when the measured distance is longer than the setpoint, the function result is true when called in the cycle.

Example: 
Status = DistanceLonger(“BIRD1”,OutOfRange);