Daikin Setup

From OpenMotics
Jump to: navigation, search

Contents

Introduction

Openmotics allows integration of a Daikin Airco system in combination with an RTD-10 remote control device from RT. From one interface, you can control your traditional heating/cooling system as well as your Daikin airco system. To know which Daikin models are compatible with RTD-10, please contact your Daikin dealer.

For more information around RTD-10, see http://www.realtime-controls.co.uk/index.php/site/multi-language-download/rtd_10_daikin_control_interface

Configuration example

This page describes a configuration example of setting up 2 Daikin airco systems in combination with Floor heating and cooling. We take as example an apartment with 6 thermostat-rooms that have floor heating/cooling of which 2 rooms also have a Daikin airco system which is also able to heat and cool.

Connect the Daikin system

The RTD-10 will be connected with an Openmotics Dim Control module and will take up 6 ports. In our example, we take 2 Dim Control modules and leave 2 ports open (that of course can be used for other purposes). Since we will use voltage control, you must set jumper 2 to ON on the RTD-10, all other jumpers must be OFF.

Daikin.jpg

Connect the Floor heating/cooling system

Below is an example design of a heating/cooling system with 13 actuators (valves), a pump contact (when heating/cooling is required) and a dry contact that switches between cooling and heating.

HeatingCooling.jpg

The principles

To connect any heating/cooling system, if it is a floor system or a system with traditional radiators, the same principles apply:

  • Every heating/cooling element will be driven by an actuator, this is a sort of valve that opens when warm (when heating is ON) or cold (when cooling is ON) water is required.
  • Typically, every radiator will have an actuator (and no thermostatic valve on the radiator itself which is installed on a traditional installation)
  • When using floor heating/cooling, every circuit will have an actuator. One room will typically consist of more than 1 circuit.
  • Different type of actuators exist, some of them can be linear controlled (you can put them on 28% open for example) or you have open/close actuators. Openmotics supports both type of actuators but the linear ones are expensive and doesn’t offer much advantage since temperature control is a slow process so we advise to use the open/close version. Always use actuators which are Normally Closed (NC) which means when no power is applied, the valve is closed.
  • Every room will have a temperature sensor that measure the room temperature. That sensor will be linked to the virtual room thermostat.
  • When for example in heating mode, when the room setpoint (this is the asked room temperature) is higher than the actual temperature (measured by the room sensor), the actuators of that room will be opened.
  • As seen in the drawing, the Openmotics system needs to tell the central heating system that valves are open and that heating (or cooling) is needed. Typically, a dry contact is used (by using a relay). Some central heating systems works with a pump that is always on and that will check the return water temperature to check if heating (or cooling) is needed. In that case, this contact is not used.
  • When a dry contact is used to switch on the central heating system, all actuators are placed in a group. Up to 8 groups can be created. Every group has an output. When one of the actuators placed in that group is ON, the output linked to that group will be switched ON. In our example, we’ve 13 actuators all placed in 1 group, when one of the actuators is opened by one of the virtual thermostats, the output linked to that group will be switched ON and we activate the pump on our central heating system.
  • Some actuators take some time to open (up to a few minutes). Some heating systems can go into error state when the pump is activated without actuators being open yet. To avoid this kind of situations, a delay on the group output can be set so when the first actuator is opening, the pump output will be delayed with x seconds.
  • When a heating system is used that also can act as cooling system, a second output is used to set the central heating system in heating or cooling mode. The Openmotics systems allows you to enable/disable 4 outputs per mode in other words, in our example, we will enable that cooling/heating output when the system is in heating mode.
  • Every room has their own set of PID parameters to control the heating/cooling behavior.
  • When a Daikin airco system is added, you can configure this as a primary or secondary source of cooling or heating.
  • The same principles apply for systems that only uses heating or only uses cooling.

How to configure the system for Cooling, Heating and Daikin

In this example, we’re going to program the system and create thermostats by using the CLI interface. Part of the setup can be done by using the graphical user interface on the Openmotics cloud. The setup of the Daikin airco’s cannot be done yet using the graphical user interface and must be done using our CLI. For the completeness of this page, we’ve chosen to do the full setup using the CLI interface.

