![background image](http://html1.mh-extra.com/html/j2/615/615_system-manual_3113403018.webp)
615 System Manual
Version 1.0 March 21, 2010
18
2) Using the J2 supplied Virtual COM port for CE.NET, XP Pro, POSReady and XPE
3) Direct access to the I/O ports:
The Virtual COM port driver that is standard on Windows XP Pro, WEPOS and XP
embedded maps the cash drawers to COM 6 and COM7. These COM port numbers can
be changed by modifying using the J2 virtual port configuration utility. A reboot will be
needed for these changes to take effect.
To open Cash Drawer One: Send a bell character to the COM6 serial port. (The bell
character is the ASCII 07 hex character “Control G.”)
To open Cash Drawer Two: Send a bell character to the COM7 serial port.
The open/close status of the drawer may be obtained by reading the status bits of its
COM port. The drawer open/close status will be reflected on the CTS and RI bits, either
bit may be used. This virtual COM port driver is designed to work the same as serial cash
drawers and will work with drivers for serial cash drawers.
The Virtual COM port driver that is standard on Windows CE.NET and the cash drawer
appears as COM6.
To open Cash Drawer One: Send a bell character to the COM6 serial port. (The bell
character is the ASCII 07 hex character “Control G.”)
To open Cash Drawer Two: Send an ESC character, then a bell character to the COM6
serial port.
The open/close status of the drawer may be obtained by reading the status bits of COM6,
and the drawer open/close status will be reflected on the CTS and RI bits, either bit may
be used.
The OPOS drivers, Virtual Port drivers and a Cash drawer test program may be
downloaded from the J2 web site:
http://www.j2retailsystems.com/support/615/
The cash drawer can be directly accessed through an I/O port, 48C hex. By outputting the
correct value to the port cash drawer one or two can be fired and the cash drawer status
can be read on the same port. The cash drawer solenoid should only be turned on for a
maximum of 50ms. Also note that cash drawer one and two solenoids should never be
turned on at the same time
Cash drawer I/O port
Port 0x48C Value sent/returned Action
Value 0x08 Write 0x08
Turn on Solenoid Cash Drawer 1
Value 0x04 Write 0x04
Turn on Solenoid Cash Drawer 1
Value 0x00 Write 0x00
Turn off Solenoid Cash Drawer 1&2
Mask 0x40
Read bit 6 zero
Cash Drawer 1 or 2 is open
Mask 0x40
Read bit 6 one
Cash Drawer(s) are closed or not attached