IBM 4840-563 System Reference - Page 68

Configuration Word, SurePOS 500 Model XX3 Technical Reference, v 1.3,

Page 68 highlights

Configuration Word The configuration word is used to alter the format of the track data returned from the MSR. In the default configuration the MSR reads ISO 7811 format cards. There are three possible data tracks. Track one is formatted as 7 bit 1 parity data and is limited to a maximum of 79 characters. Tracks two is formatted as 5 bit 1 parity format with a maximum of 40 characters. Track three is also 5 bits 1 parity format but is limited to no more than 107 characters. Before the track data can be sent to the host each character must be converted to ASCII codes. For track one this is simply a matter of clearing the parity bit and adding 32 to the data value. For tracks two and three you clear the parity bit and add 48 to the data value. The following table shows the character set for the different tracks and their corresponding ASCII values: MSR track code to ASCII code conversion chart Track 1 ASCII Track 1 ASCII value value Character value value Character Dec Hex Dec Hex 0 32 0x20 ' ' 32 64 0x40 ' @ ' 1 33 0x21 ' ! ' 33 65 0x41 ' A ' 2 34 0x22 ' " ' 34 66 0x42 ' B ' 3 35 0x23 ' # ' 35 67 0x43 ' C ' 4 36 0x24 ' $ ' 36 68 0x44 ' D ' 5 37 0x25 ' % ' 37 69 0x45 ' E ' 6 38 0x26 ' & ' 38 70 0x46 ' F ' 7 39 0x27 ' ' ' 39 71 0x47 ' G ' 8 40 0x28 ' ( ' 40 72 0x48 ' H ' 9 41 0x29 ' ) ' 41 73 0x49 ' I ' 10 42 0x2A ' * ' 42 74 0x4A ' J ' 11 43 0x2B ' + ' 43 75 0x4B ' K ' 12 44 0x2C ' , ' 44 76 0x4C ' L ' 13 45 0x2D ' - ' 45 77 0x4D ' M ' 14 46 0x2E ' . ' 46 78 0x4E ' N ' 15 47 0x2F ' / ' 47 79 0x4F ' O ' 16 48 0x30 ' 0 ' 48 80 0x50 ' P ' 17 49 0x31 ' 1 ' 49 81 0x51 ' Q ' 18 50 0x32 ' 2 ' 50 82 0x52 ' R ' 19 51 0x33 ' 3 ' 51 83 0x53 ' S ' 20 52 0x34 ' 4 ' 52 84 0x54 ' T ' 21 53 0x35 ' 5 ' 53 85 0x55 ' U ' 22 54 0x36 ' 6 ' 54 86 0x56 ' V ' 23 55 0x37 ' 7 ' 55 87 0x57 ' W ' 24 56 0x38 ' 8 ' 56 88 0x58 ' X ' 25 57 0x39 ' 9 ' 57 89 0x59 ' Y ' 26 58 0x3A ' : ' 58 90 0x5A ' Z ' 27 59 0x3B ' ; ' 59 91 0x5B ' [ ' 28 60 0x3C ' < ' 60 92 0x5C ' \ ' 29 61 0x3D ' = ' 61 93 0x5D ' ] ' 30 62 0x3E ' > ' 62 94 0x5E ' ^ ' 31 63 0x3F ' ? ' 63 95 0x5F ' _ ' Track 2 & Track 3 ASCII vaue value Character Dec Hex 0 48 0x30 ' 0 ' 1 49 0x31 ' 1 ' 2 50 0x32 ' 2 ' 3 51 0x33 ' 3 ' 4 52 0x34 ' 4 ' 5 53 0x35 ' 5 ' 6 54 0x36 ' 6 ' 7 55 0x37 ' 7 ' 8 56 0x38 ' 8 ' 9 57 0x39 ' 9 ' 10 58 0x3A ' : ' 11 59 0x3B ' ; ' 12 60 0x3C ' < ' 13 61 0x3D ' = ' 14 62 0x3E ' > ' 15 63 0x3F ' ? ' Color Key Control values Standard Sentinal values SurePOS 500 Model XX3 Technical Reference, v 1.3 81 Page 68 of

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

