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
160
10.1.29 MUL_T_AN ( multiplication ( time multiplied by
integer, real ) instructions )
IL programming language
LD, FBD programming language
Function: The MUL_T_AN instruction is used to calculate the product of a time type data
anDAn integer or floating point number.
LD IN1
MUL_T_AN IN2
ST OUT
ST programming language
OUT:=MUL_T_AN
(
IN1
,
IN2
)
Note
: IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
MUL_T_AN instruction processing data types
Input and
output
type of data
description
IN1
TIME
First input, time
IN2
ANY_NUM
Second input, integer or floating point number
OUT
TIME
Product, OU T= IN1*IN2
Funtion and Action examples
Find the time
T #5s
multiplied by the value
of the integer
2
description
When the contact
C300
is
ON
, the
instruction is executed, and the value
of the address
V5 11
is multiplied by the
value product in
the address
V5 12
and stored in
V51 3
:
Execution result:
V511
* V5 12 =V5 13

Table of Contents

Related product manuals