EasyManua.ls Logo

FATEK FBs-CBE - FUN 9 MOV; MOVE INVERSE

FATEK FBs-CBE
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic Function Instruction
6 - 24
FUN 9 D P
MOV/
MOVE INVERSE
(Inverts the data of S and moves the result to a specified device D)
FUN 9 D P
MOV/
Symbol
Operand
S: Source register number
D: Destination register number
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
∣
R3847
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
16/32-bit
+/
− number
V
、Z
P0~P9
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↑" ( P instruction) from 0 to1.
Example Moves the inverted data of a 16-bit register to another 16-bit register.
Ladder Diagram Key Operations Mnemonic Codes
S :
X0
EN
D :
9.MOV/
R 0
WY 8
ORG
ORG X 0
FUN 9
S
: R 0
D: WY 8
B15 B0
S R0 0 1 0 10101010101015555H
Ø
X0=1
Y23 Y8
↓ ↓
D WY8 1 0 1 0101010101010AAAAH