EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Read Drive Memory Usage Status (Command: 0205)

Mitsubishi Electric MELSEC iQ-R Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
15 QnACPU DEDICATED COMMANDS
15.2 Defragmentation of Drive Memory
293
15
Read drive memory usage status (command: 0205)
Read the usage status of the drive memory.
When creating a new file (registering new file), a consecutive free area for the file size to be created is
required.
To calculate the capacity (size) of the consecutive free area of the specified drive, check the number of
consecutive free clusters (number of consecutive OFF bits) by reading the usage status of that drive memory.
Capacity of consecutive free area (size) = number of consecutive free cluster 4096 or 512 (byte)
When the consecutive area is insufficient, perform the following memory defragmentation.
Page 295 Defragment drive memory (command: 1207)
Message format
The following shows the message format of the request data and response data of the command.
Request data
Response data
The free cluster table is stored. The order of data differs depending on the ASCII code or binary code.
Page 292 Free cluster table
Data specified by request data
Command
Subcommand
Keyword
Set whether to allow/prohibit access to a drive. (Page 298 Keyword)
Setting flag
This indicates whether the keyword registered in the specified drive matches the keyword of request data. (Page 290
Setting flag)
Drive name
Read the usage status of the drive memory, and specify the QnACPU drive to be defragmented. (Page 291 Drive name)
Cluster No.
Specify the first cluster No. within the range of drive memory whose usage status is to be read. (Page 291 Cluster No.)
ASCII code Binary code
ASCII code Binary code
0205
30H 32H 30H 35H
05H 02H
ASCII
Subcommand Keyword Setting flag
Drive name
Cluster No.
Number of
clusters to
be read
Binary
Setting
flag
Keyword
Drive name
Cluster
No.
Number
of clusters
to be read
Subcommand
0
30H
2
32H
0
30H
5
35H
05
H
02
H
0
30H
0
30H
0
30H
0
30H
00
H
00
H

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals