Mitsubishi MELSEC QS Series Programming Manual page 131

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

(4) The following program inverts the data at X0 to X1F, and transfers results to D0 and D1.
[Ladder Mode]
[Operation]
When "Number of bits of (S) < Number of bits of (D)"
These bits are
all regarded as 0
(5) The following program inverts the data at M16 to M35, and transfers it to Y40 to Y63.
[Ladder Mode]
[Operation]
When "Number of bits of (S) < Number of bits of (D)"
These bits are
all regarded as 0
(6) Inverts the data at D0 and D1 when X3 is ON, and stores the result at D16 and D17.
[Ladder Mode]
[Operation]
D0, D1
D16, D17
6.4.2 16-bit and 32-bit negation transfers (CML(P), DCML(P))
X1B
X8 X7
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
b31
b28 b27
b24
b8
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
D0,1
M35
M24 M23
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
Y63
Y56
Y48
Y47
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
b31
b24
b8
0
0
0
0
0 1 0 0
0
1 1 1
b31
b24
b8
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
CML(P), DCML(P)
X0
b7
b0
M16
Y40
b7
b0
0 0
1
0
1 1
0 0
b7
b0
6.4 Data Transfer Instructions
6
6-33

Advertisement

Table of Contents
loading

Table of Contents