====== SR ====== {{:en:mervis-ide:35-help:sr.png}} ===== Block name ===== SR ===== ST call ===== PROGRAM SR_DEMO VAR BOOL1,BOOL2,BOOL3: BOOL; FB:SR; END_VAR FB(R:=BOOL2,S1:=BOOL3,Q1=>BOOL1); END_PROGRAM ===== Description ===== The circuit acts as a classical RS flip-flop circuit. If both inputs are //true// the output is //true//. ===== Inputs ===== |Input|Type |Description|Default value| |S1 |ANY_BOOL|Set |False | |R |ANY_BOOL|Reset |False | ===== Outputs ===== |Output|Type|Description | |Q1 |BOOL|Output of the RS circuit| ===== Application example ===== {{:en:mervis-ide:35-help:sr_example.png}}