Relay
Switching the output between two constants.
Description
The output for the Relay unit switches between two setpoints. When the relay is on, it remains on until the input signal falls below the Switch off point parameter value. When the relay is off, it remains off until the input exceeds the Switch off point parameter value. The unit accepts one input and generates one output.
When the initial input is between the Switch off point and Switch on point parameter values, the initial output is the value when the relay is off. |
Ports
Parameters
Main
Switch on point - input value that switches on the relay
0.0 (by default)
| scalar
When the input crosses this threshold, the relay is switched on. The Switch on point value must be greater than or equal to the Switch off point value. Specifying a Switch on point value greater than the Switch off point value models hysteresis, whereas specifying equal values models a switch with a threshold at that value.
The Switch on point parameter is converted to an offline input data type using round to nearest and saturation methods.
Block parameter |
|
Values |
|
By default |
|
Switch off point - the output value that switches the relay off
0.0 (By default)
| scalar
When the input crosses this threshold, the relay is switched on. The value of Switch off point must be less than or equal to the value of Switch on point.
The Switch on point parameter is converted to an offline input data type using nearest rounding and saturation methods.
Block parameter |
|
Values |
|
By default |
|
Output when on - output value when relay is on
1.0 (By default)
| scalar
Output value when the relay is switched on.
Block parameter |
|
Values |
|
By default |
|
Output when off - output value when relay is off
0.0 (By default)
| scalar
Output value when the relay is off.
Block Parameter |
|
Values |
|
By default |
|