
TSP073 SR5 ccTalk Protocol Manual V1.6 Jan 2005
Money Controls 2005. All rights reserved.
Page 5 of 14
SR5 has a new command called ‘Modify inhibit and override registers’ which allows
current and next coin values to be sent. This allows accurate coin-by-coin acceptance
and routing, overcoming the inherent latency in serial operation.
At power-up or reset, all coins are inhibited and all sorter overrides are removed.
Coins cannot be accepted until a non-zero inhibit mask is sent to the mech.
Credit polling
Coin credits are obtained by polling the coin acceptor at regular intervals using the
‘Read buffered credit or error codes’ command. Up to 5 credits or errors are stacked
in the return buffer.
The return data is 11 bytes in length.
[ event counter ]
[ result 1A ] [ result 1B ]
[ result 2A ] [ result 2B ]
[ result 3A ] [ result 3B ]
[ result 4A ] [ result 4B ]
[ result 5A ] [ result 5B ]
A & B are formatted as [ credit code ] [ sorter path ] or [ 0 ] [ error code ] depending
on the logged event. See Table 2 in the generic specification for a list of error codes.
Note that the event counter wraps from 255 to 1, not 0.
A suitable polling interval is anywhere between 100ms and 900ms. If other cctalk
peripherals are on the bus then these may have to be polled as well.
SR5 has a credit poll watchdog feature whereby if the mech is not polled for 1s or
longer then the device auto-inhibits and does not accept any more coins. When polling
resumes, the auto-inhibit is lifted. This feature prevents coin swallowing in the event
the host machine serial link goes down. Note that insertion of coins during a credit
poll auto-inhibit increments the insertion and reject counters but does not generate an
event in the event buffer ( cctalk header 229 ). Also, the individual and master inhibit
settings are not altered.
Sorter Operation
To ensure that the cctalk serial commands ‘Modify sorter paths’ and ‘Request sorter
paths’ operate as expected, the coin acceptor must be in EEPROM routing mode.
Please state this is the option you require when ordering product from the factory.
SR5 can operate without a sorter, or in 4-way and 8-way routing configurations.
This table shows how the different modes relate to each other.