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>
...
This block does not propagate the signal quality. More information can be found in the 1.4 section.
Input
ip | Parameter value | Long (I32) |
LOC | Activation of local mode | Bool |
|
|
|
Parameter
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 output | Bool |
LIST | Bitfield mode | Bool |
SATF | Saturation flag | Bool |
Output
iy | Integer output of the block | Long (I32) |
sy | String output value | String |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com