35 / 36
8.2.2 Cash Drawer Status Register
Register Location: 201h
Attribute: Read only
Size: 8bit
7 6 5 4 3 2 1 0
X X X X X X X
Cash Drawer “DIN bit0” pin output control
Reserved
Bit 7-1: Reserved
Bit 0: Cash Drawer “DIN bit0” pin input status.
= 1: the Cash Drawer opened or not exist.
= 0: the Cash Drawer closed.
8.3 Cash Drawer control command example
Use Debug.EXE program under DOS or Windows98
Command Cash Drawer
O 200 01 Opening
O 200 00 Allow to close
¾ Set the I/O address 200h bit0 =1 for opening Cash Drawer by “DOUT bit0” pin control.
¾ Set the I/O address 200h bit0 = 0 for allow close Cash Drawer.
Command Cash Drawer
I 201 Check status
¾ The I/O address 201h bit0 =1 mean the Cash Drawer is opened or not exist.
¾ The I/O address 201h bit0 =0 mean the Cash Drawer is closed.
Commentaires sur ces manuels