Subtraction (With Coefficient) (M+P_Sub) - 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.2

Subtraction (with coefficient) (M+P_SUB)

M+P_SUB
This FB subtracts values with coefficients and bias from the values of the inputs (IN1 to IN5) and outputs (OUT_) the result.
FBD/LD
M+P_SUB
IN1
OUT_
IN2
IN3
IN4
IN5
■Block diagram
M+P_SUB
IN1
IN2
IN3
Subtraction 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
6.2 Subtraction (with coefficient) (M+P_SUB)
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
Data type
1.0
User
REAL
0.0
User
REAL
6 ARITHMETIC OPERATION
6
93

Advertisement

Table of Contents
loading

Table of Contents