%Pulz function


Function
The function generates the impulse of optional length. The result is Boolean type.
Declaration
BOOL %Pulz(
   BOOL in StartTrigger, 
   INT in Time, 
   UNIVAL in CalcTrigger
 )

Parameters
StartTrigger Object, which change into the TRUE state runs the impulse. Trigger changes are ignored during impulse duration. The function result is TRUE during impulse duration, otherwise it is FALSE.
Time Impulse duration [s] - relative time.
CalcTrigger Object, which change causes recalculating the function. Its type is optional.

Note

If the expression is in invalid state (e.g. communication failure), the function returns invalid value. After recovering the expression from an invalid value:

a) StartTrigger is TRUE, the impulse is generated again.

b) StartTrigger is FALSE => returns FALSE.


0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .