Swb - switch b command, Table 4-2. swb command – MagTek MAXI MICR RS232 User Manual

Page 18

Advertising
background image

MAXI MICR RS232 with 2-Track MSR

10


SWB - SWITCH B COMMAND

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

To execute, send the SWB command as follows:

SWB 01010101<CR>

(with data)

or

SWB <CR>

(without data)

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

If no data is sent, the MICR Reader responds with the current settings for SWB.

Table 4-2. SWB Command

BIT PARAMETERS

7

6

5

4

3

2

1

0

0

<LF>:

No

1

<LF>:

Yes

0

<CR>: No

1

<CR>: Yes

0

<ETX>: No

1

<ETX>: Yes

0

<ESC>: No

1

<ESC>:

Yes

0

<STX>: No

1

<STX>: Yes

0

Send Data After Error?: No

1

Send Data After Error?: Yes

0

Send Status After Data?: No

1

Send Status After Data?: Yes

0

0

0

0

0

0

Comm Mode: 0 - Data Only

1

0

0

0

0

0

Comm Mode: 1 - Data <CR>

0

0

0

0

0

1

Comm Mode: 2 - Data -<LF>

0

0

0

0

1

1

Comm Mode: 3 - Data -<CR><LF>

0

0

1

0

0

0

Comm Mode: 4 - <ESC> Data

0

0

1

0

1

0

Comm Mode: 5 - <ESC> Data<CR>

0

1

0

1

0

0

Comm Mode: 6 - <STX> Data<ETX>

1

0

0

0

0

1

Comm Mode: 7 - <STX>Data<ETX><LRC>

Advertising