beautypg.com

21 math d – Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller FLEXIBLE CONTROL STRATEGIES User Manual

Page 39

background image

2.7.21 MATH D

The Math D module executes a selected function on three input variables A, B, and C. The func-
tion to be executed by Math D is selected by entering a Function Code (FC) in datapoint B180. Nu-
meric values for parameter constants K1, K2, and K3 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 (C034) and/or a logic (L091) value.

The tables that follow list the input variables, parameters, and function codes. An illustration of the
Math D module follows the tables.

Inputs

Parameters

WIRELIST

SYMBOL

DATA

TYPE

ASSIGNED VALUE

SYMBOL

DATAPOINT

ASSIGNED VALUE

B177

A

C

K1

C085

B178

B

C

K2

C086

B179

C

C

K3

C087

B180

FC

N/A

Output Datapoints: C034, L091

Math Functions

FC

C OUTPUT

L OUTPUT

FC

C OUTPUT

L OUTPUT

0

A

No change

10

K1

×

2

([K2

×

A] + K3)

No change

1

(K1

×

A) + K2

No change

11

K1

×

log([K2

×

A] + K3)

No change

2

(K1

×

A) + (K2

×

B) + (K3

×

C)

No change

20

Limit to constant
(K1 < A < K2)

1 if A

K2 or K1

A

3

(K1

×

A

×

B

×

C) + K2

No change

0 otherwise

4

(K1

×

[A

/

B]) + (K2

×

C)

No change

21

Limit to variable
(K1

×

C < A < K2

×

B)

1 if A

K2

×

B or K1

×

C

A

5

([K1

×

A] + [K2

×

B]

/

C) + K3

No change

0 otherwise

6

([K1

×

A

×

B]

/

C) + K2

No change

22

Compare to constant

1 if A

K1

7

([K1 + A]

/

[K2 + B])

×

K3

No change

0 if A < (K1 - K2)

8

(K1

×

abs[A]) + K2

No change

23

Compare to variable

1 if A

(K1

×

B) + K2

9

K1

×

A

([K2

×

B] + K3)

No change

0 if A < (K1

×

B) + K2 - K3

FC + 128 yields square root of C output

FCS 53MC5000 Flexible Control Strategies

2-32

MATH-D