EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Counter instructions
316
Part II IEC Instructions
CTU
Up counter
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
For CTU declare the following:
CU clock generator
the value 1 is added to CV for each rising edge at CU, except when RESET is
set
RESET (R) reset
CV is reset to zero for each rising edge at RESET
PV set value
if PV (preset value) is reached, Q is set
Q signal output
is set if CV is greater than/equal to PV
CV current value
contains the addition result (CV = current value)
The names in brackets are the valid parameter names of the ST-editor.
PLC types Availability of CTU (see page 1319)
Time chart
Data type I/O Function
input CU detects rising edge, adds 1 to CV
BOOL
input RESET resets CV to 0 at rising edge
INT input PV set value
BOOL output Q set if CV >= PV
INT output CV current value
Description
The function block CTU (count up) allows you to program counting procedures.
Data types

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals