Switch/Button

This function block can be used to input bit values.

This input is executed by clicking on the symbol. The function block can be used as a switch or a push button.

Parameters

In the parameter dialog there are two tabs available to change several preferences.

The first tab can be used for basic control parameters like operation mode (switch or button), the label for the function block and the start state (if used as a switch).

 

The second tab is used for representation preferences. Here the size of the function block, the colors for the different states and the parameter for the label (alignment, text size and font) can be set.

Signals

Name I/O Type(s) Function
OUT O BIT Signal output of user input

Comment

This function block does not have any target system code.