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
172
10.1.42 SUB_T_T (Time Subtraction Instruction )
IL programming language
LD, FBD programming language
Function: The SUB_T_T instruction is used to find the difference between two time input
values.
LD IN1
SUB IN2
ST OUT
ST programming language
OUT:=SUB_T_T
(
1N1
,
IN2
)
Note :
IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
SUB_T_ data processing instruction type
Input and
output
type of data
description
IN1
TIME
First input
IN2
TIME
Second input
OUT
TIME
Output, OUT=IN1 - IN2
Funtion and Action examples
Time
T # T # 5S-3S
's value
description
When the contact C300 is ON , the
instruction is executed : the value of
the address V548 is
subtracted from the value
of V549 and stored in the address of
the V550 :
Execution result: V54 8 -V54 9=V550
10.1.43 TAN (tangential command )
IL
programming
language
LD, FBD
programming language
Function: The
TAN
instruction is used to find the tangent of the input value.
LD IN
TAN

Table of Contents

Related product manuals