RS
Reset dominant bistable.

Arguments | ||
---|---|---|
SET | BOOL | If TRUE, sets Q1 to TRUE |
RESET1 | BOOL | If TRUE, resets Q1 to FALSE (dominant) |
Q1 | BOOL | Boolean memory state |
Set | Reset1 | Q1 | Result Q1 |
---|---|---|---|
0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 0 |
0 | 1 | 1 | 0 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 1 |
1 | 1 | 0 | 0 |
1 | 1 | 1 | 0 |
Example
(* FBD Program using the RS block *)

(* ST Equivalence: We suppose RS1 is an instance of RS block *)
RS1(start_cmd, (stop_cmd OR alarm)); command := RS1.Q1;
Provide Feedback