EasyManua.ls Logo

Vector VEC-VA Series

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
Loading...
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

Table of Contents

Related product manuals