Key-3
![]() |
![]() |
| Vector | C | ST | |
| in the palette | on the schematic |
The block is vectorized and implements the controlled key function according to the following algorithm:

where x1(t) is a signal vector at the 1st input port; x2(t) is a signal vector at the 2nd input port; x3(t) is a signal vector at the 3rd input port; y(t) is a signal vector on the output port; K is a vector of threshold values of control signals (usually logical setpoints) that determine the conditions for switching input signals to the output of the block.

where x1(t) is a signal vector at the 1st input port; x2(t) is a signal vector at the 2nd input port; x3(t) is a signal vector at the 3rd input port; y(t) is a signal vector on the output port; K is a vector of threshold values of control signals (usually logical setpoints) that determine the conditions for switching input signals to the output of the block.
Inputs
- input1 - the first input of the block, x1;
- input2 - the second input of the block, x2;
- input3 - the third input of the block, x3.
Outputs
- output - the block output.
Properties
- Setpoint values - vector of threshold values of control signals K.
- Control signal type - selection of the type of control signals (Scalar or Vector).
Parameters
- Level - the current position of the key.
Note:
- By default, the block generates a scalar output signal.
- Named properties can be set as local model variables (submodels) in a programming language script, as global project signals using the Tools → Signals main menu item, or as external project signals using an attachable signal database.

