RS (reset/set)
The RS instruction resets or sets the dominant (highest priority when determining instruction behavior) bistable.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the Micro810, L20E, L50E, and L70E controllers.
RS

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
SET | Input | BOOL | TRUE: Sets Q1 to TRUE. |
RESET1 | Input | BOOL | TRUE: Sets Q1 to FALSE (dominant). |
Q1 | Output | BOOL | Boolean memory state. |
RS examples
RS function block diagram example

RS ladder diagram example

RS structured text example

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

Provide Feedback