6. BASIC INSTRUCTIONS
6
−
48
MELSEC-A
Execution Conditions
Programs Examples MOV
(1) Program which stores the data of inputs X0 to B into D8.
(2) Program which stores 155 into D8 as a binary value when X8 turns on.
DMOV
(1) Program which stores the data of A0 and A1 into D0 and D1.
(2) Program which stores the data of X0 to 1F into D0 and D1.
X9036
0
MOV x000 D8
P K3
•
Coding
0 LD
M9036
1 MOVP K3X000 D8
6 END
•
Coding
0 LD
M9036
1 DMOVP A0
D0
8 END
0
DMOV A0 D0
P
M9036
0
DMOV X000 D0
X8
M9036
•
Coding
0 LD
M9036
1 DMOVP K8X000 D0
8 END
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
Transfer command
X008
0
MOV 155 D8
P K
•
Coding
0 LD
X008
1 MOVP K155
D8
6 END
009B
H
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: ......