EasyManua.ls Logo

FATEK FBs-CBE - Data movement instructions2 (FUN160)

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...
Advanced Function Instruction
7-124
FUN160 D P
RWFR
READ/WRITE FILE REGISTER
FUN160 D P
RWFR
Sa: Starting address of data register
Sb: Starting address of file register
Pr : Record pointer register
L : Quantity of register to form a record, 1~511
Sa operand can combine VZP0~P9 for index
addressing.
WX WY WM WS TMR CTR HR IR OR SR ROR DR K XR
FR
Range
Operand
WX0
WX2
40
WY0
WY240
WM0
WM18
96
WS0
WS984
T0
T255
C0
C255
R0
R383
9
R384
0
R390
3
R390
4
R396
7
R3968
R4167
R5000
R8071
D0
D4095
VZ
P0P9
F0
F8191
Sa
Sb
Pr * *
L * 1~511
Description
When operation control "EN"=1 or "EN"( P instruction) changes from 01,it will perform the read ("R/W"=1)
or write ("R/W"=0) file register operation. While reading, the content of data registers starting from Sa will be
overwritten by the content of file registers addressed by the base file register Sb and record pointer Pr; while
writing, the content of file registers addressed by the base file register Sb and record pointer Pr will be
overwritten by the content of data registers starting from Sa; L is the operation quantity or record size. The
access of file register adopts the concept of RECORD data structure to implement. For example, Sa=R0,
Sb=F0, L=10, the read/write details shown as below
Sb
Sa
R0 ~ R9
(L=10)
F0 ~ F9
(L=10)
F10 ~ F19
(L=10)
F20 ~ F29
(L=10)
F30 ~ F39
(L=10)
Pr = 0
Pr = 1
Pr = 2
Pr = 3

Other manuals for FATEK FBs-CBE

Related product manuals