Using Default function block
Symptoms/Issue
RAYN Touch /Syrcadia Default 2 Point function Block
Starting in 2.2 software Function Blocks were added to have the ability to automate processes. Here are examples on how to use the Default Function blocks.
A 2_Point_Regulator.Py is a simple switch regulator, allowing to control a single device capable of manipulating the property that is measured and move the property towards a set-point.
For example:
Sensor = Temperature
Setpoint = Desired – Temperature
Output = Air conditioning
Whenever the measured temperature exceeds the (Setpoint + Upper_Deadband), the air conditioning Unit is turned on. Once the measured Temperature is Below the (Setpoint – Lower_Deadband), The air conditioning unit is turned off again.
There is an inverted option as well, you get one or the other outputs.
Setpoint is created in setting, along with the Function block.
Then in a Day plan you can set the levels for the Setpoint.
3_Point_Regulator.Py is a Simple 3 point regulator, allowing to control 2 outputs that turn off if the measured value is to close to the setpoint (within the Deadband), Turning on if the measurement is above or below the Deadband.
For example:
Sensor = Temperature-sensor
Setpoint = Desired – Temperature
Higher than Output = Air conditioning
Lower than Output = Heat
Whenever the measured Temperature exceeds the (Setpoint + Upper_Deadband), the air-conditioning unit is turned on. Once the measured temperature is lower than the (Setpoint – Lower_Deadband), the heater is turned on. The outputs are turned off again, once the measured value is above/below the setpoint.
Setpoint is created in setting, along with the Function block.
Then in a Day plan you can set the levels for the Setpoint.
The selected Device must have it's 'Text' field populated in order for the function to see it.