background image

 

 

E  10210  12 - 2005 

 

Protocols:

 

MODULAR X6 CCTALK VALIDATOR      65

 

 

Notes: 

a)

 

A NACK is returned if something of the following occurs: 

the Exit module does not have its software correctly loaded or does not have its tables 
correctly programmed 

The Sensor module does not answer, its software is not correctly loaded or its tables are 
not correctly programmed. 

The coin tables of the Exits module and the Sensor Module are not coincident or are not 
compatible. 

 

Example:The Machine requests to the Validator number 2 its build code, which in this example 
is “41123121-0” 

Send: 

[2] [0] [1] [192] [613] 

Reply: 

[01] [10] [2] [00] [‘4’] [‘1’] [‘1’] [‘2’] [‘3’] [‘1’] [‘2’] [‘1’] [‘-‘] [‘0’] [chk] 

 

Note: the reference “41123121-0” is only an example, is does not correspond to any real 

reference number. 

5.46

 

MODIFY DEFAULT SORTER PATH [189] 

This command is not available if the Validator is programmed in “L66 compatibility” mode. 

 

The machine communicates to the Validator the default classification path to which the coins 

are sent. 

Send: 

[Dir] [1] [1] [189] [Data 1] [Chk] 

Reply: 

[1] [0] [Dir] [0] [Chk] -> ACK without data 

Where  

Dir = address of the corresponding validator 

Data 1  = The default path of the sorter that the validator should send the coins. 

 

Summary of Contents for MODULAR X6 CCTALK

Page 1: ...E 10210 12 2005 Protocols MODULAR X6 CCTALK VALIDATOR 1 MODULAR X6 CCTALK...

Page 2: ...data bytes 11 3 4 Origin address 11 3 5 Header 11 3 6 Data 12 3 7 Checksum 12 3 8 Temporary requirements 12 4 START UP PROCEDURE 13 5 LIST OF COMMANDS 14 5 1 SIMPLE POLL 254 20 5 2 ADDRESS POLL 253 20...

Page 3: ...STER INHIBIT STATUS 227 41 5 23 REQUEST INSERTION COUNTER 226 42 5 24 REQUEST ACCEPT COUNTER 225 43 5 25 MODIFY SORTER OVERRIDE STATUS 222 44 5 26 REQUEST SORTER OVERRIDE STATUS 221 45 5 27 ENTER A NE...

Page 4: ...Y SECURITY SETTING 181 69 5 51 REQUEST SECURITY SETTING 180 70 5 52 MODIFY BANK SELECT 179 71 5 53 REQUEST BANK SELECT 178 72 5 54 REQUEST ALARM COUNTER 176 72 5 55 REQUEST BASE YEAR 170 73 5 56 REQUE...

Page 5: ...2005 Protocols MODULAR X6 CCTALK VALIDATOR 5 5 68 CLEAR COMMS STATUS VARIABLES 3 85 5 69 REQUEST COMMS STATUS VARIABLES 2 85 5 70 RESET DEVICE 1 87 6 TELE PROGRAMMING PROCESS 87 7 FIRMWARE PROGRAMMING...

Page 6: ...aths can be inhibited command Modify sorter override status Each coin has programmed 4 possible sorter paths If the path programmed as a first optin path 1 is inhibited the coin will be diverted to pa...

Page 7: ...atible with the L66 cctalk validator The Validator has one zone with 64 bytes of data available to the user into the Flash memory This zone is read and written by the means of the commands Read data b...

Page 8: ...more than one element on the bus The timing of the communication meets the characteristics of the RS232 industrial standard RS232 communication has various parameters that in this application are conf...

Page 9: ...PIN NAME DESCRIPTION 1 DATA Data line 2 N C Not connected 3 S1 Sorter coil 1 4 S3 Sorter coil 3 5 N C Not connected 6 S2 Sorter coil 2 7 VIN Power supply of the validator 8 GND Ground internally conn...

Page 10: ...ave the format indicated previously 3 2 Destination address The Destination address byte indicates the node on the bus slave Where the message is directed The range of addresses goes from 0 to 255 of...

