Basic instruction (16-bit)
3.26.7
Data transfer instruction
The data transfer instruction is an instruction that executes the transfer of data.
Data transferred by the data transfer instruction is retained until new data is transferred.
3.26.8
Data transfer instruction:
16-bit data transfer ... MOV, MOVP
Bit device
X
Y
S
MOV,
MOVP
D
Function
MOV
16-bit data from the device specified with
Execution condition
The execution conditions for transfer instructions are as follows.
Program example
MOV
• Program that stores 155 as a binary value in D8 when X8 turns ON.
152
Sequence program
Applicable device
Word (16-bit) device
M
T
C
Transfer commands
MOVP
S
is transferred to the device specified with
Before
transfer
After
transfer
Transfer
command
MOV
MOVP
Constant
Level
D
K
H
N
Setting data
MOV
S
D
16 bits
Transfer
Executed every
scan.
Executed only once.
Coding
Error flag
Digit
specification
(SM0)
K1 to K4
Start number of the transfer
source data or the device in
which the data is stored
Start number of transfer
destination device
D
.
Executed every
scan.
Executed only once.