Swa - switch a command, Table 4-1. swa command – MagTek MAXI MICR RS232 User Manual

Page 16

Advertising
background image

MAXI MICR RS232 with 2-Track MSR

8

[COMMAND]

is 2 or 3 alpha characters.

[Data]

is optional as described below for each command.

<CR>

is always required.

All characters are ASCII

No spaces, brackets, or angle brackets required.


SWA - SWITCH A COMMAND

The SWA command controls the communication parameters, shown in Table 4-1. The data for
this command consists of 8 ASCII bits (“0” = hex 30 and “1” = hex 31).

Table 4-1. SWA Command

BITS PARAMETERS

7

6

5

4

3

2

1

0

0

0

0

Reserved

0

0

1

Baud Rate: 300

0

1

0

Baud Rate: 600

0

1

1

Baud Rate: 1200

1

0

0

Baud Rate 2400

1

0

1

Baud Rate: 4800

1

1

0

Baud Rate: 9600

1

1

1

Baud Rate: 19200

0

0

Data and Parity: 8, None

0

1

Data and Parity: 7, Mark(1)

1

0

Data and Parity: 7, Even

1

1

Data and Parity: 7, Odd

0

CTS/DSR:

Use

1

CTS/DSR:

Ignore

0

Number of Stop Bits: 1

1

Number of Stop Bits: 2

0

Intercharacter

Delay:

No

1

Intercharacter

Delay:

Yes


To execute, send the SWA command as follows:

SWA 01010101<CR>

(with data)

or

SWA <CR>

(without data)


When sending data, all 8 bits must be provided. The MICR Reader will execute the command but
it will not reply. To make this command permanent, use the SA (Save) command described at the
end of this section.

Advertising