Preh mc12 Manual Suplementario

Descargar
Página de 3
Preh Tech Bytes 
No. 13
Start
02h
TAG1
Data 1
EDC1
TAG2
Data 2
EDC2
TAG3
Data 3
EDC3
End
F0h
TAG:
1
0
T
T 0
0
E E
T=Track: 00 = JIS
01 = ISO 1 (ISO Track 1)
10 = ISO 2 (ISO Track 2)
11 = ISO 3 (ISO Track 3)
E=Errorcode: 00 = no error
01 = no Startsentinel detected
10 = Parity-Error
11 = Checksum Error
Example with ISO-Card: Track 1 = ‘1’,Track 2 = ‘2’ Track 3 = ‘3’:
1.  Without initialization
after card swipe
02h, 90h, 25h, 31h, 3Fh, 2Bh, A0h, 3Bh, 32h, 3Fh, 36h, B0h, 3Bh, 33h, 3Fh, 37h; F0h
equal ^B É % 1 ? + á ; 2 ? 6 B0h ; 3 ? 7 F0h
2.  Initialization: 01h 03h 04h
Response: 06h
after card swipe you will not automatically receive data.
After a Request (02h) you will receive the data
02h, 90h, 05h, 11h, 1Fh, 0Bh, A0h, 0Bh, 02h, 0Fh, 06h, F0h
3.  Initialization: 01h 89h 04h
Response: 06h
after a card swipe with checksum error:
02h, 93h, F0h
For testing you can use a terminal program.