Configuration Word
The configuration word is used to alter the format of the track data returned from the MSR.
In the default
configuration the MSR reads ISO 7811 format cards.
There are three possible data tracks.
Track one is
formatted as 7 bit 1 parity data and is limited to a maximum of 79 characters.
Tracks two is formatted as 5 bit
1 parity format with a maximum of 40 characters.
Track three is also 5 bits 1 parity format but is limited to no
more than 107 characters.
Before the track data can be sent to the host each character must be converted to
ASCII codes.
For track one this is simply a matter of clearing the parity bit and adding 32 to the data value.
For tracks two and three you clear the parity bit and add 48 to the data value.
The following table shows the
character set for the different tracks and their corresponding ASCII values:
Track 1
value
Character
Track 1
value
Character
Track 2 &
Track 3
vaue
Character
Dec
Hex
Dec
Hex
Dec
Hex
0
32
0x20
'
'
32
64
0x40
' @ '
0
48
0x30
' 0 '
1
33
0x21
' ! '
33
65
0x41
' A '
1
49
0x31
' 1 '
2
34
0x22
' " '
34
66
0x42
' B '
2
50
0x32
' 2 '
3
35
0x23
' # '
35
67
0x43
' C '
3
51
0x33
' 3 '
4
36
0x24
' $ '
36
68
0x44
' D '
4
52
0x34
' 4 '
5
37
0x25
' % '
37
69
0x45
' E '
5
53
0x35
' 5 '
6
38
0x26
' & '
38
70
0x46
' F '
6
54
0x36
' 6 '
7
39
0x27
' ' '
39
71
0x47
' G '
7
55
0x37
' 7 '
8
40
0x28
' ( '
40
72
0x48
' H '
8
56
0x38
' 8 '
9
41
0x29
' ) '
41
73
0x49
' I '
9
57
0x39
' 9 '
10
42
0x2A
' * '
42
74
0x4A
' J '
10
58
0x3A
' : '
11
43
0x2B
' + '
43
75
0x4B
' K '
11
59
0x3B
' ; '
12
44
0x2C
' , '
44
76
0x4C
' L '
12
60
0x3C
' < '
13
45
0x2D
' - '
45
77
0x4D
' M '
13
61
0x3D
' = '
14
46
0x2E
' . '
46
78
0x4E
' N '
14
62
0x3E
' > '
15
47
0x2F
' / '
47
79
0x4F
' O '
15
63
0x3F
' ? '
16
48
0x30
' 0 '
48
80
0x50
' P '
17
49
0x31
' 1 '
49
81
0x51
' Q '
18
50
0x32
' 2 '
50
82
0x52
' R '
Color Key
19
51
0x33
' 3 '
51
83
0x53
' S '
Control values
20
52
0x34
' 4 '
52
84
0x54
' T '
Standard Sentinal values
21
53
0x35
' 5 '
53
85
0x55
' U '
22
54
0x36
' 6 '
54
86
0x56
' V '
23
55
0x37
' 7 '
55
87
0x57
' W '
24
56
0x38
' 8 '
56
88
0x58
' X '
25
57
0x39
' 9 '
57
89
0x59
' Y '
26
58
0x3A
' : '
58
90
0x5A
' Z '
27
59
0x3B
' ; '
59
91
0x5B
' [ '
28
60
0x3C
' < '
60
92
0x5C
' \ '
29
61
0x3D
' = '
61
93
0x5D
' ] '
30
62
0x3E
' > '
62
94
0x5E
' ^ '
31
63
0x3F
' ? '
63
95
0x5F
' _ '
MSR track code to ASCII code conversion chart
ASCII
value
ASCII
value
ASCII
value
SurePOS 500 Model XX3 Technical Reference, v 1.3
Page 68 of
81