EasyManua.ls Logo

Aardvark Paylink - End of Payout Processing

Default Icon
71 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...
Milan / Paylink System Manual Issue 1.5 29 January 2020
CONFIDENTIAL
Not to be disclosed without prior written permission from Aardvark Embedded Solutions Ltd
Page 11 of 71
End of payout processing.
You detect the process completing using LastPayStatus(). If Paylink succeeded in paying out the
total requested amount, you get a status of PAY_FINISHED. If not then Paylink will report the status
return by one of the dispensers that failed.
The amount actually paid out can be obtained by comparing the current lifetime credit from
CurrentPaid() with that immediately before the payout started, the increment in will reflect the amount
delivered.
The application can read the details on each dispenser from Paylink. The information available
includes the value of the money in the dispenser device, the lifetime count of money paid from this
dispenser as retrieved from the hardware unit, the result of the last attempt to pay out using this
dispenser and if available the count of the units of money currently in the dispenser. It is possible that
a successful payout still results in an individual dispenser returning an error status.
The values returned the DISPENSER_BLOCK are as follows:
Status - this is usually the result of the last payout attempt - even if that was a "long" time ago. It also
can return PAY_US if the unit is no longer connected.
Count - increases in this value match the number of notes that have been delivered / taken.
CoinCount - decrements in this match the number of notes that have been delivered or stacked or
"gone missing".
Where Paylink is not actively running the payout process when a note is delivered, this can be
detected by an increment in Count (as above). This value is preserved over Paylink restarts / resets
so can be used by the application to spot this. In addition an event of
IMHEI_NOTE_DISPENSER_UPDATE is queued to the event system.
For note recyclers, notes no longer in the recycler unit can be detected by a decrement in the value
of CoinCount, again this value is preserved over Paylink restarts / resets - a decrement of this without
a corresponding increment in Count represents a note that has gone to the cashbox.
Auxiliary Items
Switch inputs
Paylink provides 16 “open collector” style inputs, each of which has a pull up resistor to 3V3 and can
discriminate between an open input, and one that has been grounded using a switch or transistor.
These are monitored and “debounced” on a millisecond timeframe, and two counts are made
available to the application for each switch, one of the number of close, and open of the number of
opens. Both counts are zero when the unit is reset - an application can monitor the count of closes by
looking at one or the other, and can determine the current state of the switch by testing if they are
equal.
Outputs
Paylink provides 16 “open collector” style output, each of which consists of a transistor which can be
operated under application control to connect an external load to ground. The Paylink board provides
an easily accessible source to enable LEDs to be easily connected to these outputs.
Meters
The final piece of equipment support by Paylink is external meters. Two sorts of meters are
supported:
o A Starpoint SEC meter is run from a dedicated connector which matches pin for pin the
connector on the back of the meter. Paylink provides facilities for reading updating and
controlling all 32 possible counters within the meter unit.
o A number of mechanical / pulse meters can be connected to Paylink’s standard outputs.
There are controlled by the same interface as the SEC meter. Provision is made for

Table of Contents

Related product manuals