- 230 -
6.3.36 ATA CARD INFORMATION ACQUIRE COMMAND [ESC] WI
Function Sends information regarding the use of the ATA card to the host.
Format [ESC] WI; a, b [LF] [NUL]
Term a: Drive
1: Slot 1 ATA card
2: Slot 2 ATA card
b: Information to be acquired
A: Free space
B: Writable character list
C: Stored PC command save file
Explanation (1) The format of information to be returned to the host is as follows:
A: Free space
SOH STX “A” Slot Free space (Kbyte) ETX EOT CR LF
01H 02H 41H xxH 3xH 3xH 3xH 3xH 3xH 3xH 03H 04H 0DH 0AH
When the ATA card is not inserted into a specified slot, “00H, 00H, 00H, 00H, 00H,
00H” is returned for free space.
B: Writable character list
SOH STX “B” Slot
Storage information of writable character
(55 bytes)
ETX EOT CR LF
01H 02H 42H xxH “0”/“1” “0”/“1” ········ “0”/“1” “0”/“1” 03H 04H 0DH 0AH
If only one writable character is stored, information of the writable character No. is set to
“1” (Stored). The storage information of a specified character code can be acquired by
using the ATA Card Writable Character Information Acquire Command ([ESC] WG).
The storage information of the writable character has a total of 55 bytes. The writable
character No. is assigned from 01 to 44, and from 51 to 55. Therefore, bytes to which
Nos. 45 to 50 are assigned are sure to be set to “0” (30H). When the ATA card is not
inserted in the specified slot, “00H” for the storage information of the writable character
is returned.
Free space (in units of Kbytes):
000000 (KB) to 999999 (KB)
Slot:
“1” (31H): Slot 1
“2” (32H): Slot 2
Writable character No. 55
Stored/Not stored
Slot
“1” (31H): Slot 1
“2” (32H): Slot 2
Writable character No. 54
Stored/Not stored
“0” (30H): Not stored
“1” (31H): Stored
Writable character No. 02
Stored/Not stored
Writable character No. 01
Stored/Not stored