Lastabwurf
Funktionsbeschreibung
REVIEW-BEDARF
Eingänge
In 1-n (float): Phasenstrom in mA der zu überprüfenden Eingänge
In_Max (float): Obere Grenze in mA
In_OK (float): Untere Grenze in mA
T_Wait (float): Wartezeit in Sekunden
(Optional) Inhibit 1-n (boolean): (Optionale) Sperreingänge, lösen die →Abbruchfunktion aus.
(Optional) Trigger 1-n (boolean): (Optionale) Triggereingänge, lösen die →Triggerfunktion aus.
Ausgänge
Active (boolean): Last Ein/Aus (Ergebnis der Berechnung).
Hinweise
Praktische Anwendungsbeispiele
Code
EXPERTEN
Der Custom-Logik-Code dieses Logik-Moduls lautet wie folgt:
{ "Level": [ [ "$LimLow", "float", 0 ], [ "$LimHigh", "float", 0 ], [ "$LimCurr", "float", 0 ], [ "$Active", "bool", true ], [ "$VAR<$In!>", "float", 0 ], [ "$InMax", "float", 0 ], [ "$InMaxOK", "bool", true ], [ "$WaitOK", "float", 600 ], [ "$StabilOK", "bool", true ], [ "$VAR<Inhibit?>", "bool", false ] ], "Module": [ [ "Break", [ "$VAR<Inhibit?>" ] ], [ "Multiplexer", [ "$LimLow", "$LimHigh" ], "$LimCurr", "$Active" ], [ "Statistic", [ "$VAR<$In!>" ], 0, "$InMax", 0, 0 ], [ "Comparator", "$InMax", "-$InMaxOK", "$LimCurr" ], [ "Monoflop", "$InMaxOK", "-$InMaxOK", "-$StabilOK", "$WaitOK", 3 ], [ "And", [ "$InMaxOK", "$StabilOK" ], "$Active" ] ], "Input": [ [ "In", "Phasenstrom im mA", "$VAR<$In!>", "c" ], [ "In_Max", "Obere Grenze", "$LimHigh", "c" ], [ "In_OK", "Untere Grenze", "$LimLow", "c" ], [ "T_Wait", "Wartezeit [s]", "$WaitOK", "c" ], [ "Inhibit", "Inhibit", "$VAR<Inhibit?>", "c" ] ], "Output": [ [ "Active", "Last Ein/Aus", "$Active", "ct" ] ] }
Kommentar hinzufügen