Data specified by request data
■Command
ASCII code
1
2
0
3
31
32
30
33
H
H
H
H
■Subcommand
Type
Batch write
Writing the identical data (FILL)
■Keyword
Allow/prohibit the access to the file of the target memory. (Page 298 Keyword)
■Setting flag
Data that indicates whether the keyword is registered in the specified drive. (Page 298 Setting flag)
■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.)
■File No.
A data to specify the registration number of files. (Page 298 File No.)
■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)
The attribute assigned by a new file creation, etc. is valid as the attribute of the file to which data is written. When writing data,
handle the attribute as dummy data.
■Offset address
A data which specifies the start address of the range in which data is written to a file. (Page 301 Offset address)
Specify within the following range.
0 Address (File size - 1)
• Writing data to file of which drive name is '00H' (built-in RAM): Specify with multiples of 4 (0, 4, 8, ... in decimal notation).
• Writing to the file of which drive name is other than '00H': Specify with even number (for decimal data, 0, 2, 4, 6, 8, ...).
■Number of bytes written
Data to specify the number of bytes of data to be written. (Page 302 Number of bytes read, number of bytes written)
Specify within the following range.
0 Number of bytes 960
■Write data
Data to be written to a file. (Page 302 Read data, write data (for batch read and batch write functions))
15 QnACPU DEDICATED COMMANDS
326
15.3 File Control
Binary code
03
12
H
H
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
0
0
0
1
30
30
30
31
H
H
H
H
Binary code
00
00
H
H
01
00
H
H