Mitsubishi MELSEC Q Series Programming Manual page 319

Common instruction 1/2
Hide thumbs Also See for MELSEC Q 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]
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]
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]
b31
b24
0
0
0
0
0 1 0 0
D0,D1
b31
b24
D16,D17
1
1
1
1
1 0 1 1
[List Mode]
Step
If "Number of bits of
S
< Number of bits of
X1B
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
b31
b28 b27
b24
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
D0, 1
[List Mode]
Step
If "Number of bits of
S
< Number of bits of
M35
M24 M23
0 1 0 0
0 1 1 1 0 0 1 0 1 1 0 0
Y63
Y56
Y48
1
1
1
1
1 0 1 1
1 0 0 0 1 1 0 1 0 0 1 1
[List Mode]
Step
b8
b7
b0
0
1 1 1
0 0
1
0
1 1
0 0
b8
b7
b0
1 0 0 0 1 1 0 1 0 0 1 1
CML(P),DCML(P)
Instruction
Device
"
D
X8 X7
X0
b8
b7
b0
Instruction
Device
"
D
M16
Y47
Y40
Instruction
Device
1
2
3
4
4
6
7
8
6-117

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents