15 QnACPU DEDICATED COMMANDS
15.3 File Control
333
15
Communication example (Modify file name, attribute) (subcommand: 0001)
Modify the file name and attribute of the following file.
• Drive name: 1 (RAM area of memory card A)
• File No.: 1
• File name (before modification): ABC12.QPG
• File name (after modification): ABC1234.QPG
• Attribute (before modification): 20H (disk files that can be read/written)
• Attribute (after modification): 01H (read only file)
■Data communication in ASCII code
(Request data)
■Data communication in binary code
(Request data)
Subcommand Keyword
Setting flag Drive name
File No.
Attribute
(Before modification)
File name (Before modification)
Extension
(
Before
modification)
Modification pattern File name (After modification)
Attribute
(After modification)
Extension
(After modification)
File size Fixed value
Setting
flag
File No.
Keyword Drive name
Extension (Before modification) Modification pattern
Attribute
(Before modification)
File name (Before modification)
File name (After modification)
Extension (After modification)
File size
Attribute
(After modification)
Fixed value
Subcommand