-17-
-16-
The body of the data package is enclosed
by a pair of
header STX(02H) and trailer ETX(03H).
Each track
uses a different start sentinel - "%(25H)"
for track 1,
";(3BH)" for track 2, and "+(2BH)" for
track 3. All
three tracks use the same end sentinel
"?(3FH)".
BCC stands for block check character which
is the NOR
sum of the entire data package including
ETX(03H) but
excluding STX(02H).
2) In response to a read command, the
encoder appends the
start and end sentinels to their
corresponding track then
returns the complete data package to the
host computer.
In case of any failure, a negative
acknowledgement
"NAK(15H)" is sent back instead.
3) Prior to sending a write command
down to the encoder,
the host computer adds the start and end
sentinels to
their corresponding track to construct a
complete data
package. The encoder performs a read
immediately
after a write. If the data it reads
matches the data it
writes, then the original data package is
returned back to
the host computer as an acknowledgement
of a
successful write. Otherwise, a negative
acknowledgement "NAK(15H)" is sent back
instead.
8. Record Format &
Character Set
MSE-630T Series magnetic
stripe encoder automatically
discriminates the following five record
formats:
1) Character Set for Track 1:
Record
Start Write
Stop
Comment
Format
Characters
Characters
Characters
Character SP !
" #
$ % & '
( )
* +
, -
. /
Character 0
1 2
3 4
5 6
7 8
9 :
; =
>
Character @ A B
C D E F G H
I J
K L M N O
Character P Q R
S T U V W X Y Z
Format 1
B See character set
F
ISO Standard
Format
Format 2
B See character set
C
Format 3
D See character set
F
Format 4
BA See character set
F
Format 5
BA See character set
C IBM Format
ASCII Code 20H 21H 22H 23H 24H 25H 26H
27H 28H 29H 2AH 2BH 2CH 2DH 2EH 2FH
ASCII Code 30H 31H 32H 33H 34H 35H 36H
37H 38H 39H 3AH 3BH3DH EH
ASCII Code 40H 41H 42H 43H 44H 45H 46H
47H 48H 49H 4AH 4BH 4CH 4DH 4EH 4FH
ASCII Code 50H 51H 52H 53H 54H 55H 56H
57H 58H 59H 5AH 5BH 5CH 5DH 5EH 5FH