On-Off Controller
- Updated2023-02-17
- 3 minute(s) read
On-Off Controller
Implements an on-off controller.
.gvi.png?_LANG=enus)
Inputs/Outputs

action
Action of the controller.
Reverse | 0 | The controller is reverse-acting. |
Direct | 1 | The controller is direct-acting. |
Default value: Reverse

reset
A Boolean that specifies whether to reset the internal parameters, such as the integrated error, of the controller.
True | Resets the internal parameters. |
False | Does not reset the internal parameters. |
Set reset to True if your application must stop and restart the control loop without restarting the entire application.
This input accepts an array of Booleans if setpoint is an array.
Default value: False

setpoint
Setpoint value, or desired value, of the process variable.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default value: 0

process variable
Measured value of the process variable.
This input accepts an array of double-precision, floating-point numbers if setpoint is an array.

controller hysteresis
Hysteresis of the controller.
This input accepts an array of double-precision, floating-point numbers if setpoint is an array.
Default value: 0

dt
Loop-cycle time, or interval in seconds, at which this node is called.
Default value: 1

minimum ON time
Minimum time for the controller to remain activated.
Default value: 0

minimum OFF time
Minimum time for the controller to remain deactivated.
Default value: 0

output
A Boolean that returns the status of the controller.
True | The controller is on. |
False | The controller is off. |

error
Difference between the setpoint and the process variable.