Page 11: ...in address The byte Origin address indicates the node on the bus that sends the message The range of addresses goes from 1 to the 255 of those 254 correspond to possible addresses of the Validator 1 a...

Page 12: ...e 1 0 2 0 253 256 0 3 8 Temporary requirements Maximum time between bytes The maximum time between two bytes in the same message is 50 ms If it is exceeded the communication programme will reset the c...

Page 13: ...ined NACK message which simplifies the implementation of multi slave protocol and reduces collisions If a Validator receives a command that it is not ready to execute it responds with a NACK message 4...

Page 14: ...the coin data 5 LIST OF COMMANDS All the commands implemented comply with cctalk standards Among the specific cctalk commands the first group is general that is commands valid for any type of device...

Page 15: ...quest polling priority 23 248 Request status 24 246 Request manufacturer id 25 245 Request equipment category id 26 244 Request product code 26 243 Request database version 27 242 Request serial numbe...

Page 16: ...ter a PIN number 47 216 Request data storage availability 47 215 Read data block 48 214 Write data block 49 213 Request option flags 50 212 Request coin position 51 210 Modify sorter paths 52 209 Requ...

Page 17: ...Request address mode 74 162 Modify inhibit and override registers 75 141 Request firmware upgrade capability 75 140 Upload firmware 76 139 Begin firmware upgrade 77 138 Finish firmware upgrade 78 135...

Page 18: ...setting 70 179 Modify bank select 71 178 Request bank select 72 140 Upload firmware 76 139 Begin firmware upgrade 77 138 Finish firmware upgrade 78 99 Begin tables upload 79 98 Upload tables 80 97 Fi...

Page 19: ...OM Not available 59 197 Calculate ROM checksum Not available 60 196 Request creation date Not available 60 195 Request last modification date Not available 60 194 Request reject counter Not available...

Page 20: ...t connected The Validator always responds to this command command not protected by a PIN 5 2 ADDRESS POLL 253 This command is used to request all the slave devices to return their addresses To do this...

Page 21: ...o check if one or more devices share the same address The difference to the command ADDRESS POLL 253 is it sends a concrete address To avoid collisions only the address byte is returned with a random...

Page 22: ...e Validator will take the default address as its new address The address is stored in the Flash memory of the Validator Send Dir 1 1 251 Data 1 Chk Reply 1 0 Dir 0 Chk ACK without data Where Dir addre...

Page 23: ...resort for cases when various devices share the same address after their new addresses are requested The address is stored in the FLASH memory of the Validator Send Dir 0 1 250 Chk Reply 1 0 Dir 0 Ch...

Page 24: ...D BUFFERED CREDIT OR ERROR CODES 229 Send Dir 0 1 249 Chk Reply 1 2 Dir 0 Data 1 2 Data 2 20 Chk ACK with 2 data Where Dir address of the corresponding validator Data 1 units of time used 2 units of 1...

Page 25: ...CHECK 232 is recommended c f the Validator does not have its software correctly loaded a NACK is returned to this command d The Validator does not answer to this command if it is programmed in L66 com...

Page 26: ...mits the reception of a string of characters from the Validator that identifies the type of device it is Coin Validator Send Dir 0 1 245 Chk Reply 1 13 Dir 0 C o i n A c c e p t o r Chk ACK with 13 da...

Page 27: ...the data base number that should used for the tele programming between 1 and 255 This number corresponds to the table version stored in the Sensor module fitted in the Validator Send Dir 0 1 243 Chk...

Page 28: ...Command protected by a PIN a A NACK is returned if The Sensor module is not calibrated or it is incorrectly calibrated The Sensor module is not connected or it does not work correctly In this case th...

Page 29: ...chine requests Validator number 2 for its software version which in this example is X6 cctalk V1 2 Send 2 0 1 241 12 Reply 1 14 2 0 X 6 c c t a l k V 1 2 chk 5 14 TEST SOLENOIDS 240 Using this command...

Page 30: ...idator is activating the exits or the solenoids at the moment of reception of the command b There should be a visual or sound check that the corresponding mechanism activates and deactivates Example T...

