EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-A series

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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 #162 background imageLoading...
Page #162 background image
6. BASIC INSTRUCTIONS
6 50
MELSEC-A
Execution Conditions
Program Examples CML
(1) Program which reverses the data of X0 to 7 and transfers the result to D0.
(2) Program which reverses the data of M16 to 31 and transfers the result to the
Y40 to 4F.
(3) Program which reverses the data of D0 and stores the result to D16 when X3
turns on.
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
Negative transfer command
0
X003
CML D0 D16
P
Coding
0 LD X003
1 CML D0 D16
6 END
0
Coding
0 LD M9038
1 CML K2X000 D0
6 END
M9038
CML X000 D0
K2
The number of bits of (S) < The number of bits of (D):
These bits are
all regarded 0.
0
M9038
CML M16 Y040
K2 K3
Coding
0 LD M9038
1 CML K2M16 K3Y040
6 END
The number of bits of (S) < The number of bits of (D):
These bits are
all regarded 0.

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals