Chapter 8 Logic Instructions
8-55
8_
Precautions for Correct Use
While
Reset
is TRUE, the counter will not count up.
When CV equals PV, the counter stops counting.
Programming Example
The variable table and program
Variable name
Data type
Initial value
CTU1
CTU
CTU1_EN
BOOL
FALSE
CTU1_CU
BOOL
FALSE
CTU1_Reset
BOOL
FALSE
CTU1_PV
UDINT
4
CTU1_Q
BOOL
CTU1_CV
UDINT
Timing Chart:
Case 1
:
If CTU counts up normally, the value of CTU1_CV is increased by 1 whenever
CTU1_CU is triggered once.
Case 2
:
When CTU1_CV equals CTU1_PV, CTU1_Q is TRUE and CTU stops counting.
Case 3
:
When CTU1_Reset is TRUE, CTU1_CV is cleared to 0, CTU1_Q is FALSE. And the
counter will not count when CTU1_CU is triggered.
1
CTU
EN
E NO
Q
CTU1
CU
Reset
CV
PV
CTU1_E N
CTU1 _CU
CTU1_Res et
CTU1_PV
CTU1_Q
CTU1_CV
CTU1_CU
CTU1_Res et
CTU1_CV
CTU1_ Q
CTU1 _PV
Cas e 1
Cas e 2
Cas e 3
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...