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


 
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-57
4
Example:
In the following example, whenever input %I0001 is set, the output bit string represented by the
nickname WORD2 is made a copy of WORD1, left-shifted by the number of bits represented by the
nickname LENGTH. The resulting open bits at the beginning of the output string are set to the
value of %I0002.
| _____
|%I0001 | |
|——| |———| SHL_|
| | |
| | WORD|
| | |
| WORD1 —|IN B2|—OUTBIT
| | |
| | LEN |
| |00001|
| | |
|LENGTH —|N Q|—WORD2
| 8 | |
|%I0002 | |
|——| |———|B1 |
| |_____|