4 extended math a – Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller FLEXIBLE CONTROL STRATEGIES User Manual
Page 18

2.7.4 EXTENDED MATH A
The Extended Math A (Emath A) module executes a selected function on three input variables A,
B, and C. The function to be executed by Emath A is selected by entering a function code (FC)
from the table below into datapoint B122. Numeric values for parameter constants K1 through K12
can also be entered into their respective datapoints, which may affect the output as determined by
the function code selected. The output can be a numeric (C029) and/or a logic (L099) value.
The tables that follow list the function codes, input variables, and parameters. An illustration of the
Emath module follows the tables. Complex function codes 15-19, which are listed in the table, are
described in Sections 2.7.4.1 through 2.7.4.3.
Extended Math Functions
FC
C OUTPUT
L OUTPUT
FC
C OUTPUT
L OUTPUT
0
A
No change
15
Piecewise characterizer
No change
1
(K1
×
A) + K2
No change
16
3rd order polynomial
No change
2
(K1
×
A) + (K2
×
B) + (K3
×
C)
No change
17
11th order polynomial
No change
3
(K1
×
A
×
B
×
C) + K2
No change
18
Linear flow compensation
No change
4
(K1
×
[A
/
B]) + (K2
×
C)
No change
19
Square root flow
compensation
No change
5
([K1
×
A] + [K2
×
B]
/
C) + K3
No change
20
Limit to constant
(K1 < A < K2)
1 if A
≥
K2 or K1
≥
A
6
([K1
×
A
×
B]
/
C) + K2
No change
0 otherwise
7
([K1 + A]
/
[K2 + B])
×
K3
No change
21
Limit to variable
(K1
×
C < A < K2
×
B)
1 if A
≥
K2
×
B or K1
×
C
≥
A
8
(K1
×
abs[A]) + K2
No change
0 otherwise
9
K1
×
A
([K2
×
B] + K3)
No change
22
Compare to constant
1 if A
≥
K1
10
K1
×
2
([K2
×
A] + K3)
No change
0 if A < K1 - K2
11
K1
×
log([K2
×
A] + K3)
No change
23
Compare to variable
1 if A
≥
(K1
×
B) + K2
FC + 128 yields square root of C output
0 if A < (K1
×
B) + K2 - K3
Inputs
Inputs
WIRELIST
SYMBOL
DATA
TYPE
ASSIGNED VALUE
WIRELIST
SYMBOL
DATA
TYPE
ASSIGNED VALUE
B119
A
C
B121
C
C
B120
B
C
B122
FC
N/A
Output Datapoints: C029, L099
Parameters
Parameters
SYMBOL
DATAPOINT
ASSIGNED VALUE
SYMBOL
DATAPOINT
ASSIGNED VALUE
K1
C354
K7
C360
K2
C355
K8
C361
K3
C356
K9
C362
K4
C357
K10
C363
K5
C358
K11
C364
K6
C359
K12
C365
Section 2. FCS Modules
EMATH-A
2-11