EasyManua.ls Logo

Mitsubishi MELSEC-A series - APPENDIX 3 System Design Considerations

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
Loading...
6. BASIC INSTRUCTIONS
6 51
MELSEC-A
DCML
(1) Program which reverses the data of X0 to 1F and transfers the result to D0
and 1.
(2) Program which reverses the data of M16 to 35 and transfers the result to the
Y40 to 53.
(3) Program which reverses the data of D0 and 1 and stores the result to D16 and
17 when X3 turns on.
M9038
0 DCML X000 D0
K8
Coding
0 LD M9038
1 DCML K8X000 D0
8 END
The number of bits of (S) < The number of bits of (D):
These bits are
all regarded 0.
M9038
0
DCML M16 Y040
K5 K6
Coding
0 LD M9038
1 DCML K5M16 K6Y040
8 END
The number of bits of (S) < The number of bits of (D):
These bits are
all regarded 0.
X003
0
DCML D0 D16
P
Coding
0 LD X003
1 DCMLP D0 D16
8 END

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals