SCH2 Technical Manual TSP016.doc Issue 3.0 – January 2005
Money Controls 2005. All rights reserved.
Page 55 of 61
Last payout : coins unpaid
The no. of coins which failed to be dispensed by the last command.
Hopper life dispense count
The total no. of coins dispensed since the product was manufactured.
Note that the life dispense count is
only updated
when the NV Memory is updated - i.e.
when power is removed or at reset. It does not hold a running count value like the ‘hopper
dispense count’.
Checksums and Black Box Recorders
Each counter is protected by a null checksum such that the 8-bit addition of all counter bytes
and the checksum byte is zero.
If the software detects a checksum fail then the corresponding checksum error flag is set (
refer to the ‘Test hopper’ command ) and the black box recorder byte is incremented. The
black box recorder bytes are used to monitor problems with the power-fail electronics.
Example - Clearing the Hopper dispense count
This can be achieved by reading block 2 and writing it back with the appropriate bytes
cleared to zero.
Complete message packets shown. Data values in decimal. Hopper is address 3.
Read Cycle
TX : [ 3 ] [ 1 ] [ 1 ] [ 215 ] [ 2 ] [ checksum ] - Read block 2
RX : [ 1 ] [ 8 ] [ 3 ] [ 0 ] [ count 1 ] [ count 2 ] [ count 3 ] [ count checksum ]
[ data 1 ] [ data 2 ] [ data 3 ] [ data 4 ] [ checksum ]
Write Cycle
TX : [ 3 ] [ 9 ] [ 1 ] [ 214 ] [ 2 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] - Write block 2
[ data 1 ] [ data 2 ] [ data 3 ] [ data 4 ] [ checksum ]
RX : [ 1 ] [ 0 ] [ 3 ] [ 0 ] [ 252 ] - ACK
Содержание SCH2
Страница 8: ......