Loop
Applicable to OS V1.2-1.4
The Loop component allows to configure a signal control loop–it allows to adjust the output value in order to reach the setpoint value comparing it with the current input value (measurement). The output value is estimated based on a proportional-integral-derivative mechanism. The Loop component may be configured as P-only, PI, or PID.
The Loop component has the following slots:
- Status: indicates the current status of the component (OK, Fault);
- Enabled: enables execution of the PID loop–if disabled, the Out slot is set to 0; if enabled, the component calculates the Out slot according to its regulation algorithm;
- Out: the result of the loop algorithm;
- Control Variable: the current, measured input value;
- Setpoint: the setpoint value;
- K P: defines a proportional gain of the loop algorithm–the value is a maximum difference between the setpoint and the current value, which results in the 100% output value;
- K I: defines an integral gain of the loop algorithm (expressed as 1/min);
- K D: defines a derivative gain of the loop algorithm (expressed as 1/min);
- Bias: defines the bias value added to the output;
- Ramp Time: defines the filtering time for the Out slot value;
- Max Output: allows to set a maximum limit on the Out slot value, by default set to 100;
- Min Output: allows to set a minimum limit on the Out slot value, by default set to 0;
- Action: allows to choose a Direct or Reverse operation mode of the component–the Direct mode reflects cooling/dehumidification process, and the Reverse mode reflects the heating/humidification process.
The Loop component has the following action:
- Reset: brings the Out slot value back to Min Output value.
ActionTrigger Extension
The ActionTrigger extension is designed to invoke any action that is available for the component. The extension triggers an action selected in the Action Name on the rising edge of the Action Trigger slot. If the action has parameters to set, the parameter is taken from a relevant slot automatically added to the extension (Analog Value/Binary Value/String Value).
It is possible to add more than one ActionTrigger extension to the component (for example, one for each action in the component).
The extension is added from the context menu of the component.
The ActionTrigger extension has the following slots:
Action Name: allows to select an action to invoke;
Action Trigger: triggers an action selected in the Action Name slot;
Action Analog Value/Action Binary Value/Action String Value: a slot added automatically to the extension if an action selected in the Action Name slot has any specific parameters to set (depending on the type of action and its parameters, the relevant type of value is matched).