VA Motion Controller Programming Manual
177
turned
from
OFF
to
ON
five times
This counter function block
decrements the count. Assuming a
rising edge at the
CD
input and
LOAD
= FALSE
, the
CV is
decremented by
one. If the final value of the counter
(
PV
) is reached , a
TRUE
signal is
sent at the
Q
output and the function
block stops counting.
If
LOAD=TRUE
, the counter is
initialized
by
the
value
of
the
PV
input. In order to enable the
counting process, the
LOAD
input
must be
FALSE
. Otherwise the
counter will be reinitialized.
10.2.2 CTU (Incremental Counter Instruction )
IL
programming language
LD, FBD
programming language
Function: The
CTU
instruction is used to count the input terminal. When
the
RESET
terminal is
FLSE
, if there is a rising edge at the
CU
input, the
CV
terminal is
incremented by
1
. If the count value
CV
reaches the upper limit value
PV
of the
counter , a
TRUE
signal is issueDAt the
Q
output , and the
CTU
function block stops
counting.
When the RESET
terminal is
TRUE
, the counter stops counting and the
CV
terminal is
cleared.
LD varl
ST CTU_1.CU
LD var2
ST CTU_1.RESET
LD var3
ST CTU_1.PV
CAL CTU_1
LD CTU_1.Q
ST var4
LD CTU_1.CV
ST var5
ST
language
CTU_1
(
CD:=var1
,
LOAD:=var2,
PV:=var3
)
Var4:=CTU_1.Q
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 ...