EasyManuals Logo

GE VersaMax PLC User Manual

GE VersaMax PLC
318 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 #165 background imageLoading...
Page #165 background image
10.5.2.1 Parameters of the Modulo Division Function
Input/ Output
Choices
Description
enable flow
When the function is enabled, the operation is
performed.
I1
All data types: R, AI, AQ,
constant
INT data type only: I, Q, M,
T, G
I1 contains a constant or reference for the value
to be divided by I2. Range for constants in
double precision signed integer operations is
minimum/maximum DINT.
I2
All data types: R, AI, AQ,
constant
INT data type only: I, Q, M,
T, G
I2 contains a constant or reference for the value
to be divided into I1. Range for constants in
double precision signed integer operations is
minimum/maximum DINT.
ok
flow, none
The OK output is energized when the function is
performed without overflow.
Q
All data types: R, AI, AQ
INT data type only: I, Q, M,
T, G
Output Q contains the result of dividing I1 by I2
to obtain a remainder.
10.5.2.2 Example
In the example, the remainder of the integer division of BOXES into PALLETS is placed
into NT_FULL whenever %I0001 is ON.
%I0001
PALLETS
-00017
BOXES
+0006
MOD_
INT
I1 Q
I2
NT_FULL
-0005
10.5.3 Math and Numerical Functions Scaling
The Scaling function scales an input parameter and places the result in an output location.
For integer-type data, all parameters must be integer-based (signed). For wordtype data,
all parameters must be word-based (unsigned).
Max. Input Value
Min. Input Value
Max. Output Value
Min. Output Value
Input
OK
Enable
ILO
OHI
OLO
IN
Output
OUT
SCALE_
INT
IHI
Instruction Set Reference GFK-1503E User Manual 165
For public disclosure

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE VersaMax PLC and is the answer not in the manual?

GE VersaMax PLC Specifications

General IconGeneral
BrandGE
ModelVersaMax PLC
CategoryController
LanguageEnglish

Related product manuals