EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 326

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...
324
15 QnACPU DEDICATED COMMANDS
15.3 File Control
Drive name
A data to specify the drive in a CPU module of which files are to be managed. (Page 298 Drive name, Drive No.)
Fixed value
'0000' (at the time of an ASCII code) or 0000H (at the time of a binary code) is transmitted. (Page 303 Fixed value)
File name
Character string data of a file name. (Page 299 File name, extension, and attribute)
Extension
A character string data of extension of a file. (Page 299 File name, extension, and attribute)
Attribute
A data to specify the file attribute (applicability of data read/write). (Page 299 File name, extension, and attribute)
Specify '20H' (readable/writable disk file) for the attribute of a new file.
Capacity
A data to reserve the file area on the specified disk when registering a new file. It is specified with the number of bytes.
(Page 302 Capacity)
Communication example
Read the data written in the specified file under the following condition.
Drive name: 1 (RAM area of memory card A)
File name: ABC12.QPG
Capacity: 172 bytes
Data communication in ASCII code
(Request data)
(Response data)
Data communication in binary code
(Request data)
(Response data)
Fixed value
Subcommand Keyword
Setting flag Drive name
Fixed value Fixed valueFile name Extension Attribute Size
0
30
H
0
30
H
0
30
H
A
41
H
02
H
12
H
00
H
00
H
01
H
00
H
23
H
01
H
01
H
00
H
AC
H
00
H
00
H
00
H
00
H
41
H
42
H
43
H
31
H
32
H
20
H
20
H
20
H
51
H
50
H
47
H
20
H
00
H
00
H
00
H
00
H
00
H
Subcommand
Setting
flag
Command
Keyword
Drive name Fixed value Fixed value
File name Extension
Attribute
Size
Fixed value
A0
H
00
H

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals