Chapter 6 Instruction Details
XBC E-Type Main Unit 6-307 Ve r. 1
6.44.3 FWRITE
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
FWRITE
2~3 - - -
Operand Description Data Size
S Number of Data or Device WORD
D F1024 ~ F2047 area in F area WORD
1) FWRITE
(1) Used to save temporary value in word of F1024~F2047 in Special Rely in F area. The value saved by
FWRITE is removed at Power OFF.
(2) Used to save the word data in area repectively when detecting external device Error or Warning.
2) Program Example
(1) If P00001 connected with external device is changed to On, data of ā1234ā is witten in F1026 (_ANC_ERR)
and the detection request of external device Error flag becomes set. PLC operation status is changed to
Error status.
FWRITE 1234 F1026
P00001
FSET F10242
P