The programming of the full system including the Daiking system will not take more than 30 minutes if well prepared. A good advice is to make a print out of all your outputs and sensors, make a list of the thermostats you want to create in cooling and in heating. Before starting, test your outputs, give them a name and also test your sensors and give them a name as well. Having this information in printed format will reduce the time for programming your system.

For more deep technical information around Heating/Cooling and the associated eeprom memory model, see Heating/Cooling For all details about the CLI instruction used, see CLI Reference Guide

Setup the thermostat for Heating and Cooling

Step 1: Check your firmware and temperature sensors

Make sure you've at least firmware version F3.141.24. You can check the firmware version by using following CLI command:

firmware version

Let's also check the list of temperature sensors and the feedback value you should get:

temperature list                 ; Will give you the list of available temperature sensors

Step 2: Give your sensors a name

sensor name write 4 outside      ; Give all your sensors a name, make sure you give the right name to the right sensor
sensor name write 1 kitchen
…

Step 3: Check your outputs

It’s a good practive to print or write down the outputs that you’ll need in the thermostat setup

output list                      ; Will give you the list of all outputs configured in your system

Step 4: Give your outputs a name

If you haven’t give your outputs a name, please do so which make troubleshooting much easier

output name write 45 Valve1 kitchen   ; Give all your outputs a name
output on 45                          ; To test an output, you can switch it on
output off 45                         ; To test an output , you can switch it off

Step 5: Link the outside temperature sensor

This will enable the feature when the outside temperature is above a configured temperature, the heating will not turn on.

thermostat outside link write 0   ; Will link sensor 0 as being the outside temperature probe for the thermostat system
thermostat outside link read      ; Will check which sensor has been programmed as the outside sensor

Step 6: Put the system in Heating mode

basic action activate 80 0        ; With this instruction, your system is placed in Heating mode
thermostat list                   ; You’ll see the list of thermostats and also the indication “H:” which means the system is in Heating mode

Step 7: Create the thermostats

This step must be done for heating as well as cooling (when cooling is used)

thermostat name write 0 Livingroom
thermostat name write 1 Kitchen
thermostat name write 2 Master Bedroom
thermostat name write 3 Guest Bedroom
thermostat name write 4 Bathroom 1
thermostat name write 5 Bathroom 2

Step 8: Link the temperature sensors to each of thermostats

thermostat sensor write 0 13   ; Link sensor 13 with thermostat 0
thermostat sensor write 1 2                        
thermostat sensor write 2 11                        
thermostat sensor write 3 10                        
thermostat sensor write 4 8                        
thermostat sensor write 5 9

Step 9: Link the 2 outputs (actuators) to each of the thermostat

Each thermostat can have 2 outputs depending on the configuration. 1 output can have multiple outputs linked to each other in a way that it works in a sort of a follow function: When the first output goes on, the rest will follow. In this step, we will only program the first output and not the follow function which will be done in a later step. When an output (the first or second) gets 240, the RTD-10 routines will be activated for that thermostat. When an output gets 255, the programmed output is ignored.

thermostat link write 0 0 240  ; output 0 is used as well as RTD-10 as second source
thermostat link write 1 6 255
thermostat link write 2 9 240
thermostat link write 3 10 255
thermostat link write 4 11 255
thermostat link write 5 12 255

In our above example, since floor heating/cooling is used, typically a kitchen (in our example output 6 to 8) and a living room (in our example output 0 to 5) have multiple circuits that will be switched on/off together. You can all wire them to 1 output or wire each actuator to different output and program the follow function. For the completeness of the document, we will program the follow function in a later step.

Step 10: Define the pump groups

In our examples, we have 13 actuators that will be programmed in 1 pump group in other words, when 1 output (or 1 of the 13 actuators) is enabled, the pump output will be switched on (which is the contact on the heating device). You can program up to 8 pump groups. In some installations, you have a pump per floor in which case you’ll take all actuators of that floor in 1 pump group and switch with that pump group the pump output of that floor. In this example, output 0 to 12 are the actuators. When one of the actuators opens, it must switch on output 13

