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
187
10.2.10 TP (pulse command )
IL programming language
LD, FBD programming language
Function: The :TP command is used to realize the function of a certain width pulse. If the
input terminal IN changes from FALSE to TRUE , the output terminal Q generates a pulse with a time
interval of PT . If the input IN becomes FALSE again during the PT time , the output Q still produces
a pulse of PT width. The ET end records the time between the time when the IN changes to FALSE
and the time when the Q end changes to TRUE .
LD var1
ST TP_1.IN
LD var2
ST TP_1.PT
CAL TP_1
LD TP_1.Q
ST var3
LD TP_1.ET
ST var4
ST
programming language
TP_1 ( IN:=varl , PT:=var2 )
Var3:=TP_1.Q
Var4:=TP_1.ET
Note
: IL, ST
language programming needs to insert variables
valll1~var4
or use constants in
the current
POU
variable worksheet
Data type processed by TON instruction
parameter
type of data
description
IN
BOOL
The rising edge of
IN
is valid
PT
TIME
Pulse time interval
Q
BOOL
As a result, Q produces a pulse of PT width at the rising
edge of IN .
ET
TIME
The timing from the time when IN changes to TRUE to
the time when the Q end changes to TRUE , the state
change of IN does not work for Q.

Table of Contents

Related product manuals