Relay

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
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| UpperThreshold | Upper threshold | DoubleParameter | Upper threshold |
| LowerThreshold | Lower threshold | DoubleParameter | Lower threshold |
| OnStateOutput | On state | DoubleParameter | Value for the on state |
| OffStateOutput | Off state | DoubleParameter | Value for the off state |
| InitialState | Initial state | DoubleParameter | Value for the initial state |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input |
| Out | Out | ControlOut | Output |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |