Mitsubishi MELSEC QCPU Programming Manual page 237

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
(4) The following program inverts the data at X0 to X1F, and transfers results to D0 and D1.
[Ladder Mode]
When the number of bits at
These bits are all read as 0
(5) The following program inverts the data at M16 to M35, and transfers it to Y40 to Y63.
[Ladder Mode]
When the number of bits at
These bits are all read as 0
(6) Inverts the data at D0 and D1 when X3 is ON, and stores the result at D16 and D17.
[Ladder Mode]
6 - 86
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
[List Mode]
Steps
S
is less than the number of bits at
X1B
0 1 0 0
b31
b28 b27
1
1
1
1
1 0 1 1
D0,1
[List Mode]
Steps
is less than the number of bits at
S
M35
0 1 0 0
Y63
1
1
1
1
1 0 1 1
[List Mode]
Steps
b31
b24
D0,D1
0
0
0
0
0 1 0 0
b31
b24
D16,D17
1
1
1
1
1 0 1 1
Instruction
D
X8 X7
0 1 1 1 0 0 1 0 1 1 0 0
b24
b8
b7
1 0 0 0 1 1 0 1 0 0 1 1
Instruction
5
D
M24 M23
0 1 1 1 0 0 1 0 1 1 0 0
Y56
Y48
Y47
1 0 0 0 1 1 0 1 0 0 1 1
Instruction
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
MELSEC-Q/QnA
Device
X0
b0
Device
M16
Y40
Device
6 - 86

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents