VA Motion Controller Programming Manual
176
LD varl
ST CTD_1.CD
LD var2
ST CTD_1.L0AD
LD var3
ST CTD_1.PV
CAL CTD_1
LD CTD_1.Q
ST var4
LD CTD_1.CV
ST var5
ST
programming language
CTD_1
(
CD:=var1
,
LOAD:=var2,
PV:=var3
)
Var4:=CTD_1.Q
Vase:=CTD_1.CV
Note :
IL, ST
language programming needs to insert the variable
vlar1~var5
constant in the
current
POU
variable worksheet
数据
Data type processed by
CTD
instruction
Input
type
of
data
description
CD
BOOL
If the
CD
has a rising edge
, the CV is
decremented by
1.
LOAD
BOOL
When LOAD
is
FALSE
, the count is started, it is
TRUE
,
the
PV is
assigned to
CV
, and the counter is initialized.
PV
INT
Count dowNStart value
Output
type
of
data
description
Q
BOOL
When
CV=0
,
O=1
CV
INT
Count value
Funtion and Action examples
Q
output
1
when contact
C000 is
description
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...