EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #264 background imageLoading...
Page #264 background image
262
CML, CMLP, DCML, DCMLP
Program Example
(1) The following program inverts the data from X0 to X7, and transfers result to D0.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program inverts the data at M16 to M23, and transfers the result to Y40 to Y47.
[Ladder Mode] [List Mode]
[Operation]
(3) The following program inverts the data at D0 when X3 is ON, and stores the result at D16.
[Ladder Mode] [List Mode]
[Operation]
(4) The following program inverts the data at X0 to X1F, and transfers results to D0 and D1.
[Ladder Mode] [List Mode]
Step
Instruction
Device
These bits are all regarded as 0.
D0
If "Number of bits of < Number of bits of "
11010000
X7 X0
00101111
b7
b0
1 1111111
b15 b8
S
D
Step
Instruction
Device
These bits are all regarded as 0.
If "Number of bits of < Number of bits of "
10100011
Y47
Y40
1 111
Y4B
Y48
01011100
M23 M16
S
D
Step
Instruction
Device
D16
10101111
b7 b0
0 1011011
b15 b8
010100001 0100100
D0
b7 b0b15 b8
Step
Instruction
Device

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals