SMAG-DC software instructions


There are two programs available for your use for uploading data from the SMAG-DC reader, if you do not want to write your own software for doing this.

Each of these programs assumes that the SMAG-DC reader you are communicating with is connected to COM port 1, and the reader is set for 9600 baud, 8 data bits, no parity (IBC default).

The two programs are:

dcup.exe   This program will upload all of the data from the SMAG-DC into a data file named dcup.dat. The data in the reader will NOT be cleared. All records are padded with enough blanks to fill up the record size programmed in the reader.

 

dcupc.exe   This program is the same as DCUP.EXE, except that it clears the reader data automatically after the data is uploaded.

 

The SMAG-DC reader accepts all "J" series commands (please refer to the "J" series manual for these commands), and also will support "J" series emulation. To program the setting for the magnetic stripes being read, and the control over the data (start sentinels, etc..) use the "J" series commands.

To program the reader yourself, the following five commands will be required (please note each command must be followed by a carriage return (hex 0D)):

 

\ssst   where:
sss=record size (min of 4, max of 150)
t=0=don't record time, t=1=record time

please note that sending this command causes the reader to loose
all data which is stored in it.
     
lr   resets the reader so that you start uploding from the first record
     
l   transmits one record from the reader's log. When the reader has
completely been uploaded, this command will cause the reader
to send "END".
     
+yymmddhhmmssw   set the reader's time to yymmddhhmmss, w is the day of week
which must be set to 1
     
t   returns the time from the reader in the format yymmddhhmmss

To test the reader use the "slottest" program found on our "software" page, which allows you to type onto the screen and send commands to any IBC reader.

The default setting for SMAG-DC readers is a record size of 150, and the time setting on. When a card is read and stored into the reader, the green led will turn on. If a card is read that does not fit within the specified record size, the red led will turn on. When the reader is full, the red led will flash.

The reader should last one full day ( 8 hours of continuous use ) with a 9-volt alkaline battery.

Return to Previous Page