Page 31: ...mand if it is not programmed in L66 compatibility mode 5 16 READ OPTO STATES 236 Using this command the Validator returns a byte which indicates the value of the optic sensors in the validator Photo t...

Page 32: ...osed Bit 3 at 0 indicates the normal value If the value returned is 0 it means that all the optics beams are in the correct state Example The Machine requests Validator number 2 for the value of the O...

Page 33: ...ry corrupted 2 Fault in electromagnetic sensors Bit 0 sensor 1 Bit 1 sensor 2 Bit 3 sensor 3 3 Fault in credit sensor optic beam of coin exit sensor covered broken 4 Fault in sound sensor or piezoelec...

Page 34: ...ry to establish a reset mechanism when the validator responds to a new test without errors It is also recommended to try a new test before communicating the fault of the validator to base In the case...

Page 35: ...the 16 inhibit bits of the Validator configured Each coin table will be associated with an inhibit bit so that the activated coins will be those whose inhibit bit is at 1 Initially and after a reset...

Page 36: ...ated the inhibit bits are deleted As a consequence it is necessary to activate the coins using this command so that the Validator can accept coins We can check the value of the inhibit bits using the...

Page 37: ...are deactivated the inhibit bits are deleted As a consequence is necessary activate the coins using this command so that the Validator can accept coins The value of the inhibit bits can be modified by...

Page 38: ...e in the buffer and the last event is lost The event counter indicates to the Machine any new event that happens in the validator and for each request it should compare the counter with the last known...

Page 39: ...the expected or not valid coin fraud attempt 2 Coin inhibited 5 Timeout error on validation of coin coin rejected 6 Timeout in exit detection 8 Error of two passing coins too closely together 13 Sens...

Page 40: ...software correctly loaded b After a reset or power up deactivates the admission of coins until it receives the command READ BUFFERED CREDIT OR ERROR CODES 229 Example The Machine requests Validator n...

Page 41: ...s not answer if it is programmed in L66 compatibility mode 5 22 REQUEST MASTER INHIBIT STATUS 227 This command is not available if the Validator is programmed in L66 compatibility mode Request informa...

Page 42: ...coins inserted MSB The Validator keeps a counter with the number of coins inserted This counter is of three bytes and can store up to 16 777 215 coins It is incremented each time a coin starts to be...

Page 43: ...command COUNTERS TO EEPROM 145 872 was executed 5 24 REQUEST ACCEPT COUNTER 225 This command requests the Validator for information about the coins accepted counter Send Dir 0 1 225 Chk Reply 1 3 Dir...

Page 44: ...it 0 Path 1 Bit 1 Path 2 Bit 2 Path 3 Bit 3 Path 4 Bit 4 Path 5 Bit 1 without action Normal classification Bit 0 this path is not permitted The coin is sent via another path or to the default path Thi...

Page 45: ...paths permitted of classification to Validator number 2 Paths 1 and 3 permitted Rest of paths prohibited The value transmitted will be in binary 0000 0101 5 decimal Send 2 1 1 222 5 25 Reply 1 0 2 0...

Page 46: ...Machine requests Validator number 2 for the classification paths that are permitted and the paths that are prohibited Send 2 0 1 221 32 Reply 1 1 2 0 6 246 The value received is in binary 0000 0110 6...

Page 47: ...s occurred when programming the PIN in the Flash memory 5 28 ENTER A PIN NUMBER 218 The Validator can be protected by a number a PIN so that no command can be executed except the command SIMPLE POLL 2...

Page 48: ...er of bytes per block of write data The user zone is 64 bytes long It is contiguous and it is divided in 2 blocks of 32 bytes each Both blocks are read write enabled and they are identified as 0 and 1...

Page 49: ...a 2 optional Chk Reply 1 M Dir 0 Data 3 Data M 2 Chk ACK with M data Where Dir address of the corresponding Validator N 1 if Data 2 is not transmitted CCTALK standard 2 if Data 2 is transmitted Data 1...

