beautypg.com

Swa - switch a command, Note – MagTek MICR Plus RS-232 User Manual

Page 18

background image

MICR PLUS, RS-232

10

[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, shown in Table 4-1, controls the communication parameters for the RS-232
Host port. The data for this command consists of 8 ASCII bits (“0” = hex 30 and “1” = hex 31).

Note

The RS-232 auxiliary port will be set with the same communication
parameters as the RS-232 Host Port.


To execute, send the SWA command as follows:

SWA 01010101

(with data)

or

SWA

(without data)

When sending data, all 8 bits must be provided. The MICR Plus will execute the command but
it will not reply. To make this command permanent, use the SA command described below.

If no data is sent, the MICR Plus responds with the current settings for SWA.

Note

The new settings for the serial port will not become
effective until the RS command is executed.