MP – Manual pulse generator

Block SymbolLicensing group: STANDARD
PIC

Function Description
The MP block generates a pulse of width pwidth when a rising edge occurs at the BSTATE parameter (off on). The algorithm immediately reverts the BSTATE parameter back to off (BSTATE stands for a shortly pressed button). If repetition is enabled (RPTF = on), it is possible to extend the pulse by repeated setting the BSTATE parameter to on. When repetition is disabled, the parameter BSTATE is not taken into account during generation of a pulse, i.e. the output pulses have always the specified width of pwidth.

The MP block reacts only to rising edge of the BSTATE parameter, therefore it cannot be used for generating a pulse immediately at the start of the REXYGEN system executive. Use the BIS block for such a purpose.

Output

Y

Logical output of the block

bool

Parameters

pwidth

Pulse width [s]  1.0

double

BSTATE

Output pulse activation

bool

off ..

No action

on ...

Generate output pulse

RPTF

Allow pulse extension

bool

off ..

Disabled

on ...

Enabled

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