FEB-9455 Main Board
17
Cash Drawer Activation
Two cash drawers may be driven from this port. Driving voltage of the solenoid is DC+12V.
Unlike previous models, the 9455 motherboard does not use a direct I/O port but instead is
accessed via a super I/O chip. A test program and source code is supplied and can be found on
the DVD in \Utility\Cashdrawer. This test program is for all Windows O/S. To use the source code
please study the readme.txt file in the same location.
Hardware logic is as follows.
Allow Access to the port
Boot DOS and use Debug.exe (you must boot raw DOS and not use WIN2K/NT/XP)
O 2E 87
; This is the Super I/O access key (this is needs to be executed twice)
O 2E 87
;
O 2E 07
; This is the logical device access key
O 2F 07
; This is the logical device number (07 = GPIO port #1)
O 2E F1
; This allows access to the port registers bit7 - bit0 for reading and writing
To Open cash drawer number 1….
O 2F 01
; This will power the cash drawer number 1 solenoid ON.
Wait 200 milliseconds
O 2F 00
; This removes the power from the cash drawer solenoid.
To Open cash drawer number 2….
O 2F 02
; This will power the cash drawer number 2 solenoid ON.
Wait 200 milliseconds
O 2F 00
; This removes the power from the cash drawer solenoid.
There is only one input for the Cash Drawer Open Status Switch.
To read the Cash Drawer Open Status Switch for our Standard Cash Drawer
After Allowing Access to the port (above)
I 2F
; Read port 2F bit7
– bit0
Check the state of bit2, if High the drawer is open, if Low the drawer is closed.
If your application requires 2 cash drawers and you need to know if one of the drawers are open
then it will be necessary to link the “SW+” and “SW-“ of both cash drawers together. You will also
need to modify both cash drawer switch wiring.
You will need a soldering iron for this.
Disassemble the cash drawers and move the Red wire that is attached to the “N.O.” (Normally
Open) terminal onto the “N.C.” (Normally Closed) terminal. See the Cash Drawer RJ11 connector
details in this manual for pin assignments.
This will provide an “OR” type function.
e.g. either Cash Drawer 1 is open “OR” Cash Drawer 2 is open.
To read the Cash Drawer Open Status Switch…for 2 modified Cash Drawers
After Allowing Access to the port (above)
I 2F
; Read port 2F bit7
– bit0
Check the state of bit4, if Low a drawer is open, if High then both drawers are closed.