Short question that will clarify alot for me 
In the homeserver 4.4 there is an inbuilt logic module for detecting rising and falling flanks. Now i need to adjust that module so it will output a 1 for 1 second and than go back to 0. As the module is now, it just sends a 1.
The module in question:
Now i know that the position before the pin-output is zeit, but i do not get how that will allow me to send 1 for 1 second and then revert back to 0
I tried looking at the alarm module:
But that one just leaves me with more questions on how they did that.
Any idea on where to look or hints?

In the homeserver 4.4 there is an inbuilt logic module for detecting rising and falling flanks. Now i need to adjust that module so it will output a 1 for 1 second and than go back to 0. As the module is now, it just sends a 1.
The module in question:
Code:
### BS : Flankendetektor 5001|9059|1|2|0|0|1 5002|9059|1|0 #Objekt 5004|9059|1|0|0|1 #A1 Steigende Flanke 5004|9059|2|0|0|1 #A2 Fallende Flanke 5012|9059|0|"(EN[1]!=EA[1]) and (EN[1]!=0)"|"1"|""|1|0|0|0 5012|9059|0|"(EN[1]!=EA[1]) and (EN[1]==0)"|"1"|""|2|0|0|0
I tried looking at the alarm module:
Code:
### Holger Schwinghammer April 2005 (c) ### ### Alarm Baustein mit Ausgabe der verbleibenden Zeit ### #5000|"Text"|Remanent(1/0)|Anz.Eingänge|.n.|Anzahl Ausgänge|.n.|.n. #5001|Anzahl Eingänge|Ausgänge|Offset|Speicher|Berechnung bei Start #5002|Index Eingang|Default Wert|0=numerisch 1=alphanummerisch #5003|Speicher|Initwert|Remanent #5004|ausgang|Initwert|runden binär (0/1)|typ (1-send/2-sbc)|0=numerisch 1=alphanummerisch #5012|abbruch bei bed. (0/1)|bedingung|formel|zeit|pin-ausgang|pin-offset|pin-speicher|pin-neg.ausgang 5000|"Zeit-Funktionen\Alarm (mit Ausgabe der verbleibenden Zeit)"|4|4|"Trigger (start=1)"|"Zeit"|"Zyklus"|"freeze"|2|"Ausgang 1"|"verbleibende Zeit sek." 4999|"en"|"Time functions\Alarm (with output of remaining time)"|"Trigger (start=1)"|"Time"|"Cycle"|"freeze"|"Output 1"|"Remaining time sec." 5001|4|2|2|1|1 # 5002|1|0|0 # Eingang 1, Trigger 5002|2|0|0 # Eingang 2, Zeit 5002|3|0|0 # Eingang 3, Zyklus 5002|4|0|0 # Eingang 4, freeze 5003|1|0|1 # Speicher 1, 5004|1|0|0|1|0 # Ausgang 1, 5004|2|0|0|1|0 # Ausgang 2, Restzeit Sekunden ############################# Definition der Funktion ############################################ 5012|1|"(EN[2]<=0)"|""|""|0|0|0|0 5012|0|"(EI==0) and EC[4] and (EN[4]==1)"|""|""|0|1|0|0 # freeze 5012|1|"(EI==0) and EC[4] and (EN[4]==1)"|""|""|0|2|0|0 # freeze 5012|0|"(EI==0) and EC[4] and (EN[4]==0)"|"SN[1]"|"1"|0|1|0|0 # freeze ev. SN[1]-1 5012|0|"(EI==1) and (EN[1]==1)"|"EN[2]"|"1"|2|1|1|0 5012|0|"(EI==0) and EC[1] and (EN[1]==1)"|"EN[2]"|"1"|2|1|1|0 5012|0|"OC[1] and (ON[1]==1)"|"1"|""|1|0|0|0 5012|0|"OC[1] and (ON[1]==1)"|"ON[1]"|"1"|0|2|1|0 5012|0|"OC[1] and (ON[1]>0)"|"ON[1]-1"|"1"|2|1|1|0 #5012|0|"OC[1] and (ON[1]==0)"|"1"|""|1|0|0|0 #5012|0|"OC[1] and (ON[1]==0)"|"ON[1]"|"1"|0|2|1|0 5012|0|"OC[2] and ((EN[3]==1) or (EN[3]==0))"|"0"|""|1|0|0|0 # zyklus 5012|0|"OC[2] and (EN[3]==1)"|"EN[2]"|"1"|2|1|1|0 # zyklus ###############################################################################04.07.2005#############
Any idea on where to look or hints?
Kommentar