Zitat von starwarsfan
Beitrag anzeigen
Ankündigung
Einklappen
Keine Ankündigung bisher.
LBS 19000145 - Beschattungssteuerung-NG
Einklappen
X
-
Hallo zusammen,
irgendwie bekomme ich die Dämmerungsfunktion nicht zum Laufen... Die Beschattungsfunktion funktioniert hingegen ohne Probleme.
Vielleicht hat ja jemand ein Tipp für mich. Danke schon mal im Voraus.
Der Rolladen ist oben und sollte natürlich geschlossen sein.
Anbei der Log-Eintrag
Logfile.PNG Der Timer läuft und läuft - er scheint kein Ende zu finden.
Und hier die LBS-Einstellungen
Dämmerung_1.PNG
Dämmerung_2.PNG
Kommentar
-
Hi Thorsten
Zitat von Thorsten1970 Beitrag anzeigenirgendwie bekomme ich die Dämmerungsfunktion nicht zum Laufen... Die Beschattungsfunktion funktioniert hingegen ohne Probleme.Kind regards,
Yves
Kommentar
-
Hallo Yves,
ich glaube ich kenne den Grund - der Ausgang A10 ist "-6", wird aber am Eingang E11 als "0" angezeigt. ich habe hier einfach mal den Wert "-6" vorgegeben --> der Rolladen fährt nach unten. Wie sieht denn bei Dir die Ausgangsbox aus? Welche verwendest Du und wie ist der Inhalt. Kannst Du mir eventuell ein Screenshot zusenden?
Und hier noch der restliche Logeintrag2017-07-02 22:00:46 747992 22901 INFO: ===== === = LBS finished = === =============================================== 2017-07-02 22:00:56 728748 22901 INFO: ===== === = Timer finished and outputs not set, starting LBS (v3.7) = === ==== 2017-07-02 22:00:56 729058 22901 INFO: ===== === = LBS was triggered = === ========================================== 2017-07-02 22:00:56 729223 22901 INFO: <Input>: <Refreshed>|<Value> 2017-07-02 22:00:56 729937 22901 INFO: Trigger: 0|1 Trigger changed output: 0|1 Brightness: 0|5 Brightness dawn: 0|5 Elevation: 0|-4.465108728939 Azimut: 0|313.0347449528 Activationstate: 0|1 Lockstate: 0|0 Internal timer: 1 2017-07-02 22:00:56 730573 22901 INFO: Virtual depth and height of sun position in 90� to the facade: 0.89128166645852, -0.078088996633998, effective Elevation: -5.0071422349284 2017-07-02 22:00:56 731661 22901 INFO: Previous value of A1 equals new value 1, skipping update of A1 2017-07-02 22:00:56 731970 22901 INFO: Real azimut 313.0347449528� and facade at 340� -> IN SUN (from 250� to 70�), effective elevation -5.0071422349284� for given elevation of -4.465108728939� -> NOT in min-max-range (0-90) 2017-07-02 22:00:56 732116 22901 INFO: Storing current shutter state 0 and updating output if necessary 2017-07-02 22:00:56 734699 22901 INFO: Updating A10 with value 0 2017-07-02 22:00:56 737622 22901 INFO: Handling current shutter state NEUTRAL (0) 2017-07-02 22:00:56 737927 22901 INFO: Switching from NEUTRAL to DAWN_FULL_CLOSE_TIMER_RUNNING 2017-07-02 22:00:56 738112 22901 INFO: Starting new timer for 10 seconds up to 22:01:06 2017-07-02 22:00:56 740499 22901 INFO: Storing current shutter state -6 and updating output if necessary 2017-07-02 22:00:56 742763 22901 INFO: Updating A10 with value -6 2017-07-02 22:00:56 744420 22901 INFO: Shutter state has changed from 0 to -6, checking if there might be another change... 2017-07-02 22:00:56 745537 22901 INFO: Handling current shutter state DAWN_FULL_CLOSE_TIMER_RUNNING (-6) 2017-07-02 22:00:56 747721 22901 INFO: Updating outputs out of DAWN_FULL_CLOSE_TIMER_RUNNING if necessary 2017-07-02 22:00:56 750003 22901 INFO: Values to write to outputs for height and angle: 0%/0% 2017-07-02 22:00:56 751261 22901 INFO: Previous value of A2 equals new value 0, skipping update of A2 2017-07-02 22:00:56 752319 22901 INFO: Previous value of A3 equals new value 0, skipping update of A3 2017-07-02 22:00:56 753397 22901 INFO: Previous value of A5 equals new value 0, skipping update of A5 2017-07-02 22:00:56 755114 22901 INFO: Previous value of A4 equals new value 0, skipping update of A4 2017-07-02 22:00:56 756256 22901 INFO: Previous value of A6 equals new value 0, skipping update of A6 2017-07-02 22:00:56 756548 22901 INFO: Shutter angle 0% = 0� 2017-07-02 22:00:56 758135 22901 INFO: Previous value of A7 equals new value 0, skipping update of A7 2017-07-02 22:00:56 760288 22901 INFO: Storing current shutter state -6 and updating output if necessary 2017-07-02 22:00:56 761787 22901 INFO: Previous value of A10 equals new value -6, skipping update of A10 2017-07-02 22:00:56 762696 22901 INFO: ===== === = LBS finished = === =============================================== 2017-07-02 22:01:06 747380 22901 INFO: ===== === = Timer finished and outputs not set, starting LBS (v3.7) = === ==== 2017-07-02 22:01:06 747703 22901 INFO: ===== === = LBS was triggered = === ========================================== 2017-07-02 22:01:06 747834 22901 INFO: <Input>: <Refreshed>|<Value> 2017-07-02 22:01:06 748883 22901 INFO: Trigger: 0|1 Trigger changed output: 0|1 Brightness: 0|5 Brightness dawn: 0|5 Elevation: 0|-4.465108728939 Azimut: 0|313.0347449528 Activationstate: 0|1 Lockstate: 0|0 Internal timer: 1 2017-07-02 22:01:06 749592 22901 INFO: Virtual depth and height of sun position in 90� to the facade: 0.89128166645852, -0.078088996633998, effective Elevation: -5.0071422349284 2017-07-02 22:01:06 750699 22901 INFO: Previous value of A1 equals new value 1, skipping update of A1 2017-07-02 22:01:06 751022 22901 INFO: Real azimut 313.0347449528� and facade at 340� -> IN SUN (from 250� to 70�), effective elevation -5.0071422349284� for given elevation of -4.465108728939� -> NOT in min-max-range (0-90) 2017-07-02 22:01:06 751205 22901 INFO: Storing current shutter state 0 and updating output if necessary 2017-07-02 22:01:06 753690 22901 INFO: Updating A10 with value 0 2017-07-02 22:01:06 756264 22901 INFO: Handling current shutter state NEUTRAL (0) 2017-07-02 22:01:06 756572 22901 INFO: Switching from NEUTRAL to DAWN_FULL_CLOSE_TIMER_RUNNING 2017-07-02 22:01:06 756722 22901 INFO: Starting new timer for 10 seconds up to 22:01:16 2017-07-02 22:01:06 759496 22901 INFO: Storing current shutter state -6 and updating output if necessary 2017-07-02 22:01:06 761809 22901 INFO: Updating A10 with value -6 2017-07-02 22:01:06 763475 22901 INFO: Shutter state has changed from 0 to -6, checking if there might be another change... 2017-07-02 22:01:06 764610 22901 INFO: Handling current shutter state DAWN_FULL_CLOSE_TIMER_RUNNING (-6) 2017-07-02 22:01:06 766371 22901 INFO: Updating outputs out of DAWN_FULL_CLOSE_TIMER_RUNNING if necessary 2017-07-02 22:01:06 768609 22901 INFO: Values to write to outputs for height and angle: 0%/0% 2017-07-02 22:01:06 770522 22901 INFO: Previous value of A2 equals new value 0, skipping update of A2 2017-07-02 22:01:06 771599 22901 INFO: Previous value of A3 equals new value 0, skipping update of A3 2017-07-02 22:01:06 772691 22901 INFO: Previous value of A5 equals new value 0, skipping update of A5 2017-07-02 22:01:06 774458 22901 INFO: Previous value of A4 equals new value 0, skipping update of A4 2017-07-02 22:01:06 775515 22901 INFO: Previous value of A6 equals new value 0, skipping update of A6 2017-07-02 22:01:06 775803 22901 INFO: Shutter angle 0% = 0� 2017-07-02 22:01:06 776721 22901 INFO: Previous value of A7 equals new value 0, skipping update of A7 2017-07-02 22:01:06 778810 22901 INFO: Storing current shutter state -6 and updating output if necessary 2017-07-02 22:01:06 780720 22901 INFO: Previous value of A10 equals new value -6, skipping update of A10 2017-07-02 22:01:06 781657 22901 INFO: ===== === = LBS finished = === =============================================== 2017-07-02 22:01:16 764674 22901 INFO: ===== === = Timer finished and outputs not set, starting LBS (v3.7) = === ==== 2017-07-02 22:01:16 764987 22901 INFO: ===== === = LBS was triggered = === ========================================== Zuletzt geändert von Thorsten1970; 02.07.2017, 21:52.
Kommentar
-
Hi
Zitat von Thorsten1970 Beitrag anzeigenich glaube ich kenne den Grund - der Ausgang A10 ist "-6", wird aber am Eingang E11 als "0" angezeigt. ich habe hier einfach mal den Wert "-6" vorgegeben --> der Rolladen fährt nach unten. Wie sieht denn bei Dir die Ausgangsbox aus? Welche verwendest Du und wie ist der Inhalt. Kannst Du mir eventuell ein Screenshot zusenden?
Anyway, die ungleich-leer-Ausgangsbox ist korrekt und dort drin schreibst Du den Wert von E1 in das iKO 558, welches wiederum an E11 in den Baustein einfliesst. Weiterhin solltest Du noch prüfen, ob noch von irgendwo anders her dieses iKO beschrieben wird denn das würde Dir hier auch dazwischen funken.Kind regards,
Yves
Kommentar
-
Zitat von Thorsten1970 Beitrag anzeigenkönnte man A10 nicht direkt mit E11 verbinden? Muss eine Ausgangsbox verwendet werden? Wenn ja, warum?Kind regards,
Yves
Kommentar
-
das iKO558 wird nur an den beiden Stellen verwendet, sonst nirgendwo. Die Beschattung ist ja hier deaktiviert.
Bei den Jalousien hingegen funktioniert die Beschattung, aber die Dämmerungsfunktion auch nicht.
Irgendwie scheint mir der Wert bei Dämmerung nicht weitergegeben zu werden.
Baustein.PNG
Welchen Datentyp habt ihr dem remanenten KO gegeben? DPT5?Zuletzt geändert von Thorsten1970; 03.07.2017, 16:51.
Kommentar
-
Hi
Zitat von Thorsten1970 Beitrag anzeigenWelchen Datentyp habt ihr dem remanenten KO gegeben? DPT5?Kind regards,
Yves
Kommentar
-
Hallo Yves,
irgendwie habe ich seit dem Update von 3.5 auf 3.7 wieder Probleme... Der Baustein deaktiviert sich seit neuestem durch viel zu hoch berechnete Höhenwerte (hier 900%!?):
2017-07-03 16:47:46 275505 25444 INFO: ===== === = Brightness, Elevation or Azimut changed and LBS is active, starting it (v3.7) = === 2017-07-03 16:47:46 275851 25444 INFO: ===== === = LBS was triggered = === ========================================== 2017-07-03 16:47:46 276050 25444 INFO: <Input>: <Refreshed>|<Value> 2017-07-03 16:47:46 276860 25444 INFO: Trigger: 0| Trigger changed output: 0| Brightness: 0|3105.28 Brightness dawn: 0|1989.12 Elevation: 1|43 Azimut: 0|254 Activationstate: 0|1 Lockstate: 0|0 Internal timer: 1 2017-07-03 16:47:46 278167 25444 INFO: Virtual depth and height of sun position in 90� to the facade: 0.069756473744125, 0.93251508613766, effective Elevation: 85.721976400412 2017-07-03 16:47:46 280108 25444 INFO: Previous value of A1 equals new value 1, skipping update of A1 2017-07-03 16:47:46 280463 25444 INFO: Real azimut 254� and facade at 168� -> IN SUN (from 78� to 258�), effective elevation 85.721976400412� for given elevation of 43� -> in min-max-range (0-90) 2017-07-03 16:47:46 280639 25444 INFO: Storing current shutter state 6 and updating output if necessary 2017-07-03 16:47:46 282200 25444 INFO: Previous value of A10 equals new value 6, skipping update of A10 2017-07-03 16:47:46 283361 25444 INFO: Handling current shutter state SHADOW_FULL_CLOSE_TIMER_RUNNING (6) 2017-07-03 16:47:46 283674 25444 INFO: Facade is in sun 2017-07-03 16:47:46 284995 25444 INFO: Updating outputs out of SHADOW_FULL_CLOSE_TIMER_RUNNING if necessary 2017-07-03 16:47:46 288336 25444 INFO: Values to write to outputs for height and angle: 0%/0% 2017-07-03 16:47:46 290358 25444 INFO: Previous value of A2 equals new value 0, skipping update of A2 2017-07-03 16:47:46 292167 25444 INFO: Previous value of A3 equals new value 0, skipping update of A3 2017-07-03 16:47:46 293663 25444 INFO: Previous value of A5 equals new value 0, skipping update of A5 2017-07-03 16:47:46 295962 25444 INFO: Previous value of A4 equals new value 0, skipping update of A4 2017-07-03 16:47:46 297405 25444 INFO: Previous value of A6 equals new value 0, skipping update of A6 2017-07-03 16:47:46 297738 25444 INFO: Shutter angle 0% = -90� 2017-07-03 16:47:46 299345 25444 INFO: Previous value of A7 equals new value -90, skipping update of A7 2017-07-03 16:47:46 302489 25444 INFO: Storing current shutter state 6 and updating output if necessary 2017-07-03 16:47:46 303708 25444 INFO: Previous value of A10 equals new value 6, skipping update of A10 2017-07-03 16:47:46 304622 25444 INFO: ===== === = LBS finished = === =============================================== 2017-07-03 16:48:28 535993 25444 INFO: ===== === = Timer finished and outputs not set, starting LBS (v3.7) = === ==== 2017-07-03 16:48:28 536380 25444 INFO: ===== === = LBS was triggered = === ========================================== 2017-07-03 16:48:28 536546 25444 INFO: <Input>: <Refreshed>|<Value> 2017-07-03 16:48:28 537529 25444 INFO: Trigger: 0| Trigger changed output: 0| Brightness: 0|3105.28 Brightness dawn: 0|1989.12 Elevation: 0|43 Azimut: 0|254 Activationstate: 0|1 Lockstate: 0|0 Internal timer: 1 2017-07-03 16:48:28 538986 25444 INFO: Virtual depth and height of sun position in 90� to the facade: 0.069756473744125, 0.93251508613766, effective Elevation: 85.721976400412 2017-07-03 16:48:28 540478 25444 INFO: Previous value of A1 equals new value 1, skipping update of A1 2017-07-03 16:48:28 540832 25444 INFO: Real azimut 254� and facade at 168� -> IN SUN (from 78� to 258�), effective elevation 85.721976400412� for given elevation of 43� -> in min-max-range (0-90) 2017-07-03 16:48:28 541055 25444 INFO: Storing current shutter state 6 and updating output if necessary 2017-07-03 16:48:28 542759 25444 INFO: Previous value of A10 equals new value 6, skipping update of A10 2017-07-03 16:48:28 544601 25444 INFO: Handling current shutter state SHADOW_FULL_CLOSE_TIMER_RUNNING (6) 2017-07-03 16:48:28 544991 25444 INFO: Facade is in sun 2017-07-03 16:48:28 546041 25444 INFO: Switching from SHADOW_FULL_CLOSE_TIMER_RUNNING to SHADOW_FULL_CLOSED 2017-07-03 16:48:28 546458 25444 INFO: Elevation/Azimut: 43�/254�, resulting effective elevation and shutter angle: 85.721976400412�/-81� (without stepping and offset) 2017-07-03 16:48:28 546747 25444 INFO: Resulting shutter angle with offset and stepping: 50% 2017-07-03 16:48:28 546960 25444 INFO: Values to write to outputs for height and angle: 900%/50% 2017-07-03 16:48:28 550429 25444 INFO: Updating A2 with value 1 2017-07-03 16:48:28 554697 25444 INFO: Updating A3 with value 900 2017-07-03 16:48:28 558830 25444 INFO: Updating A5 with value 255 2017-07-03 16:48:28 562362 25444 INFO: Height change detected, angle will be updated as well. Previous value of updateAlways var: 2017-07-03 16:48:28 562710 25444 INFO: Updating A4 with value 50 even if same values than previous ones 2017-07-03 16:48:28 565438 25444 INFO: Updating A6 with value 128 even if same values than previous ones 2017-07-03 16:48:28 568583 25444 INFO: Shutter angle 50% = 0� 2017-07-03 16:48:28 568936 25444 INFO: Updating A7 with value 0 even if same values than previous ones 2017-07-03 16:48:28 574119 25444 INFO: Timer already finished 2017-07-03 16:48:28 578160 25444 INFO: Storing current shutter state 5 and updating output if necessary 2017-07-03 16:48:28 580732 25444 INFO: Updating A10 with value 5 2017-07-03 16:48:28 582434 25444 INFO: Shutter state has changed from 6 to 5, checking if there might be another change... 2017-07-03 16:48:28 583712 25444 INFO: Handling current shutter state SHADOW_FULL_CLOSED (5) 2017-07-03 16:48:28 584064 25444 INFO: Facade is in sun 2017-07-03 16:48:28 584245 25444 INFO: Recalculating shutter position out of state SHADOW_FULL_CLOSED 2017-07-03 16:48:28 584467 25444 INFO: Elevation/Azimut: 43�/254�, resulting effective elevation and shutter angle: 85.721976400412�/-81� (without stepping and offset) 2017-07-03 16:48:28 584697 25444 INFO: Resulting shutter angle with offset and stepping: 50% 2017-07-03 16:48:28 584858 25444 INFO: Values to write to outputs for height and angle: 900%/50% 2017-07-03 16:48:28 587853 25444 INFO: Previous value of A2 equals new value 1, skipping update of A2 2017-07-03 16:48:28 589441 25444 INFO: Previous value of A3 equals new value 900, skipping update of A3 2017-07-03 16:48:28 591013 25444 INFO: Previous value of A5 equals new value 255, skipping update of A5 2017-07-03 16:48:28 594033 25444 INFO: Previous value of A4 equals new value 50, skipping update of A4 2017-07-03 16:48:28 595606 25444 INFO: Previous value of A6 equals new value 128, skipping update of A6 2017-07-03 16:48:28 595984 25444 INFO: Shutter angle 50% = 0� 2017-07-03 16:48:28 597412 25444 INFO: Previous value of A7 equals new value 0, skipping update of A7 2017-07-03 16:48:28 600958 25444 INFO: Timer already finished 2017-07-03 16:48:28 604022 25444 INFO: Storing current shutter state 5 and updating output if necessary 2017-07-03 16:48:28 605695 25444 INFO: Previous value of A10 equals new value 5, skipping update of A10 2017-07-03 16:48:28 606834 25444 INFO: ===== === = LBS finished = === =============================================== 2017-07-03 16:49:06 975126 25444 INFO: LBS disabled through external height change (100 vs 885/915) 2017-07-03 16:50:12 113342 25444 INFO: Timer already finished 2017-07-03 16:50:12 115737 25444 INFO: LBS is disabled, nothing changed 2017-07-03 16:50:23 432684 25444 INFO: Timer already finished 2017-07-03 16:50:23 435087 25444 INFO: LBS is disabled, nothing changed
und: warum ist A3 in % nicht auf 100% limitiert? An A5 scheint eine Limitierung auf max 255 zu funktionieren.Gruß
Andi
Kommentar
-
Hallo Yves,
sorry, ich hab den Fehler bei mir gefunden. Da ist ein klassischer Copy Paste Fehler passiert, ich habe leider in einem Baustein mich in der Zeile verirrt und fälschlicherweise 900 an E43 (max. Höhe Beschattung) anstatt E45 (Zeit bis Öffnungsposition) als Iniwert reingeschrieben und dann auch noch kopiert
Ggf. könnte man das noch in die Plausibilisierungsfunktion mit aufnehmen, möchte damit aber jetzt mein Verschulden nicht unter den Tisch kehren...Gruß
Andi
Kommentar
-
Hi
Zitat von tger977 Beitrag anzeigensorry, ich hab den Fehler bei mir gefunden. Da ist ein klassischer Copy Paste Fehler passiert, ich habe leider in einem Baustein mich in der Zeile verirrt und fälschlicherweise 900 an E43 (max. Höhe Beschattung) anstatt E45 (Zeit bis Öffnungsposition) als Iniwert reingeschrieben und dann auch noch kopiert
Zitat von tger977 Beitrag anzeigenGgf. könnte man das noch in die Plausibilisierungsfunktion mit aufnehmenZuletzt geändert von starwarsfan; 04.07.2017, 21:43.Kind regards,
Yves
Kommentar
Kommentar