Program mode command set, Exit program mode, Reset device – MagTek HALF CARD PORT User Manual

Page 29: Version request, Upload command

Advertising
background image

Section 3. Commands, Formats, Timing


21

PROGRAM MODE COMMAND SET
The reader must be in program mode for the device to respond to this command set.

Exit Program Mode

This command can be used to exit program mode; however changes made while in program
mode will not take affect unit the device is reset or power cycled:

<ESC>x<CR>


Once program mode is exited, the device will only respond to the regular command set and not
the program mode command set.

Reset Device

The Reader will always be reset when power (DTR) is applied (hardware reset). It can also be
reset programmatically with a Reset (RS) command. This command can be used after changing
the setting to activate the new values:

<ESC>RS<CR>


After sending the <ACK>, the Reader will perform a soft reset and, if the function is enabled
(SA-6), will transmit the sign-on ID message:

<ACK>21088842A01<CR>


Version Request

In order to determine which device is connected, the application can send a Version Request
(VR) command to the Reader:

<ESC>VR<CR>


The Reader will respond with an ACK and then will transmit the firmware part number and the
corresponding version in a format like this:

<ACK>21088838A00<CR> or

<ACK>21088842A01<CR> for the new reader


Upload Command

The Upload (UP) command is used to move any modified properties from temporary storage into
the flash memory. This only needs to be done once after all changes have been made.

This method of updating the programmable settings allows all parameters to be modified in
anticipation of the next reset. Thus, a series of switch commands (including the sentinel values
described below) can be sent to the Reader without affecting any operation. The set of
configuration commands should be followed by an Upload (UP) command to transfer all settings

Advertising