DVP-15MC Series Motion Controller Operation Manual
8-54
Counter Instructions
FB/FC
FB
CTU is used as an up counter.
DVP15MC11T-06
Parameters
Meaning
Description Valid range
CU
Input
Control the up-counter to start counting
up
TRUE or FALSE
Reset Reset signal Input Reset the counter present value TRUE or FALSE
PV Preset value Input Counter setting value 0 ~ 4294967295
Q Output signal Output Q is TRUE when CV equals PV. TRUE or FALSE
CV Counter value Output Counter present value 0 ~ 4294967295
Boolean
Bit string Integer
Real
number
Time, date
String
REAL
STRING
CU
●
Reset
●
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
1. CTU functions as an up counter.
2. When CU changes from FALSE to TRUE, the counter perfoms the up-counting once and the value
of CV is increased by 1. When CV equals PV, Q is TRUE. When Reset is set to TRUE, CV is
cleared to 0 and Q is reset to FALSE.
CTU
EN ENO
Q
CTU_instance
CU
Q
Reset
CV
PV