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 (). In the local mode 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 , (or , ). The output of the PARR and PARI blocks can be additionally constrained by the saturation limits . The saturation is active only when .
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 |
|
|
|
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) 1.0 | Double (F64) |
ipar | Initial value of the parameter (the PARI block) 1 | Long (I32) |
PAR | Initial value of the parameter (the PARB block) on | Bool |
SATF | Activation of the saturation limits for the PARR and PARI blocks | Bool |
|
|
|
hilim | Upper limit of the output signal (the PARR and PARI blocks) 1.0 | Double (F64) |
lolim | Lower limit of the output signal (the PARR and PARI blocks) -1.0 | Double (F64) |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com