Configuration commands – MagTek PORT POWERED SWIPE READER User Manual

Page 23

Advertising
background image

Section 4. Properties and Commands

17

CONFIGURATION COMMANDS

The configuration properties are stored in three separate bytes (referred to as switches). The
switch settings are modified with three separate commands, one for each switch. The switch
names, bits and corresponding properties are shown in the tables below.

The command to interrogate or modify a switch is of the form:

<ESC>Sn<CR>

where “n” is “A”, “B” or “C”.

For example, to interrogate the values of switch B, send the command:

<ESC>SB<CR>


The response will look like this:

<ACK><ESC>SB00000001<CR>


In order to change any switch settings, send a command like this:

<ESC>SA11100010<CR>

which will set switch A to the default value. The Reader will respond with an ACK if the
command is formatted properly. The change in settings will NOT take place until after the
Upload and Reset commands have been sent:

<ESC>UP<CR>
<ESC>RS<CR>


The Upload (UP) command moves the new setting(s) into flash memory. The new setting(s),
however, will not be used until the device has been reset—either with a power reset or with the
soft Reset (RS) command.

Advertising