Page 1
Issue 3.0 – January 2005 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.
Diary of Changes Issue 1.0 ............................... 25 July 2001 Issue 2.0 ............................. 28 September 2002 Information based on SCH2 Product Manual V1.8. Applied TMWP V3.0. Modification to disclaimer. Issue 2.1 ................................15 April 2003 Added note on [ rx bad checksums ] counter after sending an encrypted cctalk command to another peripheral.
Issue 3.0 – January 2005 Introduction The Serial Compact Hopper Mk2 or SCH2 is a serially controlled version of the popular Compact Hopper manufactured by Money Controls and an updated version of the original ‘Serial Compact Hopper’, now known as the ‘Mk1’ version. The serial interface is ccTalk, firmly established as a leading, low-speed, device control protocol in the money-transaction industry.
Hoppers can be configured to pay out coins in the diameter range 16.25 - 31.0mm, and within the thickness range 1.25-3.20mm. However, each coin needs to be qualified on an individual coin basis. For further information on qualification of coins, please contact Money Controls Technical Services Department. Coin Capacity The coin capacity of the hopper is between 200 and 1000 depending on their physical size.
Locate the lugs at the front of the bowl into the slots at the front of the base. Gently press down on the top of the bowl until the securing clips (on the base) click into the slots on the bowl. Money Controls 2005. All rights reserved. Page 9 of 61...
Please Note:- A version of Serial Compact Hopper 2 is available WITHOUT Encryption. Please refer to cctalk.org for further information. Money Controls 2005. All rights reserved. Page 10 of 61...
TSP016.doc Issue 3.0 – January 2005 Product Features SCH2 represents to date the most sophisticated serial coin hopper in the world. Responding to comments from the leading UK machine manufacturers, Money Controls has designed in an unprecedented level of security.
Page 12
Diagnostic and error reporting. Full access to diagnostic and error codes are made available over serial. Code protection. The software is protected with an internal, independent, watchdog circuit. A ‘crash’ in the software will result in a clean reset of code. Money Controls 2005. All rights reserved. Page 12 of 61...
There can be a ‘power-in’ and a ‘power-out’ pin, and the hoppers daisy-chained.. Note: The hopper can only operate at 9600 baud. Money Controls 2005. All rights reserved. Page 14 of 61...
Note : Addresses may be changed in software to values other than those in the above table. Refer to the ‘Address change’ and ‘Address random’ serial commands. These values are lost at power-down or reset. Money Controls 2005. All rights reserved. Page 16 of 61...
The level plates themselves should be connected through the corresponding plate pin ( pin 1 for high level, pin 3 for low level ) and the plate common ( pin 5 ). Money Controls 2005. All rights reserved. Page 17 of 61...
A 64-bit encryption mechanism is used to ensure that an illegal attempt to dispense coins from SCH2 is a hugely difficult task. The key to this mechanism is a secret algorithm, not published in this document, which may be obtained from Money Controls after suitable approval procedures have been gone through.
Page 19
Money Controls is realistic enough to appreciate that eventually the CMF may fall into the wrong hands whether though huge computing resource or through leaked documentation. We have embedded into our system an undocumented mechanism for changing the CMF in response to future industry needs without any change to hardware.
Issue 3.0 – January 2005 11.1 PIN Number Mechanism A PIN number is provided on SCH2 as an optional security feature. By default, units are shipped without the PIN number mechanism enabled. If this feature is not required or its use is too restrictive then it can simply be ignored.
Page 21
As soon as a PIN number is programmed, the ‘Dispense hopper coins’ command will fail until this PIN number is re-entered with the command below. Likewise, after powering up SCH2 with the PIN number mechanism enabled, it must be entered prior to paying out coins.
Issue 3.0 – January 2005 12. Power Fail Recovery SCH2 contains a non-volatile memory ( EEPROM ) for the storage of coin counters. Therefore if power is removed in the middle of a payout sequence then the situation can be recovered and the residual coins paid out after power is restored.
If power is suddenly lost with the motor running then the hopper will stop the motor immediately and update the NV Memory while it has power to do so. SCH2 does not have a ‘battery back-up’ but uses a capacitor reservoir.
Page 24
‘Request hopper status’ before power is lost. This gives the best possible accuracy. The host machine needs at least 100ms of notice before the power supply dips below Vtrip (see Appendix B). Money Controls 2005. All rights reserved. Page 24 of 61...
[ last payout : coins unpaid ] = ZERO or last value if power lost during payout Request comms status variables [ rx timeouts ] = ZERO [ rx bytes ignored ] = ZERO [ rx bad checksums ] = ZERO Continued… Money Controls 2005. All rights reserved. Page 25 of 61...
[ last payout : coins unpaid ] = last value Request comms status variables [ rx timeouts ] = ZERO [ rx bytes ignored ] = ZERO [ rx bad checksums ] = ZERO Money Controls 2005. All rights reserved. Page 26 of 61...
[ last payout : coins paid ] [ last payout : coins unpaid ] [ checksum ] This command should be repeated until [ payout coins remaining ] = 0. Another cipher key can then be requested and more coins dispensed. Money Controls 2005. All rights reserved. Page 27 of 61...
TSP016.doc Issue 3.0 – January 2005 15. Full Initialisation & Payout Sequence This is an example of a full initialisation and payout sequence on SCH2… Notation : cctalk command’s are shown highlighted. Optional… Address Resolution If { network indeterminate } then...
Page 29
Request cipher key ready for encryption algorithm Dispense hopper coins pay out one or more coins If { Dispense NAK } then Something went wrong - find out why ? Continued… Money Controls 2005. All rights reserved. Page 29 of 61...
Page 30
Request payout high / low status is the hopper nearly empty ? Early Notification of Power Fail Emergency stop Request hopper status store unpaid coins for next power-up initialisation Wait for power to disappear Money Controls 2005. All rights reserved. Page 30 of 61...
The address is randomly set to a value between 3 and 255. The broadcast address 0, the default bus master address 1, and the default coin acceptor address 2, are automatically avoided for your convenience. The new value is lost at power-down or reset. Money Controls 2005. All rights reserved. Page 32 of 61...
Page 33
) and any additional information tagged to the end. If a feature is not supported, the relevant byte will return zero. Header 246: Request manufacturer id Transmitted data : <none> Received data : “Money Controls” Money Controls 2005. All rights reserved. Page 33 of 61...
Page 34
Header 244: Request product code Transmitted data : <none> Received data : “SCH2” SCH2 = Serial Compact Hopper Mk2. Header 242: Request serial number Transmitted data : <none> Received data : [ serial 1 - LSB ] [ serial 2 ] [ serial 3 - MSB ] This is a 24-bit binary serial number.
Page 35
ACK even though the PIN number remains unchanged. The ‘Test hopper’ command can be used to see if a PIN number has been programmed - refer to bit 7 of ‘hopper status register 2’. Money Controls 2005. All rights reserved. Page 35 of 61...
Page 36
(it can only be one or the other) and bits 0 & 1 are both left clear. The level sensor inputs are debounced with a time Tlevdeb in Appendix B to remove the effects of shifting coins. Money Controls 2005. All rights reserved. Page 36 of 61...
Page 37
‘Lev HiLo’ for high and low level sensor fitted ‘Lev Hi ’ for high level sensor only fitted ‘Lev Lo’ for low level sensor only fitted ‘Standard’ for standard model, no extras ( as per SCH1 ) Money Controls 2005. All rights reserved. Page 37 of 61...
Page 38
/ bed assembly rather than any software-controlled parameters. The machine manufacturers will be at liberty to program in their own coin labels using the ‘Write data block’ command. Money Controls 2005. All rights reserved. Page 38 of 61...
Page 39
The counter returned is the ‘reset-able’ one, not the life counter which is made available via the ‘Read data block’ command. See the memory map description in Appendix D for more details and the mechanism for clearing the counter. Money Controls 2005. All rights reserved. Page 39 of 61...
Page 40
) then a ccTalk NAK message is returned. The event counter is still incremented and the next encryption key generated by the hopper. The reason for a dispense fail is deliberately not returned for security reasons. Money Controls 2005. All rights reserved. Page 40 of 61...
Page 41
The reason for the heavy retry mechanism is the electrical noise generated by the motor. If suitable measures are taken in software then the serial communication link should be 100% reliable and this has been confirmed by tests at Money Controls. Money Controls 2005. All rights reserved.
Page 42
A ‘Reset device’ command or a power-down cycle will cause the hopper to be disabled by default. This command is retained for compatibility with SCH1 rather than its negligible effect on security. Money Controls 2005. All rights reserved. Page 42 of 61...
Page 43
‘Opto fraud attempt, short-circuit during payout’ occurs if light is shone at the hopper exit optos during a dispense operation. Refer to Appendix D for details of the checksum types. Money Controls 2005. All rights reserved. Page 43 of 61...
[ cctalk level ] [ major revision ] [ minor revision ] [ cctalk level ] [ major revision ] [ minor revision ] In other words, the first issue level of ccTalk specification 3.2 Money Controls 2005. All rights reserved. Page 44 of 61...
Page 45
Number of receive bytes ignored by the processor ( due to receive buffer overflow ). SCH2 has a receive buffer length of 15 bytes for the data part of the packet - the header and checksum are stored elsewhere. Packets with more than 15 bytes of data increase the ignored counter by the total number of data bytes.
If communication errors still occur, consider changing the topology of the multi-drop bus network. A star network will distribute power more evenly than a ring, tree or daisy-chain network. Money Controls 2005. All rights reserved. Page 46 of 61...
- this is a key feature of ccTalk. Note that the [ rx bad checksums ] byte returned by the ‘Request comms status variables’ command is useful for monitoring noise. Money Controls 2005. All rights reserved. Page 47 of 61...
8 to 10 coins per second 20.1 Coin Payout: Table 6: Coin Payout Rate Mode Rate Multi coin payout 8 - 10 coins per second approx. Single coin payout 2 coins per second approx. Money Controls 2005. All rights reserved. Page 48 of 61...
20.3 Environmental: Table 7: Environmental Ranges Operating Temperature 0 to 60 Storage Temperature -20 to 70 Operating Humidity 10 to 75% RH Storage Humidity 10 to 95% RH non condensing Money Controls 2005. All rights reserved. Page 49 of 61...
50 is specified, the value is clamped at 50. 23.3 Software Reset A software reset will force the motor parameters to return to their default values, regardless of their current state. Money Controls 2005. All rights reserved. Page 51 of 61...
When paying out coins, the sampling period changes to between 64 and 127 milliseconds. 24.3 Hopper Initialisation No serial communication is possible during the ‘TPinit’, ‘TRinit’ and ‘TSinit’ time. Money Controls 2005. All rights reserved. Page 52 of 61...
Issue 3.0 – January 2005 25. Appendix C 25.1 ccTalk Interface Circuit This is the ccTalk electronic interface circuit on SCH2. There are many options for the host interface circuit but we recommend an open-collector drive. Figure 5: ccTalk Interface Circuit: Money Controls 2005.
The value in EEPROM is not updated until power-down or reset. Last payout : coins paid The no. of coins dispensed by the last command. Continued… Money Controls 2005. All rights reserved. Page 54 of 61...
Page 55
[ data 1 ] [ data 2 ] [ data 3 ] [ data 4 ] [ checksum ] RX : [ 1 ] [ 0 ] [ 3 ] [ 0 ] [ 252 ] - ACK Money Controls 2005. All rights reserved. Page 55 of 61...
Header 002 : Request data storage availability comms status variables Header 215 Header 001 Read data block Reset device Note α : The data packets have been modified on these commands Money Controls 2005. All rights reserved. Page 56 of 61...
Hopper status = 03 03 02 00 Hopper status = 03 01 01 03 Partial result - ignore Hopper status = 03 00 02 03 Paid 2 coins, 3 remaining Money Controls 2005. All rights reserved. Page 57 of 61...
Page 58
Display [ coins requested ] - [ payout coins remaining ] Compare [ last payout : coins paid ] with last value and only display if greater Money Controls 2005. All rights reserved. Page 58 of 61...
SCH2 Technical Manual TSP016.doc Issue 3.0 – January 2005 30. Appendix H 30.1 Baseplate Dimensions Figure 6: Baseplate Dimensions Money Controls 2005. All rights reserved. Page 60 of 61...
Page 61
This manual is intended only to assist the reader in the use of this product and therefore Money Controls shall not be liable for any loss or damage whatsoever arising form the use of any information or particulars in, or any incorrect use of the product.
Need help?
Do you have a question about the SCH2 and is the answer not in the manual?
Questions and answers