Mul - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

8.8.3

MUL

FB/FC
FC
MUL is used for the multiplication of two or more variables or constants.
Parameters
Parameter
Meaning
name
In1
Multiplicand
In2 to InN
Multiplier
Out
Product
Bit string
In1
to
InN
Out
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The instruction is used for the multiplication of two or more variables or constants. The result is
output to Out, that is, Out= In1 * In2 * ... * InN.
The input parameters In1 ~ InN are allowed to be the variables of different data types in this
instruction. When In1 ~ InN are the variables of different data types, the multiplication will be
performed based on the data type which can contain valid ranges of In1 ~ InN values. For example,
the data type of Out is DINT if the data type of In1 is INT and In2 is DINT.
Explanation
MUL
EN
In1
.
.
.
.
.
.
InN
Input/
Output
Input
Multiplicand
The maximum number of
multipliers is 7, which means
that N can be 2~8 and the
Input
number can be increased or
reduced via the programming
software in creating a program.
The multiplication result of In1
Output
~ InN
Integer
Chapter 8 Logic Instructions
ENO
Ou t
Description
Depends on the data type of
the variable that the input
parameter is connected to.
Depends on the data type of
the variable that the input
parameter is connected to.
Depends on the data type of
the variable that the output
parameter is connected to.
Real
number
Applicable model
DVP15MC11T
Valid range
Time, date
8-59
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents