8.8
Math Instructions
8.8.1
ADD
FB/FC
FC
ADD is used for the addition operation of two or more variables or constants.
Parameters
Parameter
Meaning
name
In1
Augend
In2 to InN
Addend
Out
Sum
Bit string
In1
●
●
●
to
InN
In2
●
●
●
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 addition of two or more variables or constants. The result is output to
Out, that is, Out= In1 + In2 +...+ InN.
Explanation
ADD
EN
In1
.
.
.
.
.
.
InN
Input/
Output
Input
Augend
The maximum number of
addends 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 addition result of In1 to
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-53
8_