15
103
15 - Graphical programming
15�10 Example – room compensation in controller
We will now use the programming tool to add room compensation to the controller we congured
earlier. We will need a room sensor, a control curve and a channel for set value displacement. Cong-
ure the room sensor as described in 5.3. The curve is dened in 8.3. We will dene the channel for set
value displacement here. Open Settings/Advanced/Channels.
Type the name of the rst uncongured channel.
(Uncongured channels have the name Channel
followed by a number.)
Name the channel Room compensation, set the
channel unit to K and the decimal places to 1.
Also choose whether you want to the save the
channel to a database. In this example, the value
will be saved to the short time database and the
hour database Click Save. The room compensa-
tion channel is ready to be used.
You now need to add the channel to the control-
ler. If the controller already exists, you can edit
it. Otherwise you need to create the controller
from scratch. Place the channel in Setvalue displacements/Channel. See section 6.1.1.
If you want to view the channel value on the controller summary page, you can add a row to the
existing page. See section 13.
We also need to create a graphical program.
Open Settings/Advanced/Graphical programming.
Create a new program called Roomcompensation and click Create.
Select input = room temperature, operator = Room compensation curve and output = room com-
pensation. (The channel we just created.)