13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced Function <strong>Instruction</strong>FUN160 D PRWFRREAD/WRITE FILE REGISTERFUN160 D PRWFR●●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 (F0~F8191)..M0160.RWFREN Sa : R0ERRM10When M0 changes from 01, if D0 =2, the contentsof file registers F200~F249 will be overwritten by theR/WINCSb :Pr :L :F100D050content of data registers R0~R49. the record length is50..Pointer will be increased by 1 after operation.M0160.RWFREN Sa : R0ERRM10.When M0 changes from 01, if D0 = 1, the contentof data registers R0~R49 will be overwritten by the fileSb :F100registers F150~F199.R/WPr :D0.The record pointer will be increased by 1 afterINCL :50operation.7-125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!