Chapter 5. Function Block Diagram (FBD)
GFK-2950C
February 2018
257
5.9
Math Functions
Your program may need to include logic to convert data to a different type before using a Math or
Numerical function. The description of each function includes information about appropriate data
types. The
section explains how to convert one data type into a different
data type.
Function
Description
Addition. Adds two or up to eight numbers.
For details, refer to
Division.
5
Divides one number by another and outputs the quotient.
Note:
Take care to avoid overflow conditions when performing divisions.
For details, refer to
Modulo Division. Divides one number by another and outputs the remainder.
For details, refer to
Multiplication.
Multiplies two or up to eight numbers.
Note:
Take care to avoid overflow conditions when performing multiplications.
For details, refer to
Negate. Multiplies a number by
–
1 and places the result in an output location.
For details, refer to
5
To avoid
s when multiplying or dividing 16-bit numbers, use the
numbers to a 32-bit data type.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...