4-72 Series 90-30/20/Micro Programmable Controllers Reference Manual September 1998 GFK-0467K
4
Example 1:
When enabling input %Q0014 is ON, 48 bits are moved from memory location %M0001 to
memory location %M0033. Even though the destination overlaps the source for 16 bits, the move
is done correctly (except for the 351 and 352 CPUs as noted on previously).
| _____
|%Q0014 | |
|——| |———|MOVE_|—
| | |
| | WORD|
| | |
|%M0001 —|IN Q|—%M0033
| | |
| | LEN |
| |00003|
| |_____|
|
Before using the Move function:
INPUT (%M0001 through %M0048)
1
%M0016 1111000011110000
%M0032 0000111100001111
%M0048 1111111111111111
After using the Move function:
INPUT (%M0033 through %M0080)
33
%M0048 1111000011110000
%M0064 0000111100001111
%M0080 1111111111111111
Example 2:
In this example, whenever %I0001 is set, the three bits %M0001, %M0002, and %M0003 are
moved to %M0100, %M0101, and %M0102, respectively. Coil %Q0001 is turned on.
| _____
|%I0003 | | %Q0001
|——| |———|MOVE_|——————————————————————————————————————————————————��———————( )—
| | |
| | BIT |
| | |
| %M0001—|IN Q|—%M0100
| | |
| | LEN |
| |00003|
| |_____|
|