Basic Function Instruction
FUN 9
D P
MOV/
Symbol
WX
Range
WX0
Ope-
∣
rand
WX240
S
○
D
Description
Inverts the data of S (changes the status from 0 to 1 and from 1 to 0) and moves the results to a specified
●
register D when the move control input "EN" =1 or "EN ↑ " (
Example
Moves the inverted data of a 16-bit register to another 16-bit register.
Ladder Diagram
X0
EN
(Inverts the data of S and moves the result to a specified device D)
WY
WM
WS
TMR CTR
WY0
WM0
WS0
∣
∣
∣
WY240
WM1896
WS984
T255
○
○
○
○
○
○
9.MOV/
S :
R
0
WY
8
D :
B15
S
R0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 5555H
Y23
↓
D
WY8
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 AAAAH
MOVE INVERSE
S: Source register number
D: Destination register number
S, N, D may combine with V, Z, P0~P9 to serve
indirect addressing
HR
IR
T0
C0
R0
R3840
R3904
∣
∣
∣
∣
C255
R3839
R3847
R3967
○
○
○
○
○
○
○
P
Key Operations
ORG
X0 = 1
6 - 24
Operand
OR
SR
ROR
DR
R3968
R5000
D0
∣
∣
∣
∣
R4167
R8071
D4095
○
○
○
○
○
○*
○*
○
instruction) from 0 to1.
Mnemonic Codes
ORG
FUN
B0
Y8
↓
FUN 9
D P
MOV/
K
XR
V 、 Z
16/32-bit
+/ − number
P0~P9
○
○
○
X
0
9
S : R
0
D : WY
8