EasyManua.ls Logo

GE VersaMax PLC

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
Loading...
10.6.2.2 Parameters for the Range Function
Input/ Output
Choices
Description
enable flow When the function is enabled, the operation is
performed.
L1 R, AI, AQ, constant
INT and WORD only: I,
Q, M, T, G
L1 contains the start point of the range.
Constants must be integer values for double
precision signed integer operations.
L2 R, AI, AQ, constant
INT and WORD only: I,
Q, M, T, G
L2 contains the end point of the range.
Constants must be integer values for double
precision signed integer operations.
IN R, AI, AQ
INT and WORD only: I,
Q, M, T, G
IN contains the value to be compared against the
range specified by L1 and L2.
Q flow, none Output Q is energized when the value in IN is
within the range specified by L1 and L2,
inclusive.
10.6.2.3 Example
In this example, when the Range function receives power flow from relay %I0001, the
function determines whether the value in %AI001 is within the range 0 to 100. %R0001
contains the value 100. %R2 contains the value 0.
%I0001
%R0001
%R0002
%Q0001
RANGE
INT
L1 Q
L2
IN %AI001
Output coil %Q0001 is On only if the value presently in %AI0001 is within the range 0 to
100.
IN Value %AI001
Q State %Q0001
< 0 OFF
0 100 ON
> 100 OFF
Instruction Set Reference GFK-1503E User Manual 173
For public disclosure

Table of Contents

Related product manuals