4

Input Example 1:

In the following example, when the enabling input %I0001 is ON, references %I0001 through %I0064 are scanned and %Q0001 is turned on. A copy of the scanned inputs is placed in internal memory from reference %M0001 through %M0064. The real input points are not updated. This form of the function can be used to compare the current values of input points with the values of input points at the beginning of the scan.

 

 

 

_____

 

 

%I0001

%Q0001

—— ———DO_IO—————————————————————————————————————————————————————————( )-

 

 

%I0001 -ST

 

 

 

%I0064 -END

 

 

 

%M0001 —ALT

 

_____

 

 

 

 

Input Example 2:

In the following example, when the enabling input %I0001 is ON, references %I0001 through %I0064 are scanned and %Q0001 is turned on. The scanned inputs are placed in the input status memory from reference %I0001 to %I0064. This form of the function allows input points to be scanned one or more times during the program execution portion of the CPU sweep.

 

 

 

_____

 

 

%I0001

%Q0001

—— ———DO_IO—————————————————————————————————————————————————————————( )-

 

 

%I0001 -ST

 

 

 

%I0064 -END

 

 

 

—ALT

 

_____

 

 

 

 

GFK-0467K

Chapter 4 Series 90-30/20/Micro Instructions Set

4-111

Page 192
Image 192
GE 90-30/20/Micro manual Input Example