Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
33 Applied Instructions (Extension File Register Control)
33.2 SAVER / Save to ER
751
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
[2] When storing data of 2048 extension registers (R) in one sector to extension file registers (ER)
a) Temporarily withdraw the data of extension registers (R) specified as targets in SAVER instruction to
data registers or unused 2048 extension registers (R) by using BMOV instruction.
b) Execute INITR instruction to extension registers (R) and extension file registers (ER) specified as
targets in SAVER instruction.
c) Return the data of 2048 points temporarily withdrawn in step a) to extension registers (R) specified as
targets by using BMOV instruction.
d) Execute SAVER instruction.
2. About the allowable number of times of writing operations in memory
Note the following when accessing the extension file registers:
The memory cassette (flash memory) allows up to 10,000 times of writing operations.
The number of times of writing operations counts up each time the INITR, RWER or INITER instruction is
executed. Do not let the number of times of writing operations exceed the allowable number of times of
writing operations.
When a continuous operation type instruction is executed, writing operation to the memory occurs for each
operation cycle of the PLC. To avoid this, be sure to use pulse operation type instructions.
The number of times of writing operations does not count up when the LOADR, SAVER or LOGR
instruction is executed. However, the SAVER and LOGR instructions require the target write sectors to be
initialized before executing the instructions. Note that, when initializing by using the INITR or INITER
instruction, the number of times of writing operations in the memory counts up every time the NITR or
INITER instruction is executed.
Error
An operation error is caused in the following cases. The error flag M8067 turns ON, and the error code is
stored in D8067.
1) When any device number other than the head device number of a sector of extension file registers is set
to .
(Error code: K6706)
2) When a memory cassette is not connected. (Error code: K6771)
3) When the protect switch of the memory cassette is set to ON. (Error code: K6770)
4) When the collation result after data writing is "mismatch" due to omission of initialization or for another
reason. (Error code: K6770)