^

Themabewertung:
  • 296 Bewertung(en) - 2.88 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Programming Approach
#2
1) Wanted Function (tell it with my own words)

1a) The two split-units are for cooling a room, around the clock.
1b) One of the split-unit is 'leading', the other is for 'backup'.
The leading split-unit is set to 24°, the backup split-unit is set to 27°.When the cooling-job is too hard for the leading split-unit alone, and the room is getting
warmer and warmer (>24°),then (=>27°) the backup split-unit is working too. Both split-units will rich the wanted cool room-temp.
1c) Every 24h the split-units changes the status - yesterday leading, today backup. Over the time you get the same running/using for both split-units.

2) LCN-Components
LCN-SHS: The intelligent.
LCN-R2H: Relay1 switches split-unit 1, relay2 switches split-unit 2.
LCN-TS: The temp.-sensor, to get the actual temp. in this room.
LCN-LSA: The outdoor lightsensor, to detect the darkness, the night. When the day will come (lightning), 24h are over.
Then it toggles the split units (using) - unit 1 from 'leading' to 'backup', unit 2 from 'backup' to 'leading'
Mount the lightsensor at the north house-wall (not at the south, not at the roof).

3) Programming (see attachment too)
Regulator1: Temp-value from the temp.sensor, set-value 24° ('leading'), works to relay1.
Regulator2: Temp-value from the same temp.sensor, set-value 27° ('backup'), works to relay2.

After 24h, the new day (lightsensor, threshold 4-1) will toggle the "FlipFlop", a virtual relay. Its status-commands shift the set-value from regulator1 up to 27°;
and the set-value from regulator2 down to 24°.
Now split-unit 1 is 'backup' and split-unit 2 is 'leading'.
The next day toggle the "FlipFlop" again, its (re)sets the programmend set-value to each regulator.
Now split unit 1 is 'leading' and split-unit 2 is 'backup'.

To get the real night (and day), the threshold of the light-sensor waits 58 minutes (command 'send-key-delayed'), bevore they activate 'day' (or 'night'). That are the keys B7 and B8 for. We only want to know "a new day" ('B7 hit'), that's why 'B8 hit' is not used for commands - but used for the send-key-delayed-waitings!

After power-up, the modul wait a little bit, then it look to the lightsensor-value. The one-time repeat (key C7) of the used threshold (4-1) will get the real day-state (day or night) - where ever it is, what ever time it is.
Mit freundlichen Grüßen vom LCN-Team

W.Starke
Zitieren


Nachrichten in diesem Thema
Programming Approach - von Aertiongs - 12.08.2013, 09:57
RE: Programming Approach - von WS - 14.08.2013, 13:45
[Kein Betreff] - von Aertiongs - 14.08.2013, 15:34

Gehe zu: