How controller Two Hopper

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
vilosh
Posts: 21
Joined: Tue Dec 12, 2006 7:17 pm

How controller Two Hopper

Post by vilosh »

Hello, after controller the device with the VFP, my next problem is :
how i controller two hopper?
How can i call to hopper 1 and hopper 2 in the code??

regards
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

The system automatically uses up to 8 hoppers. Each hopper has to be set up to use a different cctalk address, and the address indicates to the unit which value of coin is assumed to be in that hopper. (There is a table in the Reference Manual).

To pay out money, you issue a PayOut() command which will automatically choose the hoppers and coin counts need to acheive the payment and will run until either all relevant hoppers are empty or until the amount you asked for has been paid out.

So far as controlling the hoppers individualy is concerned, you can inhibit hoppers that you don't wish to use (using ReadDispenserDetails / WriteDispenserDetails) and then issue the PayOut(), which will not use those hoppers.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
vilosh
Posts: 21
Joined: Tue Dec 12, 2006 7:17 pm

Post by vilosh »

Thanks but,

Software
How change the Adresses, and how set value coin to hopper

Hardware
How connect the second hopper in to the 8 way cc talk,

Excuseme for the question

Regards
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

The point about cctalk is that you can just connect as many peripherals as you want; you just run the cctalk data and earth lines to each one. The peripherals are distinguished by a built in address.

The address of the hopper is set by hardware on the hopper itself. The documentation for the hopper should tell you how to do this. Some use small switches, MCL hoppers use earth connections on the plug to the hopper. Pages 19 & 20 of the manual (at http://www.aardvark.eu.com/downloads\do ... Manual.pdf) describe this.

Page 27 of the same manual shows the address setting needed for different value coins.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply