Reader to host formats – MagTek P-SERIES User Manual

Page 16

Advertising
background image

P-Series Port Powered Insertion Reader

10

Table 3-2. Options and Reader Responses

ASCII “ESCAPE”

CHARACTER

TO SET OPTION

TO CLEAR OPTION

(DEFAULT)

READER RESPONSES

<ESC> (0x1B)

S (0x53)

s (0x73)

Send STX

<ESC> (0x1B)

E (0x45)

e (0x65)

Send ETX

<ESC> (0x1B)

C (0x43)

c (0x63)

Send CR

<ESC> (0x1B)

P (0x50)

p (0x70)

Send ESC

<ESC> (0x1B)

B (0x42)

b (0x62)

Buffered Mode

Note

If DTR is dropped and restored, the setup options are returned to
the default state.


READER TO HOST FORMATS

The following diagram represents the format of the data transmitted to the Host:






Where optional characters

STX (0x02)

=

Start of text character

ESC (0x1B) =

Escape character

CR (0x0D)

=

Carriage return character

ETX (0x03) =

End of Text


are used to frame data.

%

=

Start Sentinel Track 1

;

=

Start Sentinel Track 2

?

=

End Sentinel


The LRC character is not transmitted.

Optional

STX ESC % Track 1 Data ? ; Track 2 Data ? Sensor CR ETX

Advertising