User Manual
Chapter 10
GFK-1503F
Jan 2020
Instruction Set Reference
153
When the Range function is enabled, it compares the value of input IN against the range
specified by limits L1 and L2. Either L1 or L2 can be the high or low limit. When the value is
within the range specified by L1 and L2, inclusive, output parameter Q is set ON (1).
Otherwise, Q is set OFF (0).
Figure 139
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.
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.
Figure 140
Output coil %Q0001 is On only if the value presently in %AI0001 is within the range 0 to
100.
Содержание PaCSystems VersaMax Series
Страница 1: ...User Manual GFK 1503F Jan 2020 PACSystemsTM VersaMax PLC USER MANUAL ...
Страница 85: ...User Manual Chapter 7 GFK 1503F Jan 2020 CPU Operation 71 7 1 Parts of the CPU Sweep Figure 47 ...
Страница 284: ...User Manual Chapter 14 GFK 1503F Jan 2020 PID Built in Function Block 270 Figure 216 ...