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
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...