Math And Numerical Functions Scaling - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Input/ Output
enable
I1
I2
ok
Q
Instruction Set Reference
For public disclosure
10.5.2.1 Parameters of the Modulo Division Function
Choices
flow
All data types: R, AI, AQ,
constant
INT data type only: I, Q, M,
T, G
All data types: R, AI, AQ,
constant
INT data type only: I, Q, M,
T, G
flow, none
All data types: R, AI, AQ
INT data type only: I, Q, M,
T, G
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
MOD_
INT
PALLETS
I1 Q
-00017
I2
BOXES
+0006

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).
Enable
Max. Input Value
Min. Input Value
Max. Output Value
Min. Output Value
Input
Description
When the function is enabled, the operation is
performed.
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 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.
The OK output is energized when the function is
performed without overflow.
Output Q contains the result of dividing I1 by I2
to obtain a remainder.
NT_FULL
-0005
_
OK
INT
IHI
Output
ILO
OHI
OLO
IN
GFK-1503E User Manual 165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents