Mitsubishi Electric MELSEC IQ-R series Reference Manual page 326

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

Advertisement

■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)
Subcommand
Fixed value
(Response data)
0
0
0
A
30
30
30
41
H
H
H
H
■Data communication in binary code
(Request data)
Subcommand
Setting
Command
flag
02
12
00
00
01
H
H
H
H
H
Attribute
20
H
(Response data)
A0
00
H
H
15 QnACPU DEDICATED COMMANDS
324
15.3 File Control
Keyword
File name
Keyword
Drive name Fixed value Fixed value
00
23
01
01
00
00
00
H
H
H
H
H
H
Size
Fixed value
AC
00
00
00
00
00
H
H
H
H
H
H
Setting flag
Drive name
Extension Attribute
File name
00
00
41
42
43
31
H
H
H
H
H
H
H
Fixed value
Size
Fixed value
Extension
32
20
20
20
51
50
47
H
H
H
H
H
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents