Math Functions - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

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 Type Conversion Functions 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.
Note:
For details, refer to
Modulo Division. Divides one number by another and outputs the remainder.
For details, refer to
Multiplication.
Note:
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 Overflows when multiplying or dividing 16-bit numbers, use the Type Conversion Functions to convert the
numbers to a 32-bit data type.
GFK-2950C
Add
below.
Divides one number by another and outputs the quotient.
5
Take care to avoid overflow conditions when performing divisions.
Divide
below.
Modulus
below.
5
Multiplies two or up to eight numbers.
Take care to avoid overflow conditions when performing multiplications.
Multiply
below.
Negate
below.
February 2018
Chapter 5. Function Block Diagram (FBD)
257

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents