6.3.37 ATA CARD WRITABLE CHARACTER INFORMATION ACQUIRE COMMAND [ESC] WG
Function
Format
Term
Explanation
Sends the writable character information stored in the ATA card to the host.
[ESC] WG; a, bb, cc [LF] [NUL]
a:Drive
1:Slot 1 ATA card
2:Slot 2 ATA card
bb:Writable character set 01 to 44, 51 to 55
cc:Writable character code
If there is a
(1) The format of information to be returned to the host is as follows:
SOH | STX | “D” | Slot | Writable | Character | Storage | ETX | EOT | CR | LF | |||
character set | code | ||||||||||||
|
|
|
|
|
|
|
|
| |||||
01H | 02H | 44H | 3xH | 3xH | 3xH | xxH | xxH | “0”/“1” | 03H | 04H | 0DH | 0AH |
Example
Storage of writable character “0”: Not stored
“1”: Stored
Character code (to be described in 2 bytes) If there is
Writable character set
“01” (30H, 31H) to “44” (34H, 34H) “51” (35H, 31H) to “55” (35H, 35H)
Slot
“1” (31H): Slot 1
“2” (32H): Slot 2
When the ATA card is not inserted in a specified slot, “00H” is returned for all information from “Writable Character Set” to “Storage” (5 bytes).
When the following information in the ATA card in Slot 1 is acquired:
Writable character set 44, writable character code 41H
[ESC] WG; 1, 44, (0x00) (0x41) [LF} [NUL]
*(0x00) represents data of 00H.
*(0x41) represents data of 41H.
- 232 -