IBM 4840-563 System Reference - Page 68
Configuration Word, SurePOS 500 Model XX3 Technical Reference, v 1.3,
View all IBM 4840-563 manuals
Add to My Manuals
Save this manual to your list of manuals |
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