L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 649
Advertising
L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29
647
Example in ST:
SRInst(SET1:= VarBOOL1 , RESET:=VarBOOL2 );
VarBOOL3 := SRInst.Q1 ;
RS
Provided by standard.lib.
Resetting Bistable Function Blocks
Q1 = RS (SET, RESET1) means:
Q1 = NOT RESET1 AND (Q1 OR SET)
The input variables SET and RESET1 as well as the output variable Q1 are type BOOL.
Declaration example:
RSInst : RS ;
Example in IL:
CAL RSInst(SET:= VarBOOL1,RESET1:=VarBOOL2)
LD RSInst.Q1
ST VarBOOL3
Example in FBD:
Example in ST:
RSInst(SET:= VarBOOL1 , RESET1:=VarBOOL2 );
VarBOOL3 := RSInst.Q1 ;
Advertising