RSΒΆ

Provided by Standard Library.

Function block, resetting bistable function blocks.

Inputs:

SET : BOOL;

RESET1 : BOOL;

Outputs:

Q1 : BOOL.;

Q1 = RS (SET, RESET1) means:

Q1 = NOT RESET1 AND (Q1 OR SET)

Declaration example:\ \ \ \

RSInst : RS ;

Example in IL:\ \ \ \

../_images/780b97091e8f8213c0a8640e01947982

Example in FBD:\ \ \ \

../_images/4ba16bdd1e8f816bc0a8640e01947982

Example in ST:\ \ \ \

RSInst(SET:= VarBOOL1 , RESET1:=VarBOOL2 );

VarBOOL3 := RSInst.Q1 ;