Instructions
QU-CD-720M/820M Manual Ver3.19
7
The card dispense response the host computer command.
Command Response
Response Data(D1,D2,D3)
Description
(C1 C2)
(R1 R2)
1
2
3
4
5
:
:
:
:
:
0x32,0x30,0x30 (Dispense failure)
0x30,0x32,0x30 (Jammed)
0x31,0x30,0x30 (Recycle bin is full)
0x38,0x30,0x30 (Dispensing)
0x34,0x30,0x30 (Calling back)
Get the current status of
the card dispenser. The digit 1
to 11 indicate the Priority
order of the card dispenser
status.
„R‟ „F‟
„S‟ „F‟
6: 0x30,0x30,0x34 (Card is take-site)
7
8
9
:
:
:
0x30,0x30,0x32 (Card is read-site)
0x30,0x30,0x38 (Hopper is empty)
0x30,0x31,0x30 (Hopper is lower)
1
0: 0x30,0x30,0x30 (Card dispenser is ready)
11: 0x30,0x30,0x31 (Card dispenser is not ready)
D1,D2,D3 is 3 bytes ASCII code, high 4 bits of the all
bytes is digit 3, low 4 bits indicate 4 flag status.
D1>bit0: 1 flagged Recycle bin is full;
Get the 12 bit flags of the
card dispenser.
„
P‟ „B‟
P‟ „C‟
„P‟ „B‟ D1>bit1: 1 flagged Dispense failure;
D1>bit2: 1 flagged Calling back;
D1>bit3: 1 flagged Dispensing ;
D2>bit0: 1 flagged Hopper is lower;
D2>bit1: 1 flagged Jammed;
Clear the 2 bits:
D2>bit2: 1 flagged Called back;
D2>bit3: 1 flagged Card is taken away;
D3>bit0: 1 flagged Card dispenser is ready;
D3>bit1: 1 flagged Card is reading-place;
D3>bit2: 1 flagged Card is taking-place;
D3>bit3: 1 flagged Hopper is empty.
D2>bit2, D2>bit3.
Clear the flag that the card
have been taken away; Clear
the flag that the card have
been called back.
„
„P‟ „C‟
„G‟ „V‟
„G‟ „V‟
D1,D2,D3 is 3 bytes ASCII code. Example, the code
Get the card dispenser version.
“0x33,0x31,0x35” means the version is 3.15
3
.5.5.3 How to control the card dispenser to get a card?
In an application project, if you want to get a card from the card dispenser, you must follow
the process:
1
. Use the command “PB” to ask the card dispenser‟s Bit Flags. If the card dispenser is
ready(D3>bit0 is “1”), then you can use the dispense command (“DH”, “ES”, “DC”, or
“
FU”) to dispense a card.
After then , Use the command “PB” to ask the card dispenser‟s Bit Flags. If the card is
taken away (D2>bit3 is “1”), you must use the command “PC” to clear this bit flag.
2
.