background image

6.2.4

 

Data

 

There is no limitation in use of data formats. Data could be BCD (

B

inary 

C

oded 

D

ecimal

)numbers, Hexa numbers or 

ASCLL strings. Intrepretation as well as format is specific to each header use, and will be explained in separate chapter.

 

 

6.4.5 Checksum

 

Message integrity during transfer is checked by use of simple zero checksum calculation.

 

Simple checksum is made by 8 bit addition (modulus 256) of all the bytes in the message. If message is received and 
the addition of all bytes are non-zero then an error has occurred (See Error handling).

 

For noisy environment or higher security application it is possible to use more complex, 16 bit CRC CCITT checksum 
based on a polynomial of:

 

x16 + x12 + x5 + 1 

and initial value of CRC register 

0x0000

.

 

Hopper are using simple checksum, but they could be set to operate with CRC-16 checksum on customer demand.

 

6.5

 

Timing specification

 

The timing requirements of cctalk are not very critical but there are some recommendations (i.e. more than 100 mili sec 
for solenoid testing).

 

6.5.1

 

Time between two bytes

 

When receiving bytes within a message packet, the communication software must wait up to 

50 ms 

for next byte if it is 

expected. If time out occurs, the software should reset all communication variables and get ready to receive next 
message. The inter-byte delay during transmission should be ideally 

less than 2 ms 

and 

not greater than 10 ms

.

 

6.5.2

 

Time between command and replay

 

The time between command and reply is dependent on application specific for each command. Some 
commands return data immediately, and maximum time delay should be within 

10 ms

. Other commands 

that must activate some actions in device may return reply after the action is finished

 

6.5.3

 

Start-up time

 

After the power-up sequence Hopper should be ready to accept and answer to a cctalk message 
within time period of less than 250 ms. During that period all internal check-up and system settings 
must be done, and Hopper should be able works fine.

 

6.4

 

Error handling

 

If slave device receive the message with bad checksum or missing data no further action is taken and receive buffer will 
be cleared. Host software should decide to re-transmit message immediately or after a fixed amount of time. In case 
when host receive message with error it has same options.

 

6.5

 

Command headers

 

Command header set, that host could use in communication with coin selectors AL55 and AL66 is given in the table 6.2.

 

254

 

FE

 

Simple poll

 

228

 

E4

 

Modify master inhibit status

 

253

 

FD

 

Address poll (broadcast)

 

227

 

E3

 

Request master inhibit status

 

252

 

FC

 

Address clash (no broadcast)

 

226

 

E2

 

Request insertion counter

 

252

 

FC

 

Address clash (broadcast)

 

225

 

E1

 

Request acceptance counter

 

251

 

FB

 

Address change (not supported in coin acceptors)

 

210

 

D2

 

Modify sorter paths

 

249

 

F9

 

Request polling priority

 

209

 

D1

 

Request sorter paths

 

248

 

F8

 

Request status

 

197

 

C5

 

Calculate ROM checksum

 

246

 

F6

 

Request manufacturer id

 

196

 

C4

 

Request creation date

 

245

 

F5

 

Request equipment category id

 

195

 

C3

 

Request last modification date

 

244

 

F4

 

Request product code

 

194

 

C2

 

Request reject counter

 

242

 

F2

 

Request serial number

 

193

 

C1

 

Request fraud counter

 

241

 

F1

 

Request software revision

 

192

 

C0

 

Request build code

 

240

 

F0

 

Test solenoids

 

188

 

BC

 

Request default sorter path

 

237

 

ED

 

Read input lines

 

184

 

B8

 

Request coin id

 

236

 

EC

 

Read opto states

 

170

 

AA

 

Request base year

 

232

 

E8

 

Perform self test

 

4

 

04

 

Request comms revision

 

231

 

E7

 

Modify inhibit status

 

3

 

03

 

Clear comms status variables

 

230

 

E6

 

Request inhibit status

 

2

 

02

 

Request comms status variables

 

229

 

E5

 

Read buffered credit or error codes

 

1

 

01

 

Reset device

 

Table 6.2 cctalk instruction header list

 

Содержание AL66 FG ARM Pulse

Страница 1: ...AL66 FG ARM Pulse mod ccTalk COIN ACCEPTOR Operator s Manual Rev 2 01 User Manual...

Страница 2: ......

Страница 3: ...cTalk Communication Protocol 12 7 Driving SPI peripheral devices 28 8 Maintenance 31 9 Disposal of the product 32 10 Warranty 32 11 Customer Service 32 STORICO REVISIONI Revisione n Data Modifica Note...

Страница 4: ...ici S p A declines any and all responsibility towards the User with reference to damages losses or claims of third parties resulting from the use of the product or caused by incorrect interpretations...

Страница 5: ...tion 32 bit ARM microprocessor with 128 KB flash memory automotive model whose performance is stable even in difficult environmental conditions Thanks to its 6 sensors 2 pairs of optical sensors and i...

Страница 6: ...50 V 55 kfi Coin acceptance Coin channels number 16 Coin diametre min 16 mm Coin diametre max 32 mm Coin thickness 1 to 3 4 mm Speed 3 coins sec V 4 coins sec S K I Communication modes Pulse Modifiabl...

Страница 7: ...is not responsible for any malfunctioning due to lack of compliance with such recommendations Various models of front entries are available to whose bracket the coin mechanism gets firmly hooked The K...

Страница 8: ...on protocol The 5 casing is available also with built in sorter and or with electronic rejecting device for remote installation of the coin acceptor The V type or video coin acceptor must be housed in...

Страница 9: ...s 2 and 4 in socket X3 This socket will be enabled only after installation of the USB drivers on the Host See USB installation notice below USB pre activation must be requested at the time of order Pl...

