14
(4) First track read (status with no card) command (Model: 310)
General Description
This command idles the first track read of a magnetic strip encoded in the following formats.
• 7-bit format conforming to JISX6302*
• Reverse 7-bit format Reverse direction writing format of the format above*
• 6-bit format conforming to ISO 7811/2 first track
• 4-bit format conforming to ISO 7811/2 second and third tracks
However, the second track is in 70 bpi format.
The starting symbol in the magnetic stripe automatically determines what format to use to
read the card.
Note that this command cannot be used with on models with one magnetic stripe (TCP300).
*: The reading direction of JISX6302 conforming magnetic formats follows the preset memory
switch setting. See Model Setting Commands (91h) for details.
Details of Operation
If a card is idling in the machine, this will read the magnetic stripe on the idling card.
If there is no targeted card, set the no card status (22h) to the response block status field and
quit the command. In that case, the read data string field does not exist. If there is a card
waiting to be removed from the device when issuing this command, discharge it.
The results of the command are stored in the response block status field.
If reading of the card fails, the device will automatically reread the card according to the
number of times that were set. If still the card cannot be read with that set number of rereads,
the values of 23h, 31h to 34h are set to the response block status field.
The following shows the read data string.
Format Data Length Character Code
7-bit format: 0 to 69 bytes of variable length data (01h to 7Eh)
Excluding 02h and 03h
Reverse 7-bit format: 0 to 69 bytes of variable length data (01h to 7Eh)
Excluding 02h and 03h
6-bit format: 0 to 76 bytes of variable length data (20h to 5Eh)
4-bit format: 0 to 104 bytes of variable length data (30h to 3Eh)
The magnetic stripe starting and ending symbols, LRC and parity bit are not included in the
read data string.
After this command is issued, it is possible to read the buffer while the card is idling.
Command Transfer Formats
STX 25h ETX BCC
Response Transfer Formats
STX 25h Status Read Data String ETX BCC