Skip to content

Relay

Symbol

Description

The relay switches its state between two specified values. When the input signal is larger than or equal the upper threshold, the relay output value is equal to the on-state value. When the input signal is smaller than or equal the lower threshold, the relay output value is equal to the off-state value. When the input signal is between the thresholds, the relay state does not change.

Library

Control > Discrete

Pins

Name Description
In Input
Out Output

Parameters

Name Description
UpperThreshold Upper threshold
LowerThreshold Lower threshold
OnStateOutput Value for the on state
OffStateOutput Value for the off state
InitialState Value for the initial state
SamplingTime -none or 0: No sampling. The system will be solved in the Newton loop (default).
-auto: Inherit the sampling time of its source device.
-Sampling Period: defined in seconds.