### PARR, PARI, PARB – Blocks with input-defined parameter

Block SymbolsLicensing group: STANDARD

Function Description
The PARR, PARI and PARB blocks allow, additionally to the standard way of parameters setting, changing one of their parameters by the input signal. The input-parameter pairs are p and par for the PARR block, ip and ipar for the PARI block and finally P and PAR for the PARB block.

The Boolean input LOC (LOCal) determines whether the value of the par (or ipar, PAR) parameter is read from the input p (or ip, P) or is input-independent ($\mathtt{\text{LOC}}=\mathtt{\text{on}}$). In the local mode $\mathtt{\text{LOC}}=\mathtt{\text{on}}$ the parameter par (or ipar, PAR) contains the last value of input p (or ip, P) entering the block right before LOC was set to on. Afterwards it is possible to modify the value manually.

The output value is equivalent to the value of the parameter $\mathtt{\text{y}}=\mathtt{\text{par}}$, (or $\mathtt{\text{k}}=\mathtt{\text{ipar}}$, $\mathtt{\text{Y}}=\mathtt{\text{PAR}}$). The output of the PARR and PARI blocks can be additionally constrained by the saturation limits $⟨\mathtt{\text{lolim}},\mathtt{\text{hilim}}⟩$. The saturation is active only when $\mathtt{\text{SATF}}=\mathtt{\text{on}}$.

See also the SHLD block, which can be used for storing a numeric value, similarly as in the PARR block.

Inputs

 p Parameter value (the PARR block) Double (F64) ip Parameter value (the PARI block) Long (I32) P Parameter value (the PARB block) Bool LOC Activation of local mode Bool off .. The parameter follows the input on ... Local mode active

Output

 y Logical output of the PARR block Double (F64) k Logical output of the PARI block Long (I32) Y Logical output of the PARB block Bool

Parameter

 par Initial value of the parameter (the PARR block)  $\odot$1.0 Double (F64) ipar Initial value of the parameter (the PARI block)  $\odot$1 Long (I32) PAR Initial value of the parameter (the PARB block)  $\odot$on Bool SATF Activation of the saturation limits for the PARR and PARI blocks Bool off .. Signal not limited on ... Saturation limits active hilim Upper limit of the output signal (the PARR and PARI blocks)  $\odot$1.0 Double (F64) lolim Lower limit of the output signal (the PARR and PARI blocks)  $\odot$-1.0 Double (F64)

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