PARE – Block with input-defined enumeration parameter
Block SymbolLicensing group: STANDARD
Function Description
The block is similar to the the PARI block with the additional option to assign texts
to numeric values. The corresponding text is set on the output sy. The block has
two modes and the active mode is selected by the LIST parameter. If LIST=off a
corresponding text for the input value is set on the output sy. If LIST=on the input
number is considered as a bitfield, texts are defined for each bit and the output sy
is composed of the texts that correspond to bits which are set. The behavior for
undefined values is determined by the SATF parameter. If SATF=off, undefined values
are set to output iy and the output sy is set to empty text. Undefined values are
ignored if SAT=on. The pupstr parameter has the same format as in the CNE block:
<number1>: <description1>|<number2>: <description2>|<number3>: <description3>
...
Inputs
ip | Parameter value | Long (I32) |
LOC | Activation of local mode | Bool |
|
|
|
Parameters
ipar | Internal value of parameter 1 | Long (I32) |
pupstr | Popup list definition 1: option A|2: option B|3: option C | String |
NUM | Number in string outut | Bool |
LIST | Bitfield mode | Bool |
SATF | Saturation flag (if undefined values are passed to output) | Bool |
Outputs
iy | Integer output of the block | Long (I32) |
sy | String output value | String |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com