My house was built on old foundations and a basement, which was made by the previous owners of the property. I knew since the beginning that due to its size I will not be able to finish the whole house at once. 6 years after moving in the time has come to fix the attic... and to extend the system.
The beginning of all the planning is the list of needed functions. What do we want to do and what should respond to our actions? From that analysis once can derive the list of 'actors' and buttons. Here are the items I decided to control:
As you see the setup is quite easy. Blinds and lights in the rooms. No blinds in the bathroom but one socket to control. In the lobby there is a floor heating pump and a few heating valves. That's it.
How the above transfers onto the list of needed digital outputs (DOs) of the PLC? Here is the list:
You might ask about the number of DOs for each blind - 1 is for upward and one for downward movement. Additionally the floor heating valves are powered directly from the PLC with 24VDC so no relays are needed.
We are a half way through :) Now is the time to plan inputs. How would I want to control my actors?
During the last 6 years of using the system in the basement and on the ground floor I worked out my personal 'standard' of the number of needed buttons, which works well for me and my family:
- in each room at the door: 1 switch with 2-keys and 2-circuits. Short presses control 2 light circuits. One of the buttons, when held longer, moves the blinds down. The other, when hold longer, moves them up.
- in each room near the windows: 2 switches with 2-keys = 4 circuits. The first 2-key switch is for the blinds (if there is only on blind a 1-key switch will do). The 2nd switch is for the lights.
- in the lobby - the number of keys depends on functions. Near the stairs - 2 for the light in the lobby and on the stairs. Near the rooms - 1 for the lobby. Near the bathroom - 2 switches with 2 keys each - 3 for the bathroom and one for the lobby.
It will be best to look at a drawing. Here is a plan of my attic:
The symbols are not complicated. Let's look at the lobby. H1 is a wall-switch at 115 cm from the floor near the stairs. H2 is a switch between the rooms, below it a 240VAC socket. Near the bathroom there are 2 switches (H3 and H4), below them a socket. Near the big room a wall switch (H5) and a socket. In the ceiling there is a light named H. You might be confused by all the H's... but once you take the wires in hour hand, you will know the difference: YDY 3x2.5 is for sockets, YDY 3x1.5 for the lights, UTP for wall switches.
The left room (PL): Near the blinds there is the wire for powering blinds (R2, YDY 4x1.5). Below it 2 wall switches (PL2 and PL3). Below - a socket in 'C' circuit and a UTP for LAN named X1. On the wall between rooms there are sockets in 'A' circuit and another UTP named X2. Additionally there is 1 wall switch at the door (PL1) and below it - a socket in the 'C' circuit. On the ceiling you will see 2 lights: PLA and PLB.
Here is how all the above transferes to the number of digital inputs (DIs) in the PLC:
1 DI means a 1-button wall switch, 2 DI - a 2-button switch, 4DI - a 4-button switch (our famous 'group switch' from Berker).
Now a summary of the UTP wires in the central cabinet to count the needed LSAs:
Here are my comments:
The last part is the list of needed electric protection items. I am not an electrician so I am posting this without full confidence. I decided to use only 2 phases:
So the time has come to summarize the needed resources
Enough of the planning. It is the time to buy all the toys and start the work!