beautypg.com

3 instructions – Micromod Micro-DCI: 53MC5000 Training Manual User Manual

Page 52

background image

Training Manual

Advanced Configuration Lab

6 - 2

6.3 Instructions

Part A: Math Function Block:

The Math function block (or module) allows the user to select a math function and attach
input values that will use the selected function. The inputs for the math function will be
assigned specific database locations. The output of the block can be accessed from another
math function.

Each math block has 3 inputs and a Function Code to select a specific math function. The
schematic of the math block is as shown in the next figure:

Figure 6.1.

MATH A function

In the above figure example, A, B and C are the inputs for the math function. Math
module A inputs are assigned in database locations B123, B124 and B125 respectively.
The math function result is stored in location C30. The Math A function code is stored
in location B126. The selected math function can have one or more coefficients (or
constants) that can be used in the function. These coefficients are store in locations
C76, C77 and C78 respectively.

The following table shows the possible math functions that can be performed using the
math block: