![IDEC OpenNet series User Manual Download Page 159](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384159.webp)
9: M
OVE
I
NSTRUCTIONS
9-12
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
IBMVN (Indirect Bit Move Not)
Valid Operands
For the valid operand number range, see page 6-2.
▲
Internal relays M0 through M2557 can be designated as S2 or D1. Special internal relays cannot be designated as S2 or
D1.
When T (timer) or C (counter) is used as S2 or D2, the timer/counter current value is read out.
Make sure that the last source data determined by S1+S2 and the last destination data determined by D1+D2 are within the
valid operand range. If the derived source or destination operand is out of the valid operand range, a user program execu-
tion error will result, turning on special internal relay M8004 and ERROR LED.
Unlike the IMOV and IMOVN instructions, offset operands S2 and D2 must always be designated.
Valid Data Types
When a bit operand such as I (input), Q (output), M (internal relay), or R (shift register) is designated as the source or des-
tination, 16 points are used.
When a word operand such as T (timer), C (counter), D (data register), or L (link register) is designated as the S2 or D2, 1
point is used.
Example: IBMVN
M20
+
D
10
NOT
→
Q10 + C5
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.
As a result, when input I0 is on, the ON/OFF status of internal relay M30 is inverted and moved to output Q22.
Operand
Function
I
Q
M
R
T
C
D
L
Constant
Repeat
S1 (Source 1)
Base address to move from
X
X
X
X
—
—
—
—
—
—
S2 (Source 2)
Offset for S1
X
X
▲
X
X
X
X
X
—
—
D1 (Destination 1)
Base address to move to
—
X
▲
X
—
—
—
—
—
—
D2 (Destination 2)
Offset for D1
X
X
X
X
X
X
X
X
—
—
W (word)
I (integer)
D (double word)
L (long)
X
—
—
—
S1 + S2 NOT
→
D1 + D2
When input is on, the values contained in operands designated
by S1 and S2 are added to determine the source of data. The 1-
bit data so determined is inverted and moved to destination,
which is determined by the sum of values contained in oper-
ands designated by D1 and D2.
IBMVN(W)
S1
*****
S2
*****
D1
*****
D2
*****
S1
M20
I0
IBMVN(W)
S2
D10
D2
C5
D1
Q10
SOTU
M37
M20
M27
M30
8th from M20
Q27
Q10
Q17
Q20
10th from Q10
Q22
If the value of data register D10 designated by source operand
S2 is 8, the source data is determined by adding the offset to
internal relay M20 designated by source operand S1.
If the current value of counter C5 designated by destination
operand D2 is 10, the destination is determined by adding the
offset to output Q10 designated by destination operand D1.
NOT
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]