Call: UpdateAna (String Tag, int Value )
Input: Tagname, Value
Output: boolean
The selected PWM Output associated with the Tagname is requested to set the given value (0-255). At the end of the main loop, all requests for updating the pin are processed and the pin value is modified. Important: PWM output pins without a new request keep their old value. The function is called with the Tagname. When the Tagname is not found in the set of PWM output pins, the function returns false, otherwise true. Also applies for markers.
Example:
Status = UpdateAna(“CTRL-VALVE-012”,PID_Output);