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
158
10.1.27 MUL (Multiplication Directive )
IL programming
language
LD, FBD programming language
Function: The MUL instruction is used to find the product of two data.
LD IN1
MUL IN2
ST OUT
ST programming
language
OUT :=IN1*IN2
Note :
IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
The MUL data processing instruction type
Input and
output
type of data
description
IN1
ANY_NUM
First input
IN2
ANY_NUM
Second input
OUT
ANY_NUM
Product, OUT=IN1*IN2
Funtion and Action examples
Find the value of the integer
4*5
description
When the contact
C300
is
ON
when this
instruction is executed, the address of
the
V505
value by multiplying the
address
V506
the value accumulated in
V507
:
Execution result:
V505 * V506=V507

Table of Contents

Related product manuals