Program mode, Sending program mode commands – MagTek HALF CARD PORT User Manual
Page 28

Half Card Port Powered Insertion Reader
20
PROGRAM MODE
The new reader has a number of non-volatile properties. Once these properties are changed and
saved in non-volatile memory, the changes will take affect after a power cycle or reset. These
properties are usually only modified once prior to installing the device. These properties can
only be modified when in program mode. See the enter program mode command in the regular
command set for a description of how to enter program mode. Once in program mode, the
reader will only respond to the program mode command set until the device is power cycled,
reset or the exit program mode command is received. This section describes the program mode
commands set.
Sending Program Mode Commands
The Reader will operate from 2400 to 115200 bps but each command sent to the Reader must
match the communication parameters of the Reader. The default communication parameters are
9600 bps with 8 bits, no parity and 1 stop bit (8N1). If the Reader fails to respond after a
command has been transmitted, the application should modify the transmission parameters until
a response is received.
Commands, as described below, must be preceded by an Escape (
be terminated by a Carriage Return (
they must all use upper case characters.
After a valid command has been received, the Reader will respond with an Acknowledge
(
seconds, a No-acknowledge (
communication settings are incorrect, the Reader will transmit a NAK using its current
communication parameters. An unrecognized command will also return a NAK.