Chapter 8 Logic Instructions
8-57
8_
Programming Example
The variable table and program
Variable name
Data type
Initial value
CTD1
CTD
CTD1_EN
BOOL
FALSE
CTD1_CD
BOOL
FALSE
CTD1_Load
BOOL
FALSE
CTD1_PV
UDINT
4
CTD1_Q
BOOL
CTD1_CV
UDINT
Timing Chart:
Case 1
:
There is no impact on the ouput by triggering CTD1_CD when the value of CTD1_CV
is 0.
Case 2
:
When CTD1_Load is TRUE and CTD1_CV equals the set value of CTD1_PV,
CTD1_Q changes from TRUE to FALSE. At the moment, CTD1_CV does not count
down when CTD1_CD is triggered.
Case 3
:
If CTD counts down normally and CTD1_Load is FALSE, the value of CTD1_CV is
decreased by 1 whenever CTD1_CD is triggered once. CTD1_Q is TRUE when the
value of CTD1_CV is decreased to 0.
1
CTD
EN
ENO
Q
CTD1
CD
Q
Lo ad
CV
P V
CTD1 _EN
CTD1_CD
CTD1_Lo ad
CTD1_P V
CTD1_ Q
CTD1_ CV
CTD1_CD
CTD1_Lo ad
CTD1_Q
CTD1 _CV
CTD1_ PV
Cas e 1
Ca se 2
Case 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...