
E-922-1-E
24
8. MAGNETIC CARD READING SYSTEM
8.1 Magnetic Card Recording Format
The magnetic card used for the magnetic card reader must be recorded in the following data format.
The number of characters for valid data is 36 max.
S T X
D A T A
E T X
End code
(FF) H
Valid data
(36 characters max.) H
Start code
(FF) H
8.2 Card Data Read
Card data for the magnetic card reader has variable length.
For this variable data, "Card data start position" and "Number of card data characters" can be specified by the
ROM soft switch.
[Card data start position]
Address:
00F0H
Function: Which position of the card data to be sent to the host system is separated is specified with each
card data return command. In this case, the position of the top character is defined as 1 and the
start code is not treated as a character.
Range:
1 to 36 (decimal)
(1 when 0 is specified)
[Number of card data characters]
Address:
00F1H
Function: How many characters of the data to be sent to the host system is separated should be specified
with each card data return command.
Range:
1 to 36 (decimal)
(1 when 0 is specified)
Example: When card data is stored as [STX] 0 1 2 3 4 5 6 7 8 9 ...,
if card data start position is "3" and the number of card data characters is "4", the card data to be
sent to the host system will be "2 3 4 5".
Fig. 8.1