IBM 4840-563 System Reference - Page 69

Byte 1, Bit 0: Carriage return Enabled, SurePOS 500 Model XX3 Technical Reference, v 1.3,

Page 69 highlights

The data from the card is returned as shown in the following Baccus Naur Form: Track data: Track1: [{1,82}]|[] Track2: [{1,40}]|[] Track3: [{1,107}]|[] CR: 0x0D or Carriage Return Start Sentinel 1: 0x251 or value in configuration byte 2 Start Sentinel 2: 0x3B or value in configuration byte 3 Start Sentinel 3: 0x2B or value in configuration byte 4 End Sentinel: 0x3F or value in configuration byte 5 Error: 0x45 Data1: 0x21 to 0x5F Data2: 0x31 to 0x3F Data3: 0x31 to 0x3F If a track is read incorrectly an ASCII 'E' is returned in place of the bad track. The following table shows the format of the MSR configuration word: Byte1 Bit 0 1 2 3 4 5 6 7 Byte 2 Byte 3 Byte 4 Byte 5 Configuration bits Function CR enabled Raw data mode track 1 disabled track 2 disabled track 3 disabled Strip Sentinels Use Custom Configuration Hide Error tracks SS1 SS2 SS3 ES Factory PS/2 1 0 0 0 0 0 0 0 0x25 0x3B 0x2B 0x3F Default RS-232 0 0 0 0 0 0 0 0 0x25 0x3B 0x2B 0x3F Byte 1, Bit 0: Carriage return Enabled This bit enables the inclusion of Carriage returns between the tracks. This defaults to '0' or no Carriage 1 ASCII conversion of characters used in this document are: 0x25='%', 0x3B=';', 0x2B='+', 0x3F='?', 0x45='E'. For more ASCII character conversions see ISO-646-US-ASCII. SurePOS 500 Model XX3 Technical Reference, v 1.3 Page 69 of 81

  • 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

The data from the card is returned as shown in the following Baccus Naur Form:
Track data:
<Track1><CR><Track2><CR><Track3><CR>
Track1:
[<Start Sentinel 1><Data1>{1,82}<End Sentinel>]|[<Error>]
Track2:
[<Start Sentinel 2><Data2>{1,40}<End Sentinel>]|[<Error>]
Track3:
[<Start Sentinel 3><Data2>{1,107}<End Sentinel>]|[<Error>]
CR:
0x0D or Carriage Return
Start Sentinel 1:
0x25
1
or value in configuration byte 2
Start Sentinel 2:
0x3B or value in configuration byte 3
Start Sentinel 3:
0x2B or value in configuration byte 4
End Sentinel:
0x3F or value in configuration byte 5
Error:
0x45
Data1:
0x21 to 0x5F
Data2:
0x31 to 0x3F
Data3:
0x31 to 0x3F
If a track is read incorrectly an ASCII ‘E’ is returned in place of the bad track.
The following table shows the
format of the MSR configuration word:
Byte1
Configuration bits
Factory
Default
Bit
Function
PS/2
RS-232
0
CR enabled
1
0
1
Raw data mode
0
0
2
track 1 disabled
0
0
3
track 2 disabled
0
0
4
track 3 disabled
0
0
5
Strip Sentinels
0
0
6
Use Custom Configuration
0
0
7
Hide Error tracks
0
0
Byte 2
SS1
0x25
0x25
Byte 3
SS2
0x3B
0x3B
Byte 4
SS3
0x2B
0x2B
Byte 5
ES
0x3F
0x3F
Byte 1, Bit 0: Carriage return Enabled
This bit enables the inclusion of Carriage returns between the tracks.
This defaults to ‘0’ or no Carriage
SurePOS 500 Model XX3 Technical Reference, v 1.3
Page 69 of
1
ASCII conversion of characters used in this document are: 0x25=’%’, 0x3B=’;’, 0x2B=’+’, 0x3F=’?’, 0x45=’E’.
For
more ASCII character conversions see ISO-646-US-ASCII.
81