Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
33 Applied Instructions (Extension File Register Control)
33.4 LOGR / Logging R and ER
763
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
Cautions
1. About LOGR instruction
LOGR instruction executes logging in each operation in the continuous operation type.
When logging should be executed only once by one input, use the pulse operation type.
2. Cautions on using a memory cassette
Flash memory is adopted in a memory cassette. Be sure to initialize the data storage area in units of sector
before starting logging.
If this instruction is executed without initialization, an operation error (error code: K6770) may be caused.
3. 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 number other than the head device number of a sector of extension file registers is set to the
device specified by .
(Error code: K6706)
2) While data is written, the remaining area and the data quantity to be written are compared with each
other. If the remaining storage area is insufficient, only a limited amount of data is written. (Error code:
K6706)
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)
Logging data storage area
initialization command input
*1. Specify the same device as in LOGR instruction.
INITR
EN
s
n
ENO
Device of registers to be initialized
*1
Number of sectors of registers to be initialized
*2
d1
*2. Specify the same number as (n) in LOGR instruction.