Table 3-2. commands and responses – MagTek MINIWEDGE SWIPE READER User Manual

Page 20

Advertising
background image

MiniWedge Swipe Reader


14

All command messages consist of two ASCII letters as shown in Table 3-2 below. Some commands
include additional characters for parameters. Any completed command will generate a response.

Responses include an identifying letter following the “W”. All responses are returned as scan codes, e.g.,
<stx> is returned as <ctrl>b. The only exception is when the device is configured for direct character
modes (0xA8 0x42) in which case characters are sent as binary values.

Table 3-2. Commands and Responses

Command ID

Function

Response

ID Return

ID

WI210822xx.rnn/CCCC

CY Copyright

WCMINIWEDGE (C) MAG-TEK 1999

ST Status

WSrk

PVxxx

Parameter View

WPyy

PWxxx=yy

Parameter Write

WPyy (note: does not affect WinDriver mode)

DK Disable

Keyboard

WSrk

EK Enable

Keyboard

WSrk (default after power on)

DR Disable

Reader

WSrk (LED goes off)

ER Enable

Reader

WSrk (default after power on - LED green)

TK Get

Track

Configuration

WTtk

TKtk

Set Track Configuration

WTtk

DL Character

Delay

WXdd (defaults to 0x12 = 9.2 ms)

DLdd

Set Character Delay

WXdd

(none) Track

Data

<track data>

Where the following apply to the above commands:


r

= E (reader enabled)

D (reader disabled)


k

= E (keyboard enabled)

D (keyboard disabled)


U (keyboard not detected)

xxx = 000 to 1FF
yy

= 00 to FF

tk

= Track/ID parameter as defined in P013 parameter

dd

= Delay between characters (* 0.512

μsec.) in hex

Advertising