Configuration commands – MagTek HALF CARD PORT User Manual

Page 30

Advertising
background image

Half Card Port Powered Insertion Reader


22

into flash. Finally, the Reset (RS) command can be sent to validate that all changes have taken
place. After the RS command, any changes to communication parameters will be effective.

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>


Note that changes made to the switch settings with the switch commands can not be read back
until they are activated. Also note that certain volatile commands from the regular command set
affect the active switch settings. For example, the <ESC> S and <ESC> s commands affect the
value read back from the <ESC>SB<CR> command in byte position 1.

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