Chapter 8 Logic Instructions
8-59
8_
The symbol
●
indicates that the parameter is allowed to connect to the variable or constant of the data
type.
Function Explanation
CTUD is used as an up counter for counting up and a down counter for counting down.
Precautions for Correct Use
The counter will not count down while
Load
is TRUE.
The counter will not count up while
Reset
is TRUE.
Programming Example
The variable table and program
Variable name
Data type
Initial value
CTUD1
CTUD
CTUD1_EN
BOOL
FALSE
CTUD1_CU
BOOL
FALSE
CTUD1_CD
BOOL
FALSE
CTUD1_Reset
BOOL
FALSE
CTUD1_Load
BOOL
FALSE
CTUD1_PV
UDINT
4
CTUD1_QU
BOOL
CTUD1_QD
BOOL
CTUD1_CV
UDINT
1
CTUD
EN
E NO
Q U
CTUD1
CU
CD
Q D
Re set
L oad
P V
CV
CTUD1_EN
CTUD1_ CU
CTUD1_ CD
CTUD1_Res et
CTUD1_ Load
CTUD1 _PV
CTUD1 _QU
CTUD1 _QD
CTUD1 _CV
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...