Page 50: ...e number of data to write is 1 64 if the write is in the block 0 Data 1 0 If more than 32 bytes are written the rest of data are written into the block 1 1 32 if the write is in the block 1 Data 1 1 B...

Page 51: ...Validator informs the Machine how to send the coin values Send Dir 0 1 213 Chk Reply 1 1 Dir 0 Data 1 Chk ACK with a data Where Dir address of the corresponding validator Data 1 0 the coin is indicate...

Page 52: ...nds Coin code code returned in the command READ BUFFERED CREDIT OR ERROR CODES 229 Inhibit word value of the coin inhibits coins to admit or reject used in the commands REQUEST INHIBIT STATUS 230 and...

Page 53: ...1 Code of coin Data 2 Assigned sorter path 1 Data 3 Assigned sorter path 2 Data 4 Assigned sorter path 3 Data 5 Assigned sorter path 4 The priority of the classification paths is Path 1 Data 2 maximu...

Page 54: ...f the default path 0 Command protected by a PIN Notes a A NACK is returned if The Exit module does not have its software correctly loaded Any of the calling arguments Data 1 to Data 5 have an incorrec...

Page 55: ...n The answer depends on the Validator working mode Normal working mode Send Dir 1 1 209 Data 1 Chk Reply 1 5 Dir 0 Data 2 Data 3 Data 4 Data 5 Chk ACK with 4 data Where Dir address of the correspondin...

Page 56: ...indicates to the Validator that it should start Auto programming of coins mode Send Dir 1 1 202 Data 1 Chk Reply 1 0 Dir 0 Chk ACK without data Where Dir address of the corresponding validator Data 1...

Page 57: ...s returned 6 if the Validator is busy measuring or accepting a coin at the moment of receiving the command c This command is not available if the Validator is working in Secure Mode 5 37 REQUEST TEACH...

Page 58: ...by a PIN Notes a A NACK is returned if The Exit module does not have its software correctly loaded An error has occurred in programming the data in the Flash memory of the Sensor module or of the Exit...

Page 59: ...e Exit module does not have its software correctly loaded There has been an error in programming the data in the Flash memory of the Sensor module or of the Exit module b The Validator does not answer...

Page 60: ...f it is programmed in L66 compatibility mode 5 40 CALCULATE ROM CHECKSUM 197 This command is not available if the Validator is programmed in L66 compatibility mode With this command the Validator retu...

Page 61: ...the Validator for information about the creation date of the programming of the coin tables of the Validator Send Dir 0 1 196 Chk Reply 1 2 Dir 0 Data 1 Data 2 Chk ACK with 2 data Where Dir address of...

Page 62: ...Validator Send Dir 0 1 195 Chk Reply 1 2 Dir 0 Data 1 Data 2 Chk ACK with 2 data Where Dir address of the corresponding validator Data 1 LSB of the date Data 2 MSB of the date The format of date is t...

Page 63: ...ks the same as the coins inserted counter See the command REQUEST INSERTION COUNTER 226 Command protected by a PIN Notes a A NACK is returned if the Exit module does not have its software correctly lo...

Page 64: ...rned if the Exit module does not have its software correctly loaded b The Validator does not answer if it is programmed in L66 compatibility mode 5 45 REQUEST BUILD CODE 192 With this command the corr...

Page 65: ...requests to the Validator number 2 its build code which in this example is 41123121 0 Send 2 0 1 192 613 Reply 01 10 2 00 4 1 1 2 3 1 2 1 0 chk Note the reference 41123121 0 is only an example is does...

Page 66: ...module does not have its software correctly loaded The classification path has an incorrect value it is not any of the values previously described There has been an error in programming the value of t...

Page 67: ...ule does not have its software correctly loaded b The Validator does not answer if it is programmed in L66 compatibility mode 5 48 MODIFY COIN ID 185 Command not available in Secure Mode With this com...

Page 68: ...r number 2 to modify the identity of the coin of code 3 with the string EU100 Send 2 7 1 185 3 E U 1 0 0 251 Reply 1 1 2 0 6 246 5 49 REQUEST COIN ID 184 The Machine requests the Validator for the ide...

