Data to be specified in commands
The following explains the data to be specified in commands when an external device performs defragmentation to the drive
memory of QnACPU.
Keyword
A data to allow/prohibit the access to the drive, which is the character string (up to 6 characters) that are registered to the
specified drive.
When a keyword has already registered, specify the same keyword.
■Data communication in ASCII code
Use the keyword registered in the specified drive and send as is.
■Data communication in binary code
Convert the keyword registered in the specified drive to 3-byte binary code, and send it from lower byte (L: bits 0 to 7).
Ex.
When the registered keyword is '012345'
Values converted to binary code
01H, 23H, 45H
Ex.
When the keyword registered is '012300'
Values converted to binary code
01H, 23H, 00H
■The content of data when a keyword is not registered in a specified drive
• Data communication in ASCII code: '000000'
• Data communication in binary code: '00H', '00H', '00H'
Setting flag
A data that indicates whether the keyword registered to the specified drive is specified to the keyword above.
■Data communication in ASCII code
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send a 1-byte numerical value.
■Setting flag to be specified
Setting value
00H
01H
15 QnACPU DEDICATED COMMANDS
290
15.2 Defragmentation of Drive Memory
Transmission order
45H, 23H, 01H
Transmission order
00H, 23H, 01H
Content to be specified
Keyword is invalid (specify a dummy)
Keyword is enabled (specify the keyword registered in the specified drive).