SRΒΆ
Provided by Standard Library.
Function block, making bistable function blocks dominant.
Inputs:
SET1 : BOOL;
RESET : BOOL;
Output:
Q1 : BOOL;
Q1 = SR (SET1, RESET) means:
Q1 = (NOT RESET AND Q1) OR SET1
Declaration example:\ \ \ \
SRInst : SR ;
Example in IL:\ \ \ \
Example in FBD:\ \ \ \
Example in ST:\ \ \ \
SRInst(SET1:= VarBOOL1 , RESET:=VarBOOL2 );
VarBOOL3 := SRInst.Q1 ;