Function
MVN
MVN(022) inverts the bits in S and transfers
the result to D. The content of S is left
unchanged.
MVNL
MVNL(499) inverts the bits in S+1 and S and
transfers the result to D+1 and D. The
contents of S+1 and S are left unchanged.
Example Programming
When CIO 0.00 is ON in the following
example, the status of the bits in CIO 100 is
inverted and the result is copied to D100.
0.00
D100
CS/CJ/NSJ Series Instructions Reference Manual (W474)
100
D100
S
Bit status
inverted.
D
S+1
S
D+1
D
When CIO 0.00 is ON in the following
example, the status of the bits in D101 and
D100 are inverted and the result is copied to
D201 and D200. (The original contents of
D101 and D100 are left unchanged.)
0.00
D100
D200
D100
D101
D200
D201
3. Instructions
1
0
0
1
Bit status
1
0
inverted.
0
1
3
287
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?
Questions and answers