pump group read 0              ; we want to use pump group 0 but first check if it’s not used (should contain 255 for the outputs)
pump group write 0 0 0         ; program pump group 0 on line 0 with output 0
pump group write 0 1 1         ; program pump group 0 on line 1 with output 1
pump group write 0 2 2         ; program pump group 0 on line 2 with output 2
pump group write 0 3 3         ; program pump group 0 on line 3 with output 3
pump group write 0 4 4         ; program pump group 0 on line 4 with output 4
pump group write 0 5 5         ; program pump group 0 on line 5 with output 5
pump group write 0 6 6         ; program pump group 0 on line 6 with output 6
pump group write 0 7 7         ; program pump group 0 on line 7 with output 7
pump group write 0 8 8         ; program pump group 0 on line 8 with output 8
pump group write 0 9 9         ; program pump group 0 on line 9 with output 9
pump group write 0 10 10       ; program pump group 0 on line 10 with output 10
pump group write 0 11 11       ; program pump group 0 on line 11 with output 11
pump group write 0 12 12       ; program pump group 0 on line 12 with output 12
pump output write 0 14         ; program the pump output (14) for pump group 0
pump group read 0              ; check if you programmed your group correctly
pump delay write 240           ; Program a delay of 240 seconds for the pump output to be switched on (time the actuators needs to open)

Note: Par coincidence, the output number is the same as the line number. In reality, this will probably never be the case.

Step 11: Put the system in Cooling mode

basic action activate 80 1                        ; With this instruction, your system is placed in non-active cooling mode

Step 12: Repeat Step 7 to 10 for the Cooling configuration

When the system is placed in cooling mode, the configuration for cooling must be done. The system allows you to fully configure a cooling system with different thermostats, different sensors and different pump groups than used for heating. These steps are not needed when the cooling function is not used

Configure the Cooling and Heating outputs

The system can program different outputs to be in a certain condition when cooling mode is enabled and be in a different condition when heating is enabled.

In our example, our heating system has a contact that must be set when the system goes in cooling mode, that contact must be released when the system goes in heating mode. Those contacts that are being set are independent if the cooling or heating is effectively active. In other words, when the system is for example in heating mode, the heating outputs are being set (and some being cleared) and those outputs remain in that same position even when no heating demand is present and thus the system is in standby mode. 4 outputs can be set/cleared in Heating mode, 4 outputs can be set/cleared in Cooling mode.

Important Remark: In the below sections, you’re going to write values directly in the eeprom of the system by using the instruction “eeprom write”. Writing a wrong value or a value at the wrong location might make your system malfunction. Before you start any programming, we strongly advise the make a backup of your system in the portal. If something goes wrong, you can always return to a previous state. The instruction “eeprom read” can be used to check if that location is already be written by a certain value, when you find the value 255, that location is not used yet.

Step 1: Set/clear the outputs for heating mode

In our example, we want to clear output 13 since the output must be off in Heating mode for our type of installation.

eeprom write 199 0 13          ; Output 13 as the first output the be set
eeprom write 199 1 0           ; We will give this first output value 0 (value can be between 0 and 63) so it will be switched off

If more outputs needs to be set or cleared, the following instructions can be used for the second, third and fourth output:

eeprom write 199 2 u           ; Output u as the second output the be set or cleared
eeprom write 199 3 v           ; We will give this second output value v (value can be between 0 and 63)
eeprom write 199 4 w           ; Output w as the third output the be set or cleared
eeprom write 199 5 x           ; We will give this third output value x (value can be between 0 and 63)
eeprom write 199 6 y           ; Output y as the fourth output the be set or cleared
eeprom write 199 7 z           ; We will give this fourth output value z (value can be between 0 and 63)

Step 2: Set/clear the outputs for cooling mode

In our example, we want to set output 13 since the output must be on in Cooling mode for our type of installation.

eeprom write 199 8 13          ; Output 13 as the first output the be set
eeprom write 199 9 63          ; We will give this first output value 63 (value can be between 0 and 63) so it will be switched on

