SR (FB)ΒΆ
FUNCTION_BLOCK SR
Realizes a bistable set-dominat latch
(* Example declaration *)
SRInst : SR;
(* Example in ST *)
SRInst(SET1:= VarBOOL1 , RESET:=VarBOOL2 );
VarBOOL3 := SRInst.Q1 ;
- InOut:
Scope
Name
Type
Comment
Input
SET1BOOLRising edge: Set
Q1toTRUE(dominant)RESETBOOLRising edge: Reset
Q1toFALSEOutput
Q1BOOLOutput value