SET1 : BOOL Condition for forcing to TRUE (highest priority command)
RESET : BOOL Condition for forcing to FALSE
Q1 : BOOL Output to be forced
| SET1 | RESET | Q1 prev | 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 |
1 |
|
1 |
1 |
1 |
1 |
The output is unchanged when both inputs are FALSE. When both inputs are TRUE, the output is forced to TRUE (set dominant).
(* MySR is declared as an instance of SR function block *)
MySR (SET1, RESET);
Q1 := MySR.Q1;
(* the SET1 command is the rung - the rung is the output *)
(* MySR is declared as an instance of SR function block *)
Op1: CAL MySR (SET1, RESET)
FFLD MySR.Q1
ST Q1
See also
|
Copyright © 2015 Kollmorgen™ |
|