If more outputs needs to be set or cleared, the following instructions can be used for the second, third and fourth output:

eeprom write 199 10 u          ; Output u as the second output the be set or cleared
eeprom write 199 11 v          ; We will give this second output value v (value can be between 0 and 63)
eeprom write 199 12 w          ; Output w as the third output the be set or cleared
eeprom write 199 13 x          ; We will give this third output value x (value can be between 0 and 63)
eeprom write 199 14 y          ; Output y as the fourth output the be set or cleared
eeprom write 199 15 z          ; We will give this fourth output value z (value can be between 0 and 63)

Note: For the Daikin setup, no contacts needs to be programmed here since this is automatically controlled by the S5 input on the RTD-10. Only the “Configure the Daikin RTD-10 setup” must be performed as described later on this page.

Configure the Daikin RTD-10 setup

As in the setup of our thermostats, we will also do the configuration for Heating as well as cooling. In our example, we’ve 2 airco units and thus 2 RTD-10 that are connected to 2 Dim Control modules. The first RTD-10 (for the Living room) is connected to output 16 to output 21, the second RTD-10 (for the master bedroom) is connected to output 24 to 29.

Important note: The output values for S1 to S5 have been tested with Daikin and RTD-10. It is however possible that those values must be adapted slightly depending on your installation. We advise to implement the values as described here. If one of the parameters doesn’t seem to work, test the values manually and see the resulted effect on your airco.

Step 1: Set temperature output (S1) for heating

The temperature setpoint is done on S1 of the RTD-10 through voltage control (0-10V). In this step, the link between the used Dim Control output and the S1 input of the RTD-10 is made. Byte 0 sets the S1 output for thermostat 0, Byte 1 sets the S1 output for thermostat 1 etc.

In our example, thermostat 0 (living) and Thermostat 2 (master bedroom) are used in combination with RTD-10.

eeprom write 213 0 16          ; Thermostat 0 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 16 is linked with input S1 of the RTD-10 of the Living room
eeprom write 213 2 24          ; Thermostat 2 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 24 is linked with input S1 of the RTD-10 of the Living room

Step 2: Set temperature output (S1) for Cooling

The temperature setpoint is done on S1 of the RTD-10 through voltage control (0-10V). In this step, the link between the used Dim Control output and the S1 input of the RTD-10 is made. Byte 0 sets the S1 output for thermostat 0, Byte 1 sets the S1 output for thermostat 1 etc.

In our example, thermostat 0 (living) and Thermostat 2 (master bedroom) are used in combination with RTD-10.

In normal circumstance, the S1 output for heating and cooling will be the same output.

eeprom write 217 0 16          ; Thermostat 0 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 16 is linked with input S1 of the RTD-10 of the Living room
eeprom write 217 2 24          ; Thermostat 2 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 24 is linked with input S1 of the RTD-10 of the Living room

Step 3: Program the temperature curve for heating

The S1 inputs controls the setpoint. The Dim Control output that is linked to the S1 input and has a Dim Control value (0-63) for every temperature value.

The same curve will be used for all RTD-10 devices. The curve can be changed when different behavior is needed.

eeprom write 213 24 10         ; 16 degree will be linked with output value 10
eeprom write 213 25 10         ; 16.5 degree will be linked with output value 10
eeprom write 213 26 10         ; 17 degree will be linked with output value 10
eeprom write 213 27 10         ; 17.5 degree will be linked with output value 10
eeprom write 213 28 15         ; 18 degree will be linked with output value 15
eeprom write 213 29 15         ; 18.5 degree will be linked with output value 15
eeprom write 213 30 18         ; 19 degree will be linked with output value 18
eeprom write 213 31 18         ; 19.5 degree will be linked with output value 18
eeprom write 213 32 20         ; 20 degree will be linked with output value 20
eeprom write 213 33 20         ; 20.5 degree will be linked with output value 20
eeprom write 213 34 25         ; 21 degree will be linked with output value 25
eeprom write 213 35 25         ; 21.5 degree will be linked with output value 25
eeprom write 213 36 28         ; 22 degree will be linked with output value 28
eeprom write 213 37 28         ; 22.5 degree will be linked with output value 28
eeprom write 213 38 30         ; 23 degree will be linked with output value 30
eeprom write 213 39 30         ; 23.5 degree will be linked with output value 30
eeprom write 213 40 35         ; 24 degree will be linked with output value 35

