Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 94

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
■Addition processing
This function block multiplies the values input from the input variables IN1 to IN5 with coefficients and bias and outputs the
result from the output variable OUT_.
Input (IN)
IN1 to IN5
IN1 to IN5: Input value, K_1 to K_5: Coefficient, B_: Bias
When no value to be input exists for any of the inputs (IN1 to IN5), input 0.
Ex.
When values are input only for IN1 and IN2
The value output from the output (OUT_) will be calculated as follows: OUT_ = (K_1  IN1) + (K_2  IN2) + B_.
ADD1_IN_DATA
ADD2_IN_DATA
0
0
0
Operation error
Error code
Description
(SD0)
3402H
Input data (IN1 to IN5) or operation constant (K_1 to K_5 and B_) is a subnormal number or NaN (not a number).
3403H
An overflow has occurred.
6 ARITHMETIC OPERATION
92
6.1 Addition (with coefficient) (M+P_ADD)
Output (OUT_)
OUT_ = (K_1  IN1) + (K_2  IN2) + (K_3  IN3) + (K_4  IN4) + (K_5  IN5) + B_
M+P_ADD
IN1
OUT_
IN2
IN3
IN4
IN5
ADD_OUT_DATA

Advertisement

Table of Contents
loading

Table of Contents