Hello all,
I've just bought a Paylink unit with an MDB Changer (NRI Currenza C2 Blue) and an MDB Bill Aceptor (CashCode MSMV-EU8002). I want to use them together using Java but i'm not able to access the acceptor.
In the configuration file for the Windows driver i have put:
Protocol MDB on connector MDB
CHANGER AT 08h
BILL ACCEPTOR AT 30h
When I run the tester program providing by the SDK, the MHE opens successfully and the AESImhei.EnableInterface() call runs ok. But when I use the AESImhei.ReadAcceptorDetails(<index>, <acceptor_block>) the information that I receive is wrong and I can't enable the acceptor (either the changer or the bill acceptor). Can anyone explain me how to solve this problem for accessing the acceptors through Paylink Unit?
Thanks.
Best Regards,
Juan Antonio
I assume that you've tried using the Demo program - that should show you that the Acceptor is working and allow you to put some coins through.
If you run the MilanDiag program, this will pick up diagnostics from the Paylink internals. Most of these are obscure, but you should see a few that use terms you recognize.
A couple of points that are easy to miss:
- You have to call EnableInterface before the acceptor will operate.
- The test Java app in the SDK should print out the acceptor correctly - if it doesn't can you post what it does print out.
- The 1st Acceptor is at Index zero.
Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Hello
Firmware: on Jul 13 2012 at 11:23:34
System - EventCode:1
RawEvent:0
DispenserEvent:0
Index:0
Acceptor - nothing
Dispenser - nothing
Unit:34144256
Status:65
NoOfCoins:0
InterfaceNumber:3
Currency:
Unit:302514176
Status:65
NoOfCoins:0
InterfaceNumber:3
Currency:
Barcode Escrow returns: 0 <>
Barcode returns: 0 <>
Caption for 1: For 1
Caption for 4: Caption 4
E2Prom Read: <1234efgh>
E2Prom Read: <ABCDefgh>
E2Prom Read: <1234efgh>
Done:
I have connected a changer (configured at 08h address in the driver) and a bill acceptor (in the 30h address). If I use the changer and the bill acceptor directly connected to the PC (through USB cable) there is no problem. Since I use them with the Paylink unit i can't access them (I do the call to EnableInterface and that method executes without problem).
Do you know why do I have this problem?
Thank you again, Dave, and I'll wait for your response.
The test Java app appears to be correctly interacting with the Paylink system. The next stage is to try the Paylink system with our Demo application (where we know what is going on.)
Can you run the Demo application, and see how that describes your system. If that doesn't let you identify your problem then can you take a log following these http://www.aardvark.eu.com/Private/Gene ... inkLog.pdf instructions, and post the results and your configuration file.
Regards
Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Hi Dave,
Nowadays I don't have the Coin Acceptor because I have sent it to out provider. It seems that they have sent us the coin acceptor configured as Master and, because the Paylink acts as Master, there was a conflict and the Paylink disabled the coin acceptor. When our provider return us the coin acceptor configured as slave, I will try again and I will tell you if the problem has been solved.
Hi again Dave,
I have received the coin acceptor and it works perfectly. The problem has been that our provider didn't configure the coin acceptor as slave.
Sorry for the inconvenience and thanks for your replies and your attention.