### TIMER_ – Multipurpose timer

Block SymbolLicensing group: STANDARD

Function Description
The TIMER_ block either generates an output pulse of the given width pt (in seconds) or filters narrow pulses in the U input signal whose width is less than pt seconds. The operation mode is determined by the mode parameter.

The graph illustrates the behaviour of the block in individual modes for $\mathtt{\text{pt}}=3$:

The timer can be paused by the HLD input. The R1 input resets the timer. The reset signal overpowers the U input.

Inputs

 U Trigger of the timer bool HLD Timer hold bool R1 Block reset ($\mathtt{\text{R1}}=\mathtt{\text{on}}$) bool

Outputs

 Q Timer output bool et Elapsed time [s] double rt Remaining time [s] double

Parameters

 mode Timer mode  $\odot$1 long 1 .... Pulse – an output pulse of the length pt is generated upon rising edge at the U input. All input pulses during the generation of the output pulse are ignored. 2 .... Delayed ON – the input signal U is copied to the Q output, but the start of the pulse is delayed by pt seconds. Any pulse shorter than pt is does not pass through the block. 3 .... Delayed OFF – the input signal U is copied to the Q output, but the end of the pulse is delayed by pt seconds. If the break between two pulses is shorter than pt, the output remains on for the whole time. 4 .... Delayed change – the Q output is set to the value of the U input no sooner than the input remains unchanged for pt seconds pt Timer interval [s]  $\odot$1.0 double

2019 © REX Controls s.r.o., www.rexygen.com