GE 90-30/20/Micro Universal Remote User Manual


 
4-46 Series 90-30/20/Micro Programmable Controllers Reference Manual September 1998 GFK-0467K
4
Example 1:
In the following example, %AI0001 is checked to be within a range specified by two constants, 0
and 100.
| _____
|%I0001 | |
|——| |———+RANGE|
| | INT |
| | | %Q0002
| 100 —+L1 Q+—————————————————————————————————————————————————————————( )—
| | |
| 0 —+L2 |
| | |
|%AI0001—+IN |
| |_____|
|
RANGE Truth Table
Enable State
%I0001
L1 Value
Constant
L2 Value
Constant
IN Value
%AI0001
Q State
%Q0001
ON 100 0 < 0 OFF
ON 100 0 0 — 100 ON
ON 100 0 > 100 OFF
OFF 100 0 Not Applicable OFF
Example 2:
In this example, %AI0001 is checked to be within a range specified by two register values.
| _____
|%I0001 | |
|——| |———+RANGE|
| | INT |
| | | %Q0002
|%R0001 —+L1 Q|—————————————————————————————————————————————————————————( )—
| | |
|%R0002 —+L2 |
| | |
|%AI0001—+IN |
| |_____|
|
RANGE Truth Table
Enable State
%I0001
L1 Value
%R0001
L2 Value
%R0002
IN Value
%AI0001
Q State
%Q0001
ON 500 0 < 0 OFF
ON 500 0 0 — 500 ON
ON 500 0 > 500 OFF
OFF 500 0 Not Applicable OFF