Mitsubishi MELSEC-A Series Programming Manual page 160

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents