Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 98

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

Advertisement

Processing details
■Multiplication 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, K_1 to K_5: Coefficient, B_: Bias
When no value to be input exists for any of the inputs (IN1 to IN5), input 1 to both the input and coefficient.
When either input or coefficient is set to 0, the bias (B_) will be output (OUT_).
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_.
MUL_IN1_DATA
MUL_IN2_DATA
1
1
1
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
96
6.3 Multiplication (with coefficient) (M+P_MUL)
Output (OUT_)
OUT_ = (K_1  IN1)  (K_2  IN2)  (K_3  IN3)  (K_4  IN4)  (K_5  IN5) + B_
M+P_MUL
IN1
OUT_
IN2
IN3
IN4
IN5
MUL_OUT_DATA

Advertisement

Table of Contents
loading

Table of Contents