Mth_ - Math - Siemens Moore 353 User Manual

Process automation controller
Table of Contents

Advertisement

Function Blocks

3.2.59 MTH_ - Math

MTH_ function blocks provide universal arithmetic
capability. As shown in the block diagram, each input has
gain and bias scaling. The resulting signals are then applied
to configurable math operations (DIV, MUL, ADD and
SUB). Operation A will be performed first on inputs A and
B. Operation B will be performed next on the resultant and
input C.
Unused inputs to a MUL or DIV operation will be set to 1.0
and those to an ADD or SUB operation will be set equal to
0.0. The operation of those inputs will function normally
so it is important to insure that the bias and gain settings are
set properly.
In a DIV operation, when a divisor is 0.0 the output will go
to the maximum Real number with the sign determined by
the numerator. If the numerator is 0 the output will be 0.
A
Input A
B
Input B
.
C
Input C
3-60
MATH
+
INput A
GAIN
+
INput A
BIAS
+
INput B
OPeration A
GAIN
Add, Sub, Mul, Div
+
INput B
BIAS
+
INput C
OPeration B
Add, Sub, Mul, Div
GAIN
+
INput C
BIAS
BLOCK DIAGRAM
MATH
MTH_
ESN = 000
Input A
A
MATH
Input B
B
ADD, SUB, MUL, DIV
C
Input C
O
U
T
G
A
I
N
....................................... Real
OUTput GAIN
(S)
I
N
A
G
A
I
N
INput A GAIN
....................................... Real
(S)
I
N
B
G
I
A
N
INput B GAIN
....................................... Real
(S)
I
N
C
G
A
I
N
....................................... Real
INput C GAIN
(S)
O
U
T
B
I A
S
OUTput BIAS
....................................... Real
(S)
I
N
A
B
I A
S
INput A BIAS
....................................... Real
(S)
I
N
B
B
I A
S
....................................... Real
INput B BIAS
(S)
I
N
C
B
I A
S
INput C BIAS
....................................... Real
(S)
O P
A
OPeration A
...................... Add,Sub,Mul,Div
(S)
O P
B
OPeration B
...................... Add,Sub,Mul,Div
(S)
I
N
P
U
T
A
INPUT A
......................
(H)
I
N
P
U
T
B
INPUT B
......................
(H)
I
N
P
U
T
C
......................
INPUT C
(H)
E
S
N
Exec. Seq. No.
............................ 001 to 250
(H)
+
OUTput
GAIN
Output 1
+ +
OUTput
BIAS
UM353-1
O1
Output 1
(1.0)
(1.0)
(1.0)
(1.0)
(0.0)
(0.0)
(0.0)
(0.0)
(Add)
(Add)
loop tag.block tag.output (null)
loop tag.block tag.output (null)
loop tag.block tag.output (null)
O1
.
March 2003

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents