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] (0 means one pulse)  1.0

Double (F64)

BSTATE

Output pulse activation

Bool

off ..

No action

on ...

Generate output pulse

RPTF

Allow pulse extension

Bool

off ..

Disabled

on ...

Enabled

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