background image

MDB-RS232  Interface  Adapter  for  MDB  Coin  Changer  Bill  Acceptor  and  MDB  card  reader 

                                                      Page 11 of 12                                                                              http://www.waferlife.com 

 

Important questions during application: 

1. Sometimes when send the command to the mdb-rs232,but I cann’t get any reply. How can I 
know if the command has already been sent successfully to the payment device? 
Answer:  In  MDB-RS232  box  design,when  PC  send  the  command  to  it  ,it  will  forward  the 
command to  payment device.  But  sometimes the  payment  device  is  busy,for  example  a bill  is 
inserted and payment device cann’t reply the box in time. So PC cann’t get the reply.then just 
need to resend the command later. Of course,this is not a problem,because ALL the command 
from PC,that is not a realtime command. 

2. How can I know if the payment device is enabled or disabled ? 
Answer:  If  the  payment  device  is  in  disabled  status,Bill  acceptors  will  report  the  status  to  PC 
always once each POLL. It will report 

30 09

 to PC, but for most coin acceptor,if need the status, 

user can read the status with 

0F05

 command. 

3. If I can use a PLC or android board to connect it ? 
Answer: That is no problem. Actually,user can use any main controller which has RS232 or USB 
port to work as the VMC.Of course, if the main controller only has the USB port.then will use a 
USB version. And install the driver to create the virtual com port in the main controller. 

3. If can supply more documents to facilitate the development of applications? 
Answer:  The  MDB  box  we  provide  is  to  forward  the  data  uploaded  to  the  PC  by  the  MDB 
payment device. The documents we provide can only make it as easy as possible for customers 
to understand the process of sending and receiving data and the structure of the data. As for 
the  commands  of  the  host,  the design  of  the  user's  host  software requires the user  to design 
the control process after having a detailed understanding of the payment device and the MDB 
protocol.  We  are  not  able  to  provide  assistance  in  customer  specific  projects  and  software 
design.

 

4. About the Status reading command of coin acceptor (

0F05

 command to read the status) 

Not  all  coin  validators  can  report  the  full  working  status,especially  the  old  version,even  in 
Level03,also cann’t provide the proper status report data 
Normally after powered on, it should report 

01 00 06 00 07

 (

01/00

 means powering up) 

Read the status again should report 

06 00 06

 (coin validator is disabled by default) 

After use the command 

0CFFFFFFFF

 to enable,then read status should report with 

03 00 03

 

Must be noted: Some coin validators always report with 

030003

,no matter in what status and 

some  only  port  with 

000000

.  In  these  cases  where  the  MDB  protocol  is  not  followed,  please 

consult the coin validator manufacturer. Not a problem that MDB-RS232 boxes can solve 

 
 
 
 
 
 
 
 

Summary of Contents for MDB-RS232

Page 1: ...RS232 New Version box type V3 SPECIFICATIONS Communication format Baud rate 9600 Start bit 1 Data bits 8 Parity NO Stop bit 1 PC data Send Hex PC data Receive ASCII Hardware Specification Power Min 2...

Page 2: ...and protocol the only difference is Three LED version will enable the payment device from the start and Five LED version start with disable status for payment device and user need to use the enable co...

Page 3: ...asy for you to order a RS232 USB adapter For MDB RPI board has two serial port to PC and also to Raspberry pi board GPIO Also it will supply the DC5V voltage for Raspberry pi board After connected the...

Page 4: ...09 After sent the data 09 from PC then adapter box will read and send back the coin acceptor setup information 03 11 56 05 01 00 03 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 76 For example Bill...

Page 5: ...no bill s For example Send the command 3400030000h Bill s held in Escrow Y3 Y4 001Fh for all US bills held in escrow 0000h for no bill s held in escrow Send out 34h and then the 4 bytes Y1 Y4 to chan...

Page 6: ...09 to PC and also later will keep to send 3009 to PC 30 that means data is from bill acceptor 90 means a TYPE0 bill is accepted and stoped at the Escrow position For different bills maybe 91 or 92 or...

Page 7: ...gnized For COIN ACCEPTOR Coins Deposited Byte1 Byte 2 01yyxxxx zzzzzzzz yy Coin Routing 00 Cash Box 01 Tubes 10 Not Used 11 Reject xxxx Coin Type zzzzzzzz The number of coins in the tube for the type...

Page 8: ...8 92 4B QUARTER 1 08 92 00 08 92 06 08 92 15 Coin Rejected NICKEL 08 70 00 08 70 06 08 70 4C DIME 08 71 00 08 71 08 08 71 6B QUARTER 08 72 00 08 72 06 08 72 4B QUARTER 1 08 72 00 08 72 06 08 72 15 1 C...

Page 9: ...MDB RS232 Interface Adapter for MDB Coin Changer Bill Acceptor and MDB card reader Page 9 of 12 http www waferlife com...

Page 10: ...card reader 1402 Cancel card reader 1300000A0001 REQUEST VEND 1301 VEND CANCEL 13020001 VEND SUCCESS 130500640001 CASH SALE 1304 SESSION COMPLETE 1500 REQUEST REVALUE 1700 REQUEST ID 110001000000 Conf...

Page 11: ...ion And install the driver to create the virtual com port in the main controller 3 If can supply more documents to facilitate the development of applications Answer The MDB box we provide is to forwar...

Page 12: ...erface PC or android main board or popular Raspberry pi board to vending machine and then developer can use some simple command to act as a perfect cashless payment solution We also can order the samp...

Reviews: