Using the Azkoyen Hopper type Discriminator

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
petersh
Posts: 5
Joined: Thu Nov 26, 2009 5:39 pm

Using the Azkoyen Hopper type Discriminator

Post by petersh »

Hello

I'm trying to connect 3 Azkoyen Discriminator hoppers to the PayLink. Each hopper is supposed to use the intelligent payout feature so to dispense 2 different coins i.e. 2 and 1 euro, 0.50 and 0.20 euro, 0.10 and 0.05 euro.

I can enumerate the hoppers but I can't find a way to use the intelligent payout feature. How do I proceed?

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

Post by davebush »

There is no support in any present release of Paylink for an "Azkoyen Discriminator hopper".

If they use the same protocol as the Money Controls "Combi" Hopper, then Paylink should "just work".

To find out how close Paylink is:

1/ Turn off / unplug Paylink and close all related PC programs.
2/ Unplug all the hoppers - then power on / plug in Paylink and start AESWDriverand MlanDiag.
3/ Plug in a single hopper and wait up to 2 minutes.
4/ You should get a sequence of messages as Paylink discovers the hopper.
5/ Press the mail button, which will put a combined report (as below) into your mail system.
5/ Copy and Paste this as a reply.

Code: Select all

------------------------------------------------------------------

Peripheral Information

------------------------------------------------------------------

Dispensers on the system are:
   Dispenser 0: MCL Combi Hopper - <SCH3A-V3.3~SCH3A>, Serial Number 272,
       Coin Value 100, Number Paid 88,
       Inhibit 0, Address 5
   Dispenser 1: Ghost (Coin count only) - <Ghost>, Serial Number 0,
       Coin Value 200, Number Paid 175,
       Inhibit 1, Address 5

------------------------------------------------------------------

Diagnostic Information

------------------------------------------------------------------

10:33:19.781 9664 bytes memory free
10:34:13.593 00:01
10:34:51.343 Idle: Hopper for 25 found @ 5
10:34:51.359 ccHopper @ 5: Taken slot 3 (was 255)
10:34:51.546 ccHopper @ 5: Value hopper - base coin is 100
10:34:51.562 DP: SCH3A Hopper S/N 272, Address 5, Value 100 at b70  added
10:34:51.609 ccHopper @ 5: Value hopper - additional coin 200
10:34:51.609 DP: Ghost Hopper S/N 0, Address 5, Value 200 at bbc  added
10:34:51.718 ccHopper @ 5: Coin 2 Count 175
10:34:51.765 ccHopper @ 5: Coin 1 Count 88
10:34:51.765 ccHopper @ 5: Total coin count 438, overwritten from 0 (too high)
10:34:51.765 DP: Hopper @ 5 changed
10:34:52.812 ccHopper @ 5: Selftest OK

------------------------------------------------------------------

Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
petersh
Posts: 5
Joined: Thu Nov 26, 2009 5:39 pm

Post by petersh »

Hello

Here's the output from my system.


------------------------------------------------------------------

System Information

------------------------------------------------------------------

AES Intelligent Money Handling Equipment Interface
OS Version 6.0
Checking Driver Files:
Found at: C:\Windows\system32\Drivers\FTD2XX.sys
Timestamp : Fri Apr 29 14:33:42 2005

Checking DLL:
Found at: C:\Windows\system32\AesIMHEI.dll
Timestamp : Tue Mar 07 18:15:24 2006
Version 1,3,2,2

Details on AES Genoa USB Interface Unit
AES Intelligent Money Handling Equpiment:
Interface 6, code version 04010a0c


Firmware Release Type: Full
Firmware Code Version: 1.10.12



------------------------------------------------------------------

Peripheral Information

------------------------------------------------------------------

Dispensers on the system are:
Dispenser 0: Unknown code 01020000
Coin Value 100, Number Paid 16,
Inhibit 0, Address 3

Acceptors on the system are:


------------------------------------------------------------------

Diagnostic Information

------------------------------------------------------------------

vrijdag 27 november 2009
12:07:59.25





12:07:59.25 Opening Genoa USB unit...
12:07:59.58 OK, ID: 0x0403 0xde50
12:07:59.58 Description: Genoa USB Hub
12:07:59.58 Manufacturer: Aardvark (AE)
12:07:59.58 Unknown extended code 2 received
12:07:59.58 Unknown extended code 2 received
12:07:59.58 Unknown extended code 2 received
12:07:59.67 Memory Reset
12:07:59.76
12:07:59.76 Exec: DP App. task took 81 msec
12:08:04.56 10204 bytes memory free
12:08:30.96 00:01
12:08:38.01 Idle: Hopper for 100 found @ 3
12:08:38.02 ccHopper: Save slot 0 found for hopper @ 3
12:08:38.10 ccHopper: Bad response to Check level
12:08:38.13 ccHopper: 4 byte dispense!
12:08:38.15 ccHopper: @ 3, Coin count 0,replaced with saved 16
12:08:38.16 DP: Discri Hopper S/N 575629, Address 3, Value 100 at b60 added
12:08:39.18 ccHopper: @ 3, Selftest OK
12:08:42.93 9984 bytes memory free
12:09:30.75 00:02
12:10:30.53 00:03
12:11:30.31 00:04

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

Post by davebush »

It will probably come us no surprise, but Paylink can't tell this hopper is different from any other.

To add this to the Paylink repertoire of peripherals, the first stage is to let us have a link to the cctalk messages implemented by the unit.

Assuming that it is not too far off the MCL Combi, We'll then need an actual unit to use for development.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
petersh
Posts: 5
Joined: Thu Nov 26, 2009 5:39 pm

Post by petersh »

Here's a link to the document with supported ccTalk commands: http://www.coinmech.com/images_products ... g/1164.pdf

Chapter 1.6.4 describes the ccTalk commands for "intelligent payout".

Please let me know if you need the actual device.
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

Sorry about the delay.

The protocol described is completely different from the MCL one, and so it would be a significant development effort for us to implement it.

Is it possible that the unit is sophisticated enough to pay out a single 2 euro when a 1 euro is requested?

If we were to implement this protocol, we woulds probably want to charge for the effort. If you're interested in investigating this then please send me a private e-mail.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
petersh
Posts: 5
Joined: Thu Nov 26, 2009 5:39 pm

Post by petersh »

Currently we only have the PayLink to connect ccTalk device to, so I can't tell you how the hopper would behave in a different environment.

A simple solution would be that we can bypass the money-handling logic in the PayLink and directly send ccTalk requests from the PC, over the USB bus, to the ccTalk units. Is this possible?

I also want to ask you a more general question: is it possible to put the PayLink in a mode in which it transfers ccTalk requests directly between PC and ccTalk units, skipping all the higher-level logic?
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

There's no way of turning off the normal functioning of a Paylink unit.

You can send arbitrary cctalk commands to the cctalk bus using the WriterInterfaceBlock() / ReadInterfaceBlock() pair.

The 1st parameter (Interface serial) would be 2 - GET_INTERFACE(DP_CCTALK_INTERFACE).

The low level Paylink code will ensure a correct checksum.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
petersh
Posts: 5
Joined: Thu Nov 26, 2009 5:39 pm

Post by petersh »

I followed your advice and now I'm able to perform an intelligent payout Azkoyen-style using the ReadInterfaceBlock() and WriteInterfaceBlock() APIs.

I still have to investigate how this impacts the functionality of the PayLink. Since we're bypassing the pay-out logic, things may go strange.
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

Congratulations.

As long as you don't issue a Paylink payout request, I would expect it work without problems.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply