TriggerCounter

(Function Library)

Description: Returns a count of zero-to-non zero transitions during the current session.
Returns: Integer value.
Usage: Script or steady state.
Function Groups: Variable
Related to:  
Format: \FunctionLib.TriggerCounter(Value)
Parameters:  
Value
A Boolean value (0 or 1).
Typically the value of a digital tag would be used.
Comments:

This module is a member of the Function Library, and must therefore be prefaced by \FunctionLib as shown in the "Format" section.

Example:

\FunctionLib.TriggerCounter([Pump 1])

Will return the number of times that Pump 1 starts, during the current session.

The count is not retained.