EasyManua.ls Logo

FATEK FBs-2DA - Page 289

FATEK FBs-2DA
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-125
FUN160 D P
RWFR
READ/WRITE FILE REGISTER
FUN160 D P
RWFR
For ladder program application, only this instruction can access the file registers.
The record pointer will be increased by 1 after execution while pointer control input "INC"=1.
This instruction will not be executed and error indicator ”ERR" will be 1 while incorrect record size (L=0 or >
511) or the operation out of the file register's range (F0F8191).
EN
160.RWFR
ERR
M10
M0
R/W
INC
L :
Pr :
Sa :
Sb :
D0
R0
F100
50
M0
EN
Sa :
R0
160.RWFR
Sb : F100
L :
Pr :
R/W
INC
ERR
50
D0
M10
.
When M0 changes from 0Æ1, if D0 =2, the contents
of file registers F200~F249 will be overwritten by the
content of data registers R0~R49. the record length is
50.
.Pointer will be increased by 1 after operation.
.When M0 changes from 0Æ1, if D0 = 1, the content
of data registers R0~R49 will be overwritten by the file
registers F150~F199.
.The record pointer will be increased by 1 after
operation.

Other manuals for FATEK FBs-2DA

Related product manuals