Panasonic FP Series Programming Manual page 319

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Counter instructions
CTD
The function block CTD (count down) allows you to program counting procedures.
Description
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 CTD declare the following:
CD
LOAD (LD)
PV
Q
CV
The names in brackets are the valid parameter names of the ST-editor.
PLC types
Availability of CTD (see page 1319)
Time chart
318
Down counter
clock generator input
the value 1 is subtracted from the current value CV for each rising edge
detected at CD, except when LOAD is set or CV has reached the value zero.
Set
with LOAD the counter state is reset to PV
preset value
is the value subjected to subtraction during the first counting procedure
signal output
is set if CV = zero
current value
contains the current subtraction result (CV = current value)

Advertisement

Table of Contents
loading

Table of Contents