RS (Zurücksetzen/Setzen)
Die RS-Anweisung setzt das dominante (höchste Priorität beim Bestimmen eines Anweisungsverhaltens) bistabile Element zurück bzw. legt es fest.
Unterstützte Sprachen: Funktionsblockdiagramm, Kontaktplan und Strukturierter Text.
Diese Anweisung gilt für die Controller
Micro810
LC10, Micro820
L20E, Micro850
L50E und Micro870
L70E.RS

Parameter | Parametertyp | Datentyp | Beschreibung |
|---|---|---|---|
SET | Eingang | BOOL | TRUE: Setzt Q1 auf TRUE. |
RESET1 | Eingang | BOOL | TRUE: Setzt Q1 auf FALSE (dominant). |
Q1 | Ausgang | BOOL | Boolescher Speicherzustand. |
RS-Beispiele
Beispiel für RS-Funktionsblockdiagramm

Beispiel für einen RS-Kontaktplan

Beispiel für strukturierten RS-Text

(* ST Equivalence: RS1 is an instance of a RS block *) RS1(start_cmd, (stop_cmd OR alarm)); command := RS1.Q1;
Ergebnisse

Rückmeldung geben