On-Off Controller

Implements an on-off controller.

1378

Inputs/Outputs

datatype_icon

action

Action of the controller.

Reverse 0 The controller is reverse-acting.
Direct 1 The controller is direct-acting.

Default value: Reverse

datatype_icon

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

datatype_icon

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

datatype_icon

process variable

Measured value of the process variable.

This input accepts an array of double-precision, floating-point numbers if setpoint is an array.

datatype_icon

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

datatype_icon

dt

Loop-cycle time, or interval in seconds, at which this node is called.

dt must be greater than 0.

Default value: 1

datatype_icon

minimum ON time

Minimum time for the controller to remain activated.

Default value: 0

datatype_icon

minimum OFF time

Minimum time for the controller to remain deactivated.

Default value: 0

datatype_icon

output

A Boolean that returns the status of the controller.

True The controller is on.
False The controller is off.
datatype_icon

error

Difference between the setpoint and the process variable.