Call: DigHigh (String Tag)
Input: Tagname
Output: boolean
The pin associated with the Tagname is tested on state high. So when the pin is high, the function result is true when called in the cycle.
Example:
if (DigHigh(“LS1”)) Activate(“LAMP”));