Step 4: Program the temperature curve for Cooling

The S1 inputs controls the setpoint. The Dim Control output that is linked to the S1 input and has a Dim Control value (0-63) for every temperature value. The same curve will be used for all RTD-10 devices. The curve can be changed when different behavior is needed.

In normal circumstances, the temperature curve for heating and cooling will be the same.

eeprom write 217 24 10         ; 16 degree will be linked with output value 10
eeprom write 217 25 10         ; 16.5 degree will be linked with output value 10
eeprom write 217 26 10         ; 17 degree will be linked with output value 10
eeprom write 217 27 10         ; 17.5 degree will be linked with output value 10
eeprom write 217 28 15         ; 18 degree will be linked with output value 15
eeprom write 217 29 15         ; 18.5 degree will be linked with output value 15
eeprom write 217 30 18         ; 19 degree will be linked with output value 18
eeprom write 217 31 18         ; 19.5 degree will be linked with output value 18
eeprom write 217 32 20         ; 20 degree will be linked with output value 20
eeprom write 217 33 20         ; 20.5 degree will be linked with output value 20
eeprom write 217 34 25         ; 21 degree will be linked with output value 25
eeprom write 217 35 25         ; 21.5 degree will be linked with output value 25
eeprom write 217 36 28         ; 22 degree will be linked with output value 28
eeprom write 217 37 28         ; 22.5 degree will be linked with output value 28
eeprom write 217 38 30         ; 23 degree will be linked with output value 30
eeprom write 217 39 30         ; 23.5 degree will be linked with output value 30
eeprom write 217 40 35         ; 24 degree will be linked with output value 35 

Step 5: Set the ventilation output (S2) for Heating

The ventilation speed is controlled via S2 of the RTD-10 through voltage control (0-10V). In this step, the link between the used Dim Control output and the S2 input of the RTD-10 is made. Byte 0 sets the S2 output for thermostat 0, Byte 1 sets the S2 output for thermostat 1 etc.

In our example, thermostat 0 (living) and Themostat 2 (master bedroom) are used in combination with RTD-10.

eeprom write 214 0 17          ; Thermostat 0 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 17 is linked with input S2 of the RTD-10 of the Living room
eeprom write 214 2 25          ; Thermostat 2 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 25 is linked with input S2 of the RTD-10 of the Living room

Step 6: Set the ventilation output (S2) for Cooling

The ventilation speed is controlled via S2 of the RTD-10 through voltage control (0-10V). In this step, the link between the used Dim Control output and the S2 input of the RTD-10 is made. Byte 0 sets the S2 output for thermostat 0, Byte 1 sets the S2 output for thermostat 1 etc.

In our example, thermostat 0 (living) and Themostat 2 (master bedroom) are used in combination with RTD-10.

In normal circumstances, the Dim control output for ventilation speed in Cooling and Heating mode will be the same.

eeprom write 218 0 17          ; Thermostat 0 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 17 is linked with input S2 of the RTD-10 of the Living room
eeprom write 218 2 25          ; Thermostat 2 is configured for RTD-10 use (see step 9 Link the 2 outputs) and output 25 is linked with input S2 of the RTD-10 of the Living room

Step 7: Program the ventilation speed for Heating

The ventilation speed must be set manually by programming the below values. Byte 24 sets the ventilation speed for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

We’ve chosen to set the ventilation speed at “high”.

eeprom write 214 24 63         ; Ventilation for Thermostat 0 is set at high speed 
eeprom write 214 26 63         ; Ventilation for Thermostat 2 is set at high speed 

Step 8: Program the ventilation speed for Cooling

The ventilation speed must be set manually by programming the below values. Byte 24 sets the ventilation speed for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

We’ve chosen to set the ventilation speed at “high”.

