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
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......