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
How controller Two Hopper
Moderators: aardvark, davebush, Admin
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.
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.
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.
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.