Страница 10: ...Power off the coin acceptor and set the dip switches according to the desired operation THIS IS DONE THROUGH THE K P1C 000009 PROGRAMMING KIT AND THE Programming sw 66 v 2 Alberici Coin Selector SOFT...

Страница 11: ...alk 03 activates Dir 3 OUT 6 Dir 4 cctalk 06 activates Dir 4 OUT 4 OUT 5 Dir 5 cctalk 07 activates Dir 5 OUT 4 OUT 6 PULSE SORTERS CCTALK SORTERS SORTING COMMANDS SOCKETS AVAILABLE ON THE SORTERS iSP4...

Страница 12: ...rate NRZ Non Return to Zero asyncronous communication with Baud rate 9600 1 start bit 8 data bits no parity 1 stop bit RS232 handshaking signals RTS CTS DTR DCD DSR are not suported Message integrity...

Страница 13: ...MDCES commands Address change or Address random or by setting Hopper dip switches For details see cctalk42 2 pdf Address poll 6 2 2 Number of data byte Number of data byte in each transfer could be f...

Страница 14: ...rt up time After the power up sequence Hopper should be ready to accept and answer to a cctalk message within time period of less than 250 ms During that period all internal check up and system settin...

Страница 15: ...ctor and a1 to an are ASCII characters For Alberici coin selector example of message string is Host sends 02 00 01 F6 07 Coin s responds 01 08 02 00 41 6C 62 65 72 69 63 69 DA 6 5 1 3 Command 245 hexF...

Страница 16: ...jor software changes second is for minor software changes and third for bug correction In this case it is u1 0 0 6 5 1 7 Command 197 hexC5 Calculate ROM checksum Coin selector responds with four bytes...

Страница 17: ...0 01 01 FC Coin s responds 01 00 02 00 FD ACK message Host software must wait at least 100 ms to continue comunication with coin selector after reset instruction 6 5 2 Coin acceptor specific command h...

Страница 18: ...00 01 F3 0A Coin s responds 01 01 02 00 00 FC 6 5 2 4 Command 240 hexF0 Test solenoids Host sends one byte mask to determinate which solenoid must be tested Coin selector accept gate solenoid or sorte...

Страница 19: ...resenting the state of opto pairs ALBERICI coin selectors has up to 3 pairs of optical sensor notice in some case group could contain more than one opto pairs for detection of coin position speed and...

Страница 20: ...ted is Host sends 02 00 01 E8 15 Coin s responds 01 02 02 00 02 02 F7 Fault on first lower sensor detected 6 5 2 10 Command 231 hexE7 Modify inhibit status With this command host is able to inhibit th...

Страница 21: ...hibited coin position 1 Yes Inhibited coin position n Yes 143 8F Inhibited coin position 16 Yes 255 FF Unspecified alarm code Table 6 4 Acceptance error codes Coin selectors also use one eight bit cou...

Страница 22: ...nsertion counter Coin selector responds with three bytes of insertion counter data First byte is LS byte of three byte counter in RAM Insertion counter is set to zero after power up or reset command I...

Страница 23: ...LSB MSB Chk Example of message string for coin selector address 2 with date of production 05 07 2003 is Host sends 02 00 01 C4 39 Coin s responds 01 02 02 00 E5 06 10 ALBERICI coin selectors has date...

Страница 24: ...01 06 02 00 45 55 32 30 30 41 8A Coin EU200A For none programmed position the ASCII stringis Example of message string for coin selector address 2 and coin position 12 that is not programmed is Host...

Страница 25: ...delay that is proportional to address value multiplied with 4 milliseconds Message format is Host sends 00 00 01 FD Chk Brodcast message Coin s responds Dly Address Example of message string for coin...

Страница 26: ...e a User general data address hex 07A0 do 07E9 74 byte a Statistic setting address hex 07EA do 07FD 20 byte a Statistic counters address hex 0800 do 083F 64 byte a Factory key or user PIN protection a...

Страница 27: ...ction is used by our coin selector programming software and generally is not useful to most users Additional information are available on request Up grade files are encrypted in factory and decryption...

Страница 28: ...or AL66 FG coin selectors but it can be used with any other host capable to interface through SPI 7 1 Communication specifications Slave mode operation 8 bit rate Maximum Clk freq 2 MHz Clk phase 0 Tr...

Страница 29: ...to present all the data of the coin selector at the same time Possible combinations and codes are shown in table below A special case of message is when this byte is 0x00 and there are no other of dat...

Страница 30: ...d The accumulated value will be displayed according to the multiplier and decimal position code The Time is displayed in format mm ss The coin selector will refresh the display every second as long as...

Страница 31: ...dirty particles from the optical sensor prisms If matt or scratched the prisms must be replaced 9 Disposal of the product WARNING DISPOSE OF ACCORDING TO THE GOVERNING LAW IN YOUR COUNTRY This equipm...

Страница 32: ...can be fixed via a simple phone call saving you costs and time Alberici S p a will verify that warranty is applicable i e that problem is not caused by transport damages damages from incorrect install...

Страница 33: ...in via P F Andrelini 42 47121 Forl FC Italia e sede operativa in via San Donnino 4 40127 Bologna BO Italia risulta essere conforme a quanto previsto dalle seguenti direttive comunitarie a le norme arm...

Страница 34: ......

Страница 35: ...lberici S p A reserves the right to make changes to the equipment described and to its technical specifications at any time and without notice in pursuit of continual improvement of this product NOTIC...

Страница 36: ...per videogames e macchine vending Design and manufacture of payment systems accessories for videogames and vending machines Via Ca Bianca 421 40024 Castel San Pietro Terme BO ITALY Tel 39 051 944 300...

Отзывы: