RS (FB)ΒΆ
FUNCTION_BLOCK RS
Realizes a bistable reset-dominat latch
(* Example declaration *)
RSInst : RS ;
(* Example in ST *)
RSInst(SET:= VarBOOL1 , RESET1:=VarBOOL2 );
VarBOOL3 := RSInst.Q1 ;
- InOut:
Scope
Name
Type
Comment
Input
SET
BOOL
Rising edge: Set
Q1
toTRUE
RESET1
BOOL
Rising edge: Reset
Q1
toFALSE
(dominant)Output
Q1
BOOL
Output value