![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831204.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-87
Ver. 1
6.19 Data transfer Instruction
6.19.1 MOV, MOVP, DMOV, DMOVP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry(
F112)
MOV(P)
DMOV(P)
S O O O O O O O - O -
- O O O O O
2~5
O
-
-
D O O O - O O O - O -
-
- O O O O
Operand
Description
Data Type
S
Data to transfer or device number data is saved in
WORD/DWORD
D
Device number to save data transferred
WORD/DWORD
1) MOV (Move)
It transfers specified S device’s word data to D.
2) DMOV (Double Move)
It transfers specified S+1,S device’s double word data to D+1,D.
3) Program Example
(1) Whenever P00020 is on, h00F3 data is moved to P0004 word by MOVP instruction
MOVP h00F3 P0004
P00020
MOV,
DMOV
means MOV/DMOV
S
D
P S
D
MOVP, MOVP
1word
S
0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1
D
0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1
h00F3
0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1
P0004
0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...