
L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29 651
Declaration example:
FTRIGInst : F_TRIG ;
Example in IL:
CAL FTRIGInst(CLK := VarBOOL1)
LD FTRIGInst.Q
ST VarBOOL2
Example in FBD:
Example in ST:
FTRIGInst(CLK:= VarBOOL1);
VarBOOL2 := FTRIGInst.Q;
19.1.4 Counter...
CTU
Provided by standard.lib.
Function block Incrementer:
The input variables CU and RESET as well as the output variable Q are type BOOL, the
input variable PV and the output variable CV are type WORD.
The counter variable CV will be initialized with 0 if RESET is TRUE. If CU has a rising
edge from FALSE to TRUE, CV will be raised by 1.Q will return TRUE when CV is greater
than or equal to the upper limit PV.
Kommentare zu diesen Handbüchern