EasyManuals Logo

GE PACSystems RX7i User Manual

GE PACSystems RX7i
469 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #204 background imageLoading...
Page #204 background image
Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C February 2018 189
4.10 Math Functions
Your program may need to include logic to convert data to a different data type before using a Math
or Numerical function. The description of each function includes information about appropriate data
types. Refer to the Conversion Functions section to understand how to convert one data type to a
different data type.
Function
Mnemonics
Description
Absolute
Value
ABS_DINT, ABS_INT,
ABS_REAL, ABS_LREAL
Finds the absolute value of a double- precision integer (DINT), signed
single-precision integer (INT), or floating-point (REAL or LREAL) value. The
mnemonic specifies the value's data type.
Add
ADD_DINT, ADD_INT,
ADD_REAL,
ADD_LREAL, ADD_UINT
Addition. Adds two numbers.
Divide
4
DIV_DINT, DIV_INT,
DIV_MIXED, DIV_REAL,
DIV_LREAL, DIV_UINT
Division. Divides one number by another and outputs the quotient.
Note: Take care to avoid Overflow conditions when performing
divisions.
Modulus
MOD_DINT, MOD_INT,
MOD_UINT
Modulo Division. Divides one number by another and outputs the
remainder.
Multiply
4
MUL_DINT, MUL_INT,
MUL_MIXED,
MUL_REAL,
MUL_LREAL, MUL_UINT
Multiplication. Multiplies two numbers.
Note: Take care to avoid Overflow conditions when performing
multiplications.
Scale
SCALE
Scales an input parameter and places the result in an output location.
Subtract
SUB_DINT, SUB_INT,
SUB_REAL, SUB_LREAL,
SUB_UINT
Subtraction. Subtracts one number from another.
4
To avoid Overflows when multiplying or dividing 16-bit numbers, use the Conversion Functions to convert the numbers to
a 32-bit data type.

Table of Contents

Other manuals for GE PACSystems RX7i

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE PACSystems RX7i and is the answer not in the manual?

GE PACSystems RX7i Specifications

General IconGeneral
BrandGE
ModelPACSystems RX7i
CategoryController
LanguageEnglish

Related product manuals