5. Send serial characters to open the drawer.
6. Use the test software to set up and test the drawer (See OPTIONS above).
7. The drawer may also be tested from DOS on an IBM compatible computer by typing
in the following lines - press ENTER at the end of each line:
C:> MODE COM1:1200,n,8,1
C:> ECHO > COM1: @
C:> ECHO > COM1: @@@@@
•
The first line sets up the serial port. (Replace COM1: with your correct port ID.)
•
The second line turns on the port.
•
Wait 5 seconds for KSC to initialize.
•
Then type line 3 to send characters and open drawer
•
Repeat line 3 to open drawer again.
Using the “Drawer Open Signal”
The drawer open signal (the White wire of the interface cable) can be read by software
as
R
ing
I
ndicate
(pin 22 on a DB25 connector). The signal is 12VDC (High) when the
drawer is open and Ground (Low) when the drawer is closed. The following example
shows how this signal can be read from "BASIC" using an IBM PC or compatible
computer:
50 A% = INP(&H3FE):IF(A% AND 64) > 0 then PRINT "Drawer is open" for COM1: or
50 A% = INP(&H2FE):IF(A% AND 64) > 0 then PRINT "Drawer is open" for COM2:
Troubleshooting
If you are having trouble, use the test software to troubleshoot. This software uses the
computer to read and diagnose most problems.
Some common things to check are:
•
Carefully re-check the Switches, Drawer Lock and interface cable. Check
continuity and jumpers if possible.
•
Make sure you are plugged into the serial port, not the parallel port of the
computer
•
Try sending more characters in your opening command - 5 or more.
•
Try setting no filter switch setting - SW3 ON and SW4 OFF.
•
Try setting terminal mode switch setting - SW2 ON and SW1 OFF Reset to
standard settings if drawer does not open.
•
Try using the driver software or an AC adapter (see OPTIONS above). The
adapter must be a special negative tip adapter available from M-S Cash Drawer.