EasyManuals Logo

Vector VEC-VA Series User Manual

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #182 background imageLoading...
Page #182 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vector VEC-VA Series and is the answer not in the manual?

Vector VEC-VA Series Specifications

General IconGeneral
BrandVector
ModelVEC-VA Series
CategoryController
LanguageEnglish

Related product manuals