GE VersaMax PLC User Manual page 173

Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents