15 QnACPU DEDICATED COMMANDS
15.3 File Control
303
15
Fixed value
Specify '0'.
Modification pattern (for changing file name and file size)
A data to specify which information to be modified when information (file name, size, date and time created) of the existing file
is modified.
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send 2-byte numerical value from the low byte (L: bits 0 to 7).
■Specified value and contents of modification pattern
■Modifying the file creation date and time (command: 1204, subcommand: 0000)
04H, 08H, 0CH, 14H, 18H, or 1CH can be specified with 16 bits.
■Modifying the file name and file size (command: 1204, subcommand: 0001)
01H, 02H, 03H, 20H, 21H, 22H, or 23H can be specified with 16 bits.
■Modifying the file information in batch (command: 1204; subcommand: 0002)
The range from 01H to 3FH can be specified with 16 bits.
ASCII code Binary code
Bit Description Value to be specified
b0 File name and extension
specification existence
0: Do not modify the file name and extension, 1: Modify the file name and extension
b1 File attribute modification
specification existence
0: Do not modify the attribute, 1: Modify the attribute
b2 Last edit time modification
specification existence
0: Do not modify the last edit time, 1: Modify the last edit time
b3 Last edit date modification
specification existence
0: Do not modify the last edit date, 1: Modify the last edit date
b4 Modification mode for date and time
specification
When modifying date or time, specify which data to use.
0: Use date and time in a message, 1: Use date and time of QnACPU (specify dummy date and time in the
message)
b5 File size modification specification
existence
0: Do not modify the file size, 1: Modify the file size
b6 to
b15
(fixed to '0')
Bit string b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Specification range000000000001/01/01/000
Bit string b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Specification range00000000001/00001/01/0
Bit string b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Specification range00000000001/01/01/01/01/01/0