SEL_VAL2: Selector 2 for values, input , n.FB

Block SEL_VAL2 (FB450) forms a selector function (n-to-1 assignment) together with SEL_VAL1 and SEL_VAL3.

Block SEL_VAL2 bundles 24 inputs (8xBoolean, 8xInteger, 8xReal) and permits their enable using just one signal [EnInVal].

Principle of operation

Blocks SEL_VAL1 and SEL_VAL2 bundle 24 inputs each. The enabled input values [EnInVal] = True, are read in sequence by block SEL_VAL3 and outputted.

 

Inputs

Pin

E

Description

BlkRefIn

pa

Block reference input

Interconnection with SEL_VAL1 or SEL_VAL2. This implements selector function (n-to-1).

EnInVal

pa

Enable input values

Block SEL_VAL3 outputs all input values of this block.

Bool1..8

pa

Bool1

Boolean input value

Itgr1..8

pa

Integer

Integer input value

Real1..8

pa

Real1

Real input value

Outputs

Pin

E

Description

BlkRefO

a

Block reference output

Interconnection with SEL_VAL2 or SEL_VAL3. This implements selector function (n-to-1).

ErrRef

a

Reference error

1 (Yes)

No values are outputted at block SEL_VAL3.

  • Blocks have different versions.
  • Blocks are not interconnected.

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.

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).