User manual

Copyright © 2011, Unitech America Inc. All rights reserved.
Page 28 of 61
MS246 User Manual
8.2 Level 1 and level 2 POS Mode Data Output Format
In POS mode use the special envelope to send out card data. The envelope is in the
following format:
[Right Shift, Left Shift, Right Ctrl, Left Ctrl,] Read Error, Track x ID; Track x
Error; Track x Data Length; Track x Data; Card Track x LEC code; Track x data
LRC.
The reader will send out card data in Alt mode if its ASCII code less than H’20’.
Byte NO.
Name
0
Right Shift
1
Left Shift
2
Right Ctrl
3
Left Ctrl
4
Read Error 1
5
Read Error 2
6
Track x ID
7
Track x Error
8
Track x Length 1
9
Track x Length 2
10
Track Data (no extra
Track ID for raw data)
10 + Track len -1
Card Track x LRC
10 + Track len
Track x LRC
10 + Track len +1
0x0D
10 + Track len + 2
Track x ID
….
Repeat Track
The data format is independent with MSR setting. There is no track x data if track x
sampling data does not exist.
OPOS header:
Only HID KB interface has [Right Shift, Left Shift, Right Ctrl, Left Ctrl] under
POS mode.
Read Error:
Read Error 1 byte bits:
MB LB
0
B6
B5
B4
B3
B2
B1
B0
B0 1: Track 1 sampling data exists (0: Track 1 sampling data does not exist).
B1 1: Track 2 sampling data exists (0: Track 2 sampling data does not exist).
B2 1: Track 3 sampling data exists (0: Track 3 sampling data does not exist).