Relay

Purpose

Toggle between on- and off-state with configurable threshold

Library

Control / Discontinuous

Description

../../_images/relay.svg

The output of the Relay block depends on its internal state. If the input signal exceeds the upper threshold, the relay will be in the on-state. It will be in the off-state if the inputs is less than the lower threshold. The relay does not change for input values between the thresholds.

Parameters

Upper threshold

The highest value that the input signal may reach before the state changes to the on-state.

Lower threshold

The lowest value that the input signal may reach before the state changes to the off-state.

On-state output

The value of the output signal while the relay is in the on-state.

Off-state output

The value of the output signal while the relay is in the off-state.

Initial state

The state of the relay at simulation start. Possible values are on and off.

Output data type

The data type of the output signal. See Data Types.

Probe Signals

Input

The block input signal.

Output

The block output signal.