Basic Function Instruction
6 - 23
FUN 8 D P
MOV
MOVE
(Moves data from S to D)
FUN 8 D P
MOV
Description
Operand
S: Source register number
D: Destination register number
The S, N, D may combine with V, Z, P0~P9 to serve
indirect addressing
WX WY WM WS TMR CTR HR IR OR SR ROR DR K XR
Range
Ope-
rand
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
16/32-bit
+/
− number
V
、Z
P0~P9
S ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
D ○ ○ ○ ○ ○ ○ ○ ○* ○* ○ ○
Description
● Move (write) the data of S to a specified register D when the move control input "EN" =1 or "EN↑" ( P
instruction) from 0 to 1.
Example Writes a constant data into a 16-bit register.
Ladder Diagram Key Operations Mnemonic Codes
X0
EN
8P.MOV
S :
D :
10
R 0
ORG
ORG X 0
FUN 8P
S
: 10
D: R 0
S K 10
Ø
X0=
D R0 10