Function Blocks
Function Block Reference Guide
3/99
68
2.20 DIV Function Block
Description
The
DIV
label stands for
Division
Mathematical operation. This block is part of the
Math
category. It looks
like this graphically on the Control Builder.
Function
Divides one input (X) by another (Y)
•
If Y = 0, then OUT = 0 and block status is set to error; otherwise,
OUT = X ÷ Y.
Input
X
= First analog value
.
Y
= Second analog value
Output
OUT
= Calculated Value
Block Properties
Double click on the function block to access the function block properties dialog box.
Block Order (Read Only)
You can change the assigned execution order number by selecting “Execution Order” in the “Configure”
menu and arrange the order to suit your control strategy.
Example
Figure 2-18 shows a Function Block Diagram using a DIV function block.
Figure 2-18
DIV Function Block Example