Page 69: ...ty 1 2 and 3 decrease security There is a compromise between security and percentage of admission of coins Normally greater security corresponds to a better percentage of admission The level of securi...

Page 70: ...l be stored in the Flash memory of the Validator Command protected by a PIN Notes a A NACK is returned if The Exit module does not have its software correctly loaded The Exit module does not have its...

Page 71: ...ir tables correctly programmed It has received an incorrect coin code b This command is not available if the Validator is working in Secure Mode 5 52 MODIFY BANK SELECT 179 Command not available in Se...

Page 72: ...he Machine requests the Validator for the bank of coins that is activated Send Dir 0 1 178 Chk Reply 1 1 Dir 0 Data 1 Chk ACK with a data Where Dir address of the corresponding validator Data 1 0 1 2...

Page 73: ...lly covered Measurement detectors continually covered Coin rejected by the string detector system Valid coin remains in the exit sensor for an excessive time Valid coin does not reach the exit sensor...

Page 74: ...compatibility mode 5 56 REQUEST ADDRESS MODE 169 This command returns information on the cctalk addressing mode as help for the auto configuration of the different peripherals on the bus Send Dir 0 1...

Page 75: ...Chk Where Dir address of the corresponding validator Data 1 and Data 2 inhibit mask of the present coin Data 3 not used 0 Data 4 and Data 5 inhibit mask of the following coin Data 6 not used 0 If the...

Page 76: ...is programmed in L66 compatibility mode 5 59 UPLOAD FIRMWARE 140 Command not available in Secure Mode Using this command the firmware of the Validator is modified Send Dir n 1 140 Data 1 Data 2 Data...

Page 77: ...fied the majority of cctalk commands will return NACK indicating that the software is erroneous c The reply time is 250 ms maximum typical less than 50 ms d This command is not available if the Valida...

Page 78: ...he firmware has finished Command protected by a PIN Notes a A NACK is returned if the Validator has not been able to finish the modification of the firmware b It may be necessary to modify the program...

Page 79: ...master inhibition must be used After a reset the Validator will be in the same state as if this command with Data 1 0 were received Command protected by a PIN Notes a A NACK is returned if the Valida...

Page 80: ...ock counter not used Data 2 line counter not used Data 3 Data n coin programming data The format of the data Data 1 Data n is identical to that indicated in the command UPLOAD FIRMWARE 140 Azkoyen wil...

Page 81: ...Command protected by a PIN Note a A NACK is returned if the Validator does not have its software correctly loaded or there has been an error in finishing the programming of the tables of the Validato...

Page 82: ...t is a 14 character string of the type 332XXXXX X vXX where X are ASCII characters X 0 is returned if The Sensor module has its firmware incomplete it is not correctly programmed or it does not respon...

Page 83: ...e Validator is working normally Data 46 Module number connected If the Sensor module has responded the value returned is 2 If the Sensor module has not it responds with the value 1 Data 47 Firmware ve...

Page 84: ...cessary to have the data received with this command such as the serial number of the Validator see command REQUEST SERIAL NUMBER 242 To get the data referring to the new firmware it is necessary to ha...

Page 85: ...mmed in L66 compatibility mode Reset to zero all the counters named in the command REQUEST COMMS STATUS VARIABLES 2 Send Dir 0 1 3 Chk Reply 1 0 Dir 0 Chk ACK without data Command protected by a PIN N...

Page 86: ...messages that are longer than the length of the validator buffer and they are lost the number of lost bytes is added to this counter Rx_bad_cheksum this counter is incremented each time that a message...

Page 87: ...eristics calibration of each Validator and that is stored in a data base in the Factory To create or modify the programming of a determined Validator the serial number of this Validator is required Wi...

Page 88: ...of the Validator n number of bytes indicated in the string of the binary file Dir Machine address of the Machine cctalk command n command indicated in the string of the binary file Data 1n Data n data...

Page 89: ...previous section Notes a While transmitting the new firmware the power supply of the Validator should remain stable The programming process is prepared for cuts in the communication or in the power s...

Reviews: