Money Controls PayLink User manual

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
This document is the copyright of Money Controls Ltd and may not be reproduced in part or in total by any means,
electronic or otherwise, without the written permission of Money Controls Ltd. Money Controls Ltd does not accept
liability for any errors or omissions contained within this document. Money Controls Ltd shall not incur any
penalties arising out of the adherence to, interpretation of, or reliance on, this standard. Money Controls Ltd will
provide full support for this product when used as described within this document. Use in applications not covered
or outside the scope of this document may not be supported. Money Controls Ltd. reserves the right to amend,
improve or change the product referred to within this document or the document itself at any time.
Money Controls 2009. All rights reserved.
PayLink
Technical Manual

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 2 of 105
Contents
1. Diary of Changes........................................................................................................................................... 8
2. Overview......................................................................................................................................................... 9
2.1 Introduction.............................................................................................................................................. 9
2.2 Contents................................................................................................................................................ 11
3. Specification................................................................................................................................................ 13
3.1 PayLink Functional block diagram......................................................................................................... 13
3.2 PayLink Lite Functional block diagram .................................................................................................. 14
3.3 Connector Overview.............................................................................................................................. 15
3.4 Mechanical Dimensions......................................................................................................................... 17
3.5 Electrical Specification........................................................................................................................... 19
4. Installation.................................................................................................................................................... 20
4.1 Hardware installation............................................................................................................................. 20
4.2 Software Installation .............................................................................................................................. 24
5. Interface........................................................................................................................................................ 26
5.1 Power interface...................................................................................................................................... 26
5.2 ccTalk interface ..................................................................................................................................... 26
5.3 ID003/Ardac 2 interface......................................................................................................................... 28
5.4 PayLink Auxiliary input/output interface................................................................................................. 29
5.5 PayLink Lite input interface.................................................................................................................... 30
5.6 Serial printer interface............................................................................................................................ 31
5.7 Serial meter interface............................................................................................................................. 31
5.8 MDB Device interface............................................................................................................................ 32
5.9 Connector details................................................................................................................................... 32
6. Peripheral Features/Support ...................................................................................................................... 33
6.1 SR3/Condor Plus/SR5/SR5i.................................................................................................................. 33
6.2 Lumina................................................................................................................................................... 33
6.3 ccTalk hoppers ...................................................................................................................................... 34
6.4 Ardac 5.................................................................................................................................................. 35
6.5 Serial ticket printer................................................................................................................................. 35
6.6 MDB Device........................................................................................................................................... 35
6.7 Inputs..................................................................................................................................................... 35
6.8 Outputs.................................................................................................................................................. 35
6.9 Serial meter........................................................................................................................................... 35
7. Using PayLink.............................................................................................................................................. 36
7.1 AESWDriver.exe.................................................................................................................................... 36
7.2 MilanDiag.exe........................................................................................................................................ 37
7.3 Demo.exe.............................................................................................................................................. 40
7.4 Upgrading PayLink firmware.................................................................................................................. 42
8. User Manual Revision History.................................................................................................................... 44
9. Introduction.................................................................................................................................................. 45
9.1 Purpose of Document............................................................................................................................ 45
9.2 Intended Audience................................................................................................................................. 45
9.3 Document Layout .................................................................................................................................. 45
10. Getting Started......................................................................................................................................... 47
10.1 Installation ............................................................................................................................................. 47
10.2 Operation............................................................................................................................................... 48
10.3 OpenMHE.............................................................................................................................................. 49
10.31,1 Synopsis .........................................................................................................................................................49
10.31,2 Parameters .....................................................................................................................................................49
10.31,3 Return Value...................................................................................................................................................49
10.31,4 Remarks..........................................................................................................................................................49
10.4 OpenSpecificMHE ................................................................................................................................. 50
10.41,1 Synopsis .........................................................................................................................................................50
10.41,2 Parameters .....................................................................................................................................................50
10.41,3 Return Value...................................................................................................................................................50
10.41,4 Remarks..........................................................................................................................................................50
10.5 EnableInterface ..................................................................................................................................... 51
10.51,1 Synopsis .........................................................................................................................................................51
10.51,2 Parameters .....................................................................................................................................................51
10.51,3 Return Value...................................................................................................................................................51
10.51,4 Remarks..........................................................................................................................................................51
10.6 DisableInterface..................................................................................................................................... 51
10.61,1 Synopsis .........................................................................................................................................................51

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 7 of 105
16.101,4 Remarks...................................................................................................................................................103
17. Engineering Support..............................................................................................................................104
17.1 WriteInterfaceBlock...............................................................................................................................104
17.11,1 Synopsis .......................................................................................................................................................104
17.11,2 Parameters ...................................................................................................................................................104
17.11,3 Return Value.................................................................................................................................................104
17.11,4 Remarks........................................................................................................................................................104
17.2 ReadInterfaceBlock. .............................................................................................................................105
17.21,1 Synopsis .......................................................................................................................................................105
17.21,2 Parameters ...................................................................................................................................................105
17.21,3 Return Values...............................................................................................................................................105
17.21,4 Remarks........................................................................................................................................................105
Figures
Figure 1: Functional block diagram........................................................................................................................ 13
Figure 2: Functional block diagram........................................................................................................................ 14
Figure 3: PayLink Connector overview with examples .......................................................................................... 15
Figure 4: PayLink Lite Connector overview with examples.................................................................................... 16
Figure 5: PayLink mechanical dimensions ............................................................................................................ 17
Figure 6: PayLink Lite mechanical dimensions...................................................................................................... 18
Figure 7: PayLink power interface......................................................................................................................... 26
Figure 8: PayLink ccTalk interface......................................................................................................................... 26
Figure 9: Lumina / SR5 ccTalk interface................................................................................................................ 27
Figure 10: SR3/Condor Plus ccTalk interface........................................................................................................ 27
Figure 11: SCH2 ccTalk interface.......................................................................................................................... 27
Figure 12: SUH ccTalk interface............................................................................................................................ 28
Figure 13: PayLink - ID003/Ardac 2 interface........................................................................................................ 28
Figure 14: Ardac 5 - ID003/Ardac 2 interface ........................................................................................................ 28
Figure 15: Connector 4 – High power outputs....................................................................................................... 29
Figure 16: Connector 6 – Low power outputs........................................................................................................ 29
Figure 17: Connector 10 – Switches / Inputs......................................................................................................... 29
Figure 18: Connector 12 – Switches / Inputs......................................................................................................... 29
Figure 19: PayLink Lite Switch Inputs.................................................................................................................... 30
Figure 20: PayLink – RS232 Serial Printer Interface............................................................................................. 31
Figure 21: PayLink serial meter interface .............................................................................................................. 31
Figure 22: MDB Slave interface............................................................................................................................. 32
Tables
Table 1: Electrical Specification (PayLink)............................................................................................................. 19
Table 2: Electrical Specification (PayLink Lite)...................................................................................................... 19
Table 3: Status LED table...................................................................................................................................... 20
Table 4: I/O Interface............................................................................................................................................. 30
Table 5: Hopper address Wiring & Coin Values .................................................................................................... 34

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 8 of 105
1. Diary of Changes
Issue 1.0…………………………………………………………………………………...…August 2005
!1
st Issue
Issue 1.1………………………………………………………………………………….November 2005
!Changed the value for cctalk hopper address 10, from 500 to 1
!Corrected a mistake with the pinout for RS232 printer interface
!Change ‘red and black’ to ‘orange and black’ for 24V
!Included information on hotswapping
!Above mentioned changes in line with firmware release 4.1.9.6
Issue 1.2…………………………………………………………………………………..December 2005
!Corrected a mistake with the cctalk connector pinout information.
Issue 1.3…………………………………………………………………………………….……May 2006
!Added hopper level sense support
!Added MDB changer support
!Added hopper power fail support
!Corrected mistakes in Figure 14 and Figure 15
!Added SCH3 Combi Support
!Removed all connector details – referecne now to release drawings.
!Added driver and dll revisions.
!Added additional functions available in AESWDriver and Firmware updater.
!Above mentioned changes in line with firmware release 4-1-10-4
Issue 1.4…………………………………………………………………………………..November 2006
!Changes to reflect 4-1-10-6 release of software
!Updated the hopper Address vs Value table
Issue 1.5………………………………………………………………………………………August 2008
!Changes to reflect 4-1-10-9 release of software
!Added PayLink Lite reference
Issue 1.6………………………………………………………………………………………April 2009
!Changes to reflect 4-1-10-11 release of software

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 9 of 105
2. Overview
2.1 Introduction
PayLink is a simple, compact system that offers trouble free interfacing between a PC and
money handling Equipment. PayLink allows the rapid integration of a variety of payment
peripherals into new machine platforms, without the need for bespoke software.
Designed for use in a wide range of applications
!Gaming
!Amusement
!Transportation
!Vending
Interfaces/protocols supported
!ccTalk
!ID003
!MDB (Master & Slave)
!Ardac 2
!RS232 serial
Products supported
!SR3
!Condor Plus / Condor Premier
!SR5
!SR5i
!Ardac Elite
!Lumina/MC7200
!Serial Compact Hopper MK2 (SCH2)
!SCH3 Combi
!Serial Universal Hopper (SUH)
!Ardac 5
!Serial ticket printer (GEN2)
!MDB Changer (Coin Co - Vortex/Quantum Pro/Guardian)
I/O supported
!16 Outputs (8 High Power – 8 Low Power)
!16 Inputs
!Serial electronic meter

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 10 of 105
PayLink Lite, allows the connection of a range of payment peripherals (but with fewer
hoppers than PayLink) driven using the ccTalk industry-standard protocol.
Designed for use in a wide range of applications
!Gaming
!Amusement
!Transportation
!Vending
Interfaces/protocols supported
!ccTalk
Products supported
!SR3
!Condor Plus / Condor Premier
!SR5
!SR5i
!Ardac Elite
!Lumina/MC7200
!Serial Compact Hopper MK2 (SCH2)
!SCH3 Combi
!Serial Universal Hopper (SUH)
I/O supported
!2 Inputs

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 11 of 105
2.2 Contents
PayLink or PayLink Lite does not come with any cables or software. In order to obtain the
software CD (drivers, API) please contact your local Money Controls Technical Services
Dept.
The verison of software currently available and released is as follows.
PayLink Firmware 4.1.10.11
AESWDriver.exe 1.1.3.4
Aesimhei.dll 1.4.0.2
FTD2XX.dll 3.1.8.1
Demo.exe 1.1.0.5
MilanDiag.exe 1.0.3.7
To obtain a copy of these drivers please contact
Technical Services link: http://www.moneycontrols.com/
PayLink part number: APCUSBXX00007
PayLink Lite part number: APCUSBXX00003
However, Money Controls can provide a development kit, which consists of example cables
and a software CD, but this is only available as a 1 off order. Please contact your local
Customer Services Dept to place an order.
Customer Services link: http://www.moneycontrols.com/support/customer_support.asp
PayLink development kit part number: APCUSBXX00002
Money Controls recommend purchasing a development kit, in order to aid the integration
process in the host machine.
The contents of the PayLink Development Kit are as follows:
!PayLink
!1 X cctalk multidrop cable
!2 X SR5/Lumina cable
!1 x Ardac Elite ccTalk Cable
!1 X SR3/Condor Plus cable
!1 X SCH2 cable – set to address 4
!1 X SUH cable – set to address 3
!1 X Serial ticket printer cable
!1 X Serial meter cable
!1 X Paylink power cable
!4 X 20-way headers – for use with inputs/outputs
!1 X USB Type A – Type B cable
!1 X Ardac 5 Power cable
!1 X RJ45-RS232 adapter
!1 X RJ45 cable
!1 X MDB cable

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 12 of 105
PayLink Lite development kit part number: APCUSBXX00004
Money Controls recommend purchasing a development kit, in order to aid the integration
process in the host machine.
The contents of the PayLink Lite Development Kit are as follows:
!PayLink Lite
!1 X cctalk multidrop cable
!2 X SR5/Lumina cable
!1 x Ardac Elite ccTalk Cable
!1 X SR3/Condor Plus cable
!1 X SCH2 cable – set to address 4
!1 X SUH cable – set to address 3
!1 X Paylink power cable
!1 X USB Type A – Type B cable
!1 X 2 way Switch Input loom

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 13 of 105
3. Specification
3.1 PayLink Functional block diagram
Figure 1: Functional block diagram
Note Acceptor
Coin Acceptor
Hopper
PayLink
PC
U
S
B
ccTalk ID003 MDB RS232
Note Acceptor
(Barcode)
Changer
Note
Acceptor
Serial ticket
Printer
Serial Mete
r
16
Inputs
16
Out
p
ut Status
LED’s
Switches
&
Buttons
LEDs
&
Lamps
Diagnostics
&
System Info

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 14 of 105
3.2 PayLink Lite Functional block diagram
Figure 2: Functional block diagram
Note Acceptor
Coin Acceptor
Hopper
PayLink Lite
PC
U
S
B
ccTalk
2 Inputs Status
LED’s
Switches
&
Buttons
Diagnostics
&
System Info

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 15 of 105
3.3 Connector Overview
Below is an overview of each connector on PayLink.
Figure 3: PayLink Connector overview with examples
MDB Device Serial meter
Switches
(Door/float)
RS232
(Ardac5 Download/
Ticket printer)
High power
Outputs
(Lamps)
+12V DC
(Power in)
Switches
(Door/float) Low power
Outputs
(LEDs)
RS232 (RJ45 connector type)
- (Ardac 5 note acceptor) ccTalk
(ccTalk peripherals) USB Type B connector
(Connects to the USB Type A
connector on the PC)

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 16 of 105
Figure 4: PayLink Lite Connector overview with examples
2 Switches
+12V DC
(Power in)
ccTalk
(ccTalk peripherals)
USB Type B connector
(Connects to the USB Type A
connector on the PC)
Not Used

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 17 of 105
3.4 Mechanical Dimensions
Figure 5: PayLink mechanical dimensions
142.0
162.0
126.0
146.0
= =
= =
129.5
109.5
4FIXINGHOLE
S
\U
+22054.00
114.5
25.5

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 18 of 105
Figure 6: PayLink Lite mechanical dimensions

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 19 of 105
3.5 Electrical Specification
Table 1: Electrical Specification (PayLink)
Environmental
Operating temperature range 0°C to 55°C
Storage temperature range -20°C to 70°C
Humidity range Up to 75% RH non-condensing
Electrical - General
Voltage range USB Powered
Outputs (fuse protected) +12Vdc 2.5A continuous, 5A peak for 200ms
Outputs (fuse protected) +24Vdc 2.5A continuous, 5A peak for 200ms
Electrical – I/O Ports
16 inputs Switch inputs 3V3 CMOS thresholds with 3V3 pull-ups, 5mA max.
8 high power outputs Open drain up to 300mA, max output 36V. (Inductive or resistive)
8 low power outputs Open drain up to 30mA, max output 12V (resistive only)
Communications Interface USB Type B interface, V1.1 and above
Protocols support ccTalk, Ardac 2, ID003, MDB, RS232
Table 2: Electrical Specification (PayLink Lite)
Environmental
Operating temperature range 0°C to 55°C
Storage temperature range -20°C to 70°C
Humidity range Up to 75% RH non-condensing
Electrical - General
Voltage range USB Powered
Outputs (fuse protected) +12Vdc 2.5A continuous, 5A peak for 200ms
Outputs (fuse protected) +24Vdc 2.5A continuous, 5A peak for 200ms
Electrical – I/O Ports
2 inputs Switch inputs 3V3 CMOS thresholds with 3V3 pull-ups, 5mA max.
Communications Interface USB Type B interface, V1.1 and above
Protocols support ccTalk

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 20 of 105
4. Installation
4.1 Hardware installation
PayLink connects to the PC via the USB Type A – Type B cable, during the installation
process; the LED indicates the current status of PayLink.
Table 3: Status LED table
RED on USB not connected (electrical)
RED off PC driver is active
RED flashing No contact with PC driver program
GREEN off USB not working
GREEN flashing Application not running
GREEN on Application running & Peripherals
Enabled
Connect the ccTalk multi drop cable to PayLink
Connect the SR5 cable to the ccTalk multidrop cable and SR5.
Connect the SR3/Condor Plus cable to the ccTalk multidrop cable and SR3/Condor Plus.
Please note: Only one ccTalk
coin/note acceptor is
supported.

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 21 of 105
Connect the SCH2 cable to the ccTalk multidrop cable and SCH2.
Connect the SUH cable to the ccTalk multidrop cable and SUH.
Connect the Lumina cable to the ccTalk multidrop cable and Lumina.
Connect the ccTalk multidrop cable (orange and black) to a +24V dc power supply

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 22 of 105
Connect the RJ45 cable to the PayLink and Ardac 5 (via the RJ45-RS232 adapter).
Connect the Ardac 5 power cable to the Ardac 5 and to the multi drop cable.
Connect the Serial ticket printer cable to PayLink and Serial ticket printer.
Connect the Serial meter cable to PayLink and Serial Meter.

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 23 of 105
Connect the 4 X 20-way headers to the I/O connectors. Note: Each 20 way header has a
different ‘key way’ to correspond with the missing pin on the 20-way connectors. The ends of
the cables are left open to use as desired.
Connect PayLink to the 2-pin power cable and to a +12V dc power supply. The status LED
will show RED ON.
Connect the USB cable to PayLink and to the PC.
Windows will indicate that a new USB device has been detected and will prompt for the
drivers. The following screen will be shown (this begins the software installation).

PayLink Technical Manual TSP129 Issue 1.6 – April 2009
Money Controls 2009. All rights reserved.
Page 24 of 105
4.2 Software Installation
Note: These instructions are for Windows XP only. Please contact Money Controls for
information on installing the software under different operating systems.
Choose Install from a
specific location, then click
Next
Choose Search for the best
driver in these locations
then click Next
If this screen appears, click
Continue Anyway
Table of contents