RS

The function block RS 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_VAR
Name | Type | Description |
---|---|---|
SET | BOOL | Set input |
RESET1 | BOOL | Reset input |
Outputs
VAR_OUTPUT
Q1 : BOOL;
END_VAR
Internal implementation of the function block:
Q1: = NOT RESET1 AND (Q1 OR SET);
Name | Type | Description |
---|---|---|
Q1 | BOOL | The output is reset. |
Requirements
Development environment | Target platform | PLC library to include |
---|---|---|
TwinCAT v3.0.0 | PC or CX (x86) | Tc2_Standard |