RS

The RS function block is bistable and RESET is dominant.
Q1 = RS (SET, RESET1)
I.e.: Q1 = NOT RESET1 AND (Q1 OR SET)
Inputs
VAR_INPUT
SET : BOOL;
RESET1 : BOOL;
END_VARName | Type | Description |
|---|---|---|
SET | BOOL | Set input - Q1 is set to TRUE on a rising edge. |
RESET1 | BOOL | Reset input (dominant) - Q1 is set to FALSE on rising edge |
Internal implementation of the function block:
Q1: = NOT RESET1 AND (Q1 OR SET);Requirements
Development environment | Target platform | PLC library to include |
|---|---|---|
TwinCAT v3.0.0 | PC or CX (x86) | Tc2_Standard |
Outputs