eeprom write 218 24 63         ; Ventilation for Thermostat 0 is set at high speed 
eeprom write 218 26 63         ; Ventilation for Thermostat 2 is set at high speed 

Step 9: Set the output (S3) for mode selection in Heating

The airco unit can be switched between cooling and heating by changing the voltage on the S3 input of the RTD-10. Let’s first link the Dim Control output with the S3 input on the RTD-10.

eeprom write 215 0 18          ; S3 is connected on output 18 for thermostat 0
eeprom write 215 2 26          ; S3 is connected on output 26 for thermostat 2

Step 10: Set the output (S3) for mode selection in Cooling

The airco unit can be switched between cooling and heating by changing the voltage on the S3 input of the RTD-10. Let’s first link the Dim Control output with the S3 input on the RTD-10.

eeprom write 219 0 18          ; S3 is connected on output 18 for thermostat 0
eeprom write 219 2 26          ; S3 is connected on output 26 for thermostat 2

Step 11: Program the mode values for Heating

This step programs the value that that the Dim Control output that is coupled with S3 needs to have when the system is in heating mode. Byte 24 sets the mode for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

eeprom write 215 24 20         ; S3 will be on value 20 for thermostat 0
eeprom write 215 26 20         ; S3 will be on value 20 for thermostat 2

Step 12: Program the mode values for Cooling

This step programs the value that that the Dim Control output that is coupled with S3 needs to have when the system is in cooling mode. Byte 24 sets the mode for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

eeprom write 219 24 40         ; S3 will be on value 20 for thermostat 0
eeprom write 219 26 40         ; S3 will be on value 20 for thermostat 2

Step 13: Set the output (S5) for switching the airco ON/OFF in Heating mode

Changing the voltage on S5 will switch on or off the airco. Byte 100 sets the ON/OFF output (connected with S5) for thermostat 0, byte 101 for thermostat 1, byte 102 for thermostat 2 etc.

eeprom write 215 100 20        ; S5 is connected on output 20 for thermostat 0
eeprom write 215 102 28        ; S5 is connected on output 28 for thermostat 2

Step 14: Set the output (S5) for switching the airco ON/OFF in Cooling mode

Changing the voltage on S5 will switch on or off the airco. Byte 100 sets the ON/OFF output (connected with S5) for thermostat 0, byte 101 for thermostat 1, byte 102 for thermostat 2 etc.

eeprom write 219 100 20        ; S5 is connected on output 20 for thermostat 0
eeprom write 219 102 28        ; S5 is connected on output 28 for thermostat 2

Step 15: Set the poke angle output (S4) in Heating mode

Changing the voltage on S4 will change the poke angle. In this step we’ll program which the Dim Control output is connected with S4. Byte 0 sets the poke angle output (connected with S4) for thermostat 0, byte 1 for thermostat 1, byte 2 for thermostat 2 etc.

eeprom write 216 0 19          ; S4 is connected on output 19 for thermostat 0
eeprom write 216 2 27          ; S4 is connected on output 27 for thermostat 2

Step 16: Set the poke angle output (S4) in Cooling mode

Changing the voltage on S4 will change the poke angle. In this step we’ll program which the Dim Control output is connected with S4. Byte 0 sets the poke angle output (connected with S4) for thermostat 0, byte 1 for thermostat 1, byte 2 for thermostat 2 etc.

eeprom write 220 0 19          ; S4 is connected on output 19 for thermostat 0
eeprom write 220 2 27          ; S4 is connected on output 27 for thermostat 2

Step 17: Program the poke angle for Heating

The poke angle must be set manually by programming the below values. Byte 24 sets the poke angle for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

eeprom write 216 24 20         ; Poke angle for Thermostat 0 
eeprom write 216 26 20         ; Poke angle for Thermostat 2 

Step 18: Program the poke angle for Cooling

The poke angle must be set manually by programming the below values. Byte 24 sets the poke angle for thermostat 0, byte 25 for thermostat 1, byte 26 for thermostat 2 etc.

eeprom write 220 24 20         ; Poke angle for Thermostat 0 
eeprom write 220 26 20         ; Poke angle for Thermostat 2