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 #183 background imageLoading...
Page #183 background image
VA Motion Controller Programming Manual
178
Var5:=CTU_1.CV
Note : IL, ST language programming needs to insert variables var1 ~ var5 or use
constants in the current POU variable worksheet
Data type processed by CTU instruction
Input
type of data
description
CU
BOOL
If the
CU
has a rising edge
, CV
adds
1
RESET
BOOL
When RESET is FALSE , the count is started ;
When TRUE , the CV is cleared, the counter is
initialized, and the Q terminal is reset.
PV
INT
Incremental count upper limit
Output
type of data
description
Q
BOOL
When
CV=PV
,
Q=1
CV
INT
Count value
Funtion and Action examples
Q
output
1
when contact
C002 is
turned
from
OFF
to
ON
five times
description
This counter function block
counts up. Assuming a rising
edge at the
CU
input and
RESET =
FALSE
, the
CV is
incremented 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
RESET = TRUE
,
the counter is initialized with
0
. In
order to enable the counting
process, the
RESET
input must
be
FALSE
. Otherwise the counter
will always be reinitialized.

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