PARB, PARI, PARR – 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,
- 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 .
Note: The PARX block works on the same principle, but it can set parameters of all types. Consider also using the SHLD block, which can be used for storing numerical values, similarly to the PARR block.
This block does not propagate the signal quality. More information can be found in the 1.4 section.
Input
p | Parameter value | Double (F64) |
LOC | Activation of local mode | Bool |
|
|
|
Parameter
par | Internal value of parameter 1.0 | Double (F64) |
SATF | Saturation flag | Bool |
|
|
|
hilim | Upper limit of the output signal 1.0 | Double (F64) |
lolim | Lower limit of the output signal -1.0 | Double (F64) |
Output
y | Analog output of the block | Double (F64) |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com