beautypg.com

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

Page 17

background image

Section 4. Commands


9

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

(with data)

or

SWB

(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

:

No

1

:

Yes

0

: No

1

: Yes

0

: No

1

: Yes

0

: No

1

:

Yes

0

: No

1

: 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

0

0

0

0

0

1

Comm Mode: 2 - Data -

0

0

0

0

1

1

Comm Mode: 3 - Data -

0

0

1

0

0

0

Comm Mode: 4 - Data

0

0

1

0

1

0

Comm Mode: 5 - Data

0

1

0

1

0

0

Comm Mode: 6 - Data

1

0

0

0

0

1

Comm Mode: 7 - Data