9: MOVE INSTRUCTIONS
USER’S MANUAL 9-5
14 IMOVN (Indirect Move Not)
Key Operation
Valid Operands (Standard Processing)
In the high-speed processing mode, operands for advanced instructions are limited. See page 6-1.
When T (timer) or C (counter) is designated as S1, S2, or D2, the operand data is the timer/counter current value. When T
(timer) or C (counter) is designated as D1, the operand data is the timer/counter preset value which can be 0 through 9999.
Make sure that the source data determined by S1 + S2 and the destination data determined by D1 + D2 are within the oper-
and range. If the derived source or destination operand is out of the operand range, then a user program execution error
will result, turning on special internal relay M304 and error indicator ERR1.
When a bit operand such as input, output, internal relay, or shift register is used as the source or destination, 16 points are
used. When repeat is designated for a bit operand, the quantity of operand bits increases in 16-point increments.
Source operand S2 and destination operand D2 do not have to be designated. If S2 or D2 is not designated, the source or
destination operand is determined by S1 or D1 without offset.
Example: IMOVN
Operand Function I Q M T C R D Constant Repeat
S1 (Source 1) Base address to move from 0-35 0-31 0-317 0-31 0-31 0-63 0-99 — 1-31
S2 (Source 2) Offset for S1 0-35 0-31 0-287 0-31 0-31 0-63 0-99 — —
D1 (Destination 1) Base address to move to — 0-31 0-287 0-31 0-31 0-63 0-99 — 1-31
D2 (Destination 2) Offset for D1 0-35 0-31 0-287 0-31 0-31 0-63 0-99 — —
IMOVN S1(R)
****
REP
**
S1 + S2 NOT → D1 + D2
When input is on, the values contained in operands desig-
nated by S1 and S2 are added to determine the source of
data. The 16-bit word data so determined is inverted and
moved to destination, which is determined by the sum of
values contained in operands designated by D1 and D2.
S2
****
D1(R)
****
D2
****
ADV
1
BPS
1 S1
IMOV S2:
N D1:
D2:
Enter operands S1, S2, D1, and D2.
When repeat is required, press the REP key for the operand
to repeat, and enter the number of repeat cycles.
To exit, press the key.
4
I0
IMOVN REP
**
C10 + D10 NOT → D30 + D20
Source operand S1 and destination operand D1 determine the type of operand. Source operand
S2 and destination operand D2 are the offset values to determine the source and destination
operands.
If the data of data register D10 designated by source operand S2 is 4, then the source data is
determined by adding the offset to counter C10 designated by source operand S1:
C(10 + 4) = C14
If data register D20 designated by destination operand D2 contains a value of 15, then the desti-
nation is determined by adding the offset to data register D30 designated by destination operand
D1:
D(30 + 15) = D45
As a result, when input I0 is on, the current value of counter C14 is inverted and moved to data
register D45.
15
D20
D19
D21
59085
D45
S1
C10
D2
D20
D1
D30
S2
D10
4
D10
C15
C13
D46
6450
C14