Defragmentation Of Drive Memory - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

15.2

Defragmentation of Drive Memory

An external device performs the following functions for other station QnACPU drive which stores parameters and program
files that the sequence programs are written.
Read drive memory usage status
Check the usage status of the drive memory (cluster usage status) of the specified drive.
Defragment drive memory
When the valid data written in the drive memory is not consecutive, increase the consecutive free area in cluster unit by
defragmentation.
A cluster is the minimum unit when files are stored to drive memory (such as memory card) and the memory
containing data is managed by FAT
The size of one cluster of each QnACPU drive is as follows:
• Internal memory : 4096 bytes
• Other memory : 512 bytes
For example, if a data less than 512 bytes is written to a memory card, one cluster of drive memory is used to
write the data.
If 513 to 1024 bytes of data are written, two clusters of drive memory is used to write the data.
*1 An abbreviation for 'File Allocation Table'. A table used by the operating system to manage the location of files on the drive memory.
■Images of drive memory defragmentation
: Cluster in not used (empty), : Cluster is being used (valid data is written in it)
• Before drive memory defragmentation
Cluster
b15
b14
*1
First 16 clusters
*3
Last 16 clusters
• After drive memory defragmentation
Cluster
b15
b14
*1
First 16 clusters
*3
Last 16 clusters
*1 16th cluster from the head cluster
*2 First cluster
*3 Last cluster
*1
.
b13
b12
b11
b10
b9
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b8
b7
b6
b5
b4
15 QnACPU DEDICATED COMMANDS
15.2 Defragmentation of Drive Memory
b3
b2
b1
b0
*2
b3
b2
b1
b0
*2
15
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents