DVP15MC11T Operation Manual
8.7.2 CTD
FB/FC
Explanation
FB
CTD is used as a down counter. DVP15MC11T
Parameters
Meaning
Description Valid range
CD
Down-counter
input signal
Input Control the counter to start counting down
TRUE or FALSE
Load Load signal Input For writing the down-counter value TRUE or FALSE
PV Preset value Input Counter setting value 0 ~ 4294967295
Q Output signal
Output
Q is TRUE when the counter counts down
to 0.
TRUE or FALSE
CV Counter value
Output
Counter present value 0 ~ 4294967295
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
CU
●
Load
●
PV
●
Q
●
CV
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
CTU functions as a down counter.
When Load is reset to FALSE after being set to TRUE, the value of PV is written to CV. When CD
changes from FALSE to TRUE, the counter makes the counter value decreased once and the value
of CV is decreased by 1. When the value of CV reaches 0, Q is TRUE.
Precautions for Correct Use
While Load is TRUE, the counter will not count down.
CTD
EN ENO
Q
CTD_instance
CD
Load
CV
PV
8-48