Chapter 6 Arithmetic Operation; Addition (With Coefficient) (M+P_Add) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

6
ARITHMETIC OPERATION
The following FBs perform operation processing such as addition/subtraction, multiplication/division, and square root.
To set initial values of public variables of the general process FB arranged on a user-defined tag FB in "FB
Property" of the engineering tool, refer to the following.
 GX Works3 Operating Manual
6.1

Addition (with coefficient) (M+P_ADD)

M+P_ADD
This FB adds values with coefficients and bias to the inputs (IN1 to IN5) and outputs (OUT_) the result.
FBD/LD
M+P_ADD
OUT_
IN1
IN2
IN3
IN4
IN5
■Block diagram
M+P_ADD
IN1
IN2
IN3
Addition processing
(with coefficient and bias)
IN4
IN5
Setting data
■Input/output variable
Variable
Description
name
IN1
Input 1
IN2
Input 2
IN3
Input 3
IN4
Input 4
IN5
Input 5
OUT_
Output
■Public variable (operation constant)
Variable
Description
name
K_1 to K_5
Coefficient 1: Coefficient of IN1 data to Coefficient 5: Coefficient of
IN5 data
B_
Bias
OUT_
Recommended
range
-999999 to 999999
-999999 to 999999
-999999 to 999999
-999999 to 999999
-999999 to 999999
-999999 to 999999
Recommended
range
-999999 to 999999
-999999 to 999999
Type
Data type
Input variable
REAL
Input variable
REAL
Input variable
REAL
Input variable
REAL
Input variable
REAL
Output variable
REAL
Initial value
Set by
1.0
User
0.0
User
6 ARITHMETIC OPERATION
6.1 Addition (with coefficient) (M+P_ADD)
6
Data type
REAL
REAL
91

Advertisement

Table of Contents
loading

Table of Contents