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
Содержание VersaMax PLC
Страница 1: ...GE Intelligent Platforms GFK 1503E VersaMax PLC User Manual September 2015 For public disclosure ...
Страница 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 317: ......
Страница 318: ...GE Intelligent Platforms 1 800 433 2682 1 434 978 5100 www ge ip com GFK 1503E For public disclosure ...