EasyManua.ls Logo

WAFER MDB-RS232 - Communication Commands; Command Usage and Data Format; Bill Validator Commands

Default Icon
12 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MDB-RS232 Interface Adapter for MDB Coin Changer Bill Acceptor and MDB card reader
Page 4 of 12 http://www.waferlife.com
MDB-RS232 Software Communication
Receive and Transmit
Use an interrupt driven comm event on the appropriate com port. Settings are
9600-8-1-None.
MDB OPERATION INSTRUCTIONS:
For BILL VALIDATOR
Bills Accepted (Byte 1) 1yyyxxxx
yyy = Bill Routing
000 = Bill Stacked
001 = Escrow Request
010 = Bill Returned
011 = Not Used
100 = Disabled Bill Rejected
xxxx = Bill Type
How to use the command to communicate with the MDB-RS232 adapter box?
Data sent and reply are all compabitle with the MDB protocol.
PC command: Just use the same command as the MDB protocol for VMC
PC received data1: Any data sent back according to PC query instructions, that is the same
format as the MDB protocol,no need to add the first device ID byte
PC received data2: Any activity data from payment device will be sent to PC automatically
and the first byte is the device ID
For example, Coin acceptor setup command: 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 acceptor enable command: 0C FF FF FF FF
After sent the data 0CFFFFFFFF from PC , then adapter box will send to bill acceptor and
send back the validator response Data: 00
Above PC received data,don’t have the device ID at the first byte,but following data will have
Activity data from coin acceptor,For example a coin is accepted will be sent to as: 08 51 00
51 00 is the activity data from coin acceptor and when report the data to PC, MDB-RS232
add the first byte device ID 08h
Activity data from bill acceptor,for example,bill acceptor is disabled will be reported as: 30 09
09 is the activity data from bill acceptor and MDB-RS232 add the first byte device ID 30h
(Just simply noted: Automatically reported data will have the device ID byte)
Must be noted again
Any data sent from PC to MDB-RS232 box, that should use HEX data
Any data that PC received from MDB-RS232 box, that is ASCII data
So when user test command with MDB Demo tool or RS232 tools,must select the “hex” mode to
send data