SEL_VAL3: Selector 3 for values, output values.
Block SEL_VAL3 (FC451) forms a selector function (n-to-1 assignment) together with SEL_VAL1 and SEL_VAL2.
Block SEL_VAL3 outputs the enabled 24 inputs values (SEL_VAL1, SEL_VAL2).
Principle of operation
Blocks SEL_VAL1 and SEL_VAL2 bundle 24 inputs each. The enabled input value [EnInVal] = True are subsequently read and outputted by block SEL_VAL3.
Inputs
Pin | E | Description |
BlkRefIn | pa | Block reference input Interconnection with SEL_VAL1 or SEL_VAL2. This implements selection function (n-to-1). |
DefBool1..8 | pa | Default value for Bool 1 Default value for Bool 1, if no SEL_VAL1 or SEL_VAL2 is enabled. |
DefItgr1..8 | pa | Default value for Integer 1 Default value for Integer 1, if no SEL_VAL1 or SEL_VAL2 is enabled. |
DefReal1..8 | pa | Default value for Real 1 Default value for Real 1, if no SEL_VAL1 or SEL_VAL2 is enabled. |
Outputs
Pin | E | Description | |
Bool1..8 | pa | Bool 1 Enabled Boolean input value or default value. | |
Itgr1..8 | pa | Integer 1 Enabled Integer input value or default value. | |
Real1..8 | pa | Real 1 Enabled Real input value or default value. | |
ErrRef | pa | Reference error | |
1 (Yes) | No values are outputted at block SEL_VAL3.
| ||
0 (No) | Normal function. | ||
Engineering selector function (n-to-1)
Together, blocks SEL_VAL1, SEL_VAL2 and SEL_VAL3 form a selector function (n-to-1).
The following interconnection is important for the correct function.

- Block SEL_VAL1 is the first block in the interconnection sequence. It bundles the first 24 inputs.
- One or more SEL_VAL2 each bundle additional inputs. Blocks are interconnected to one another via [BlkRefIn] and [BlkRefO].
- Block SEL_VAL3 concludes the selector function. It is interconnected via [BlkRefIn] and [BlkRefO] with SEL_VAL1 or SEL_VAL2.
- The processing sequence is important to proper functioning and must be optimized prior to compiling the chart using the CFC command Optimize chart.
- Only a single block (SEL_VAL1, SEL_VAL2) is enabled (the last enabled SEL_VAL2 in the processing sequence has precedence).
Note: During the initial programming loop, it checks whether interconnection is correct and whether the version of the three blocks is identical. If not, [ErrRef] = 1 (Yes) and no input values are outputted on block SEL_VAL3.
Process response
Standard (see General rules and information).
Troubleshooting
Standard (see General rules and information).