Command format, Swa - switch a command, Table 4-1. swa command – MagTek MINI MICR RS232 User Manual
Page 16

MINI MICR RS232 with 3-Track MSR
8
COMMAND FORMAT
When the commands are entered manually, they must use the following format:
[COMMAND][DATA]
where:
•
[COMMAND]
is 2 or 3 alpha characters.
•
[Data]
is optional as described below for each command.
•
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
(with data)
or
SWA
(without data)