Date post: | 08-Aug-2015 |
Category: |
Documents |
Upload: | emmanuel-guerrero-flores |
View: | 63 times |
Download: | 1 times |
cashpro
Date: 18/10/2011 Code: Page 1Product: CM18Subject Software & Interface Specifications
CM18SOFTWARE & INTERFACE
SPECIFICATIONS
SET CONTROLLER 0035
Revision 1.05
cashpro
Date: 18/10/2011 Code: Page 2Product: CM18Subject Software & Interface Specifications
REVISION
Revision Date Description1.00 30/11/101.01 20/12/10 Modified:
• CM Option One Config (see § 2.27.6) • Get reader session short statistic upload (see § 2.28.48)• Get deatil of unfit classification of any notes (see § 2.28.52)
1.02 10/02/11 Modified:• Download (see § 2.33) • Extended status (see §2.19)• Machine identification (see §2.28.2) • Set booking banknotes status (see §2.32.1.21)• Journal log (see § 2.31)
1.03 18/05/11 Modified:• Get Cash Data (see § 2.2)• Get Cash Data logical (see § 2.32.3)• OSC Communication Port Test (see § 2.28.59)• Get Error Log & Unit Life Journal log (see § 2.30)• Get increase time control dispense amount (see § 2.28.36)• Journal log (see §2.31)• Get Safe set-up (see §2.28.40) • OSC Communication Port Test (see §2.28.59)• Get denomination or multitype cassette (see §2.28.66)
Added:• Deposit counting facing all denomination (see §2.13)• Deposit counting orientating all denomination (see § 2.14)• Fill CM Option Two Config (see § 2.27.14)• Get CM Option Two Config (see § 2.28.29 )• Optional Device (see § 2.38)
1.04 03/08/11 Modified:• LAN authorizaed address list fill (see § 2.32.6.32.3)• Updated all command timeout
Deleted:• Transfer file from OSC Card memory
1.05 18/10/11 Modified:• Fill CM Option Two Config (see § 2.27.14)
cashpro
Date: 18/10/2011 Code: Page 3Product: CM18Subject Software & Interface Specifications
1.1 Technical specifications....................................................................................................................................8
1.2 Controller...........................................................................................................................................................8
1.3 Electrical Interface............................................................................................................................................9
1.4 Communication Protocol DIN66348 (Standard protocol)..........................................................................10
1.5 Communication Protocol LAN_PROT (Simplified protocol).....................................................................12
2.1. Open..................................................................................................................................................................14
2.2. GetCashData....................................................................................................................................................16
2.3. GetCashData logical........................................................................................................................................17
2.4. Deposit...............................................................................................................................................................18
2.5. Deposit in counting mode block .....................................................................................................................21
2.6. Deposit sorting one denomination..................................................................................................................23
2.7. Deposit forced (only one note) .......................................................................................................................24
2.8. Deposit fitness sorting ....................................................................................................................................25
2.9. Deposit fitness face sorting ............................................................................................................................26
2.10. Deposit denomination sorting .....................................................................................................................27
2.11. Deposit counting fit batch ............................................................................................................................28
2.12. Deposit counting fit/unfit batch ...................................................................................................................29
2.13. Deposit counting facing all denomination ..................................................................................................30
2.14. Deposit counting orientating all denomination ..........................................................................................30
2.15. Undo/Accept/View list deposit ...................................................................................................................31
2.16. Withdrawal.....................................................................................................................................................32
2.17. Close ...............................................................................................................................................................33
2.18. Alarm & Command Block ........................................................................................................................332.18.1. Silent Alarm ...........................................................................................................................................332.18.2. Temporary Command Block (Time Lock) ...........................................................................................342.18.3. Keycode Command Block (Keycode Lock) .........................................................................................342.18.4. Temporary Open Door ...........................................................................................................................352.18.5. OPTIONAL Alarm1 ..............................................................................................................................35
2.19. Extended-status .............................................................................................................................................36
2.20. Version ...........................................................................................................................................................37
2.21. Key-code Change .........................................................................................................................................38
cashpro
Date: 18/10/2011 Code: Page 4Product: CM18Subject Software & Interface Specifications
2.22. Assign cassette ...............................................................................................................................................39
2.23. Init cassette.....................................................................................................................................................40
2.24. Empty cassette................................................................................................................................................41
2.25. Get Config ......................................................................................................................................................42
2.26. Set Config .......................................................................................................................................................43
2.27. Fill command .................................................................................................................................................442.27.1. Date and Time transfer..............................................................................................................................442.27.2. Service Transfer........................................................................................................................................452.27.3. Write Data & Time clock..........................................................................................................................452.27.4. Fill CM Config..........................................................................................................................................462.27.5. Fill CM Option Config .............................................................................................................................472.27.6. Fill CM Option One Config .....................................................................................................................482.27.7. Fill CM Unit identification.......................................................................................................................492.27.8. Fill CM Cassette number..........................................................................................................................492.27.9. Power On Transfer....................................................................................................................................492.27.10. Fill withdrawal bundle size .................................................................................................................502.27.11. Fill increase time control dispense amount .........................................................................................502.27.12. Fill counting bundle size .....................................................................................................................502.27.13. Fill LAN type communication protocol ...............................................................................................512.27.14. Fill CM Option Two Config..................................................................................................................51 .............................................................................................................................................................................512.27.15. Photo Sensor Write.................................................................................................................................52
2.28. Test command................................................................................................................................................532.28.1. Unit Cover Test.........................................................................................................................................532.28.2. Unit identification.....................................................................................................................................542.28.3. Recovery mode identification [NOT AVAILABLE]................................................542.28.4. Feeder reject..............................................................................................................................................552.28.5. Suspend recovery ................................................552.28.6. Re-activate recovery ............................................................................................552.28.7. Force reset ....................................................................................................562.28.8. Unit Cover Test & Extern Button State....................................................................................................562.28.9. Read Data & Time clock Safe Controller..............................................................................................572.28.10. Unit output side note............................................................................................................................582.28.11. Multidenomination cassette detail.......................................................................................................582.28.12. Machine identification ........................................................................................................................592.28.13. Overflow or Unfit cassette detail.........................................................................................................602.28.14. Get CM Config....................................................................................................................................602.28.15. Init Journal LOG....................................................................................................................................612.28.16. Get delay class ...................................................................................................................................612.28.17. Get periodic operating hour.................................................................................................................612.28.18. Get A-periodic operating hour.............................................................................................................622.28.19. Get CM Option Config........................................................................................................................622.28.20. Get CM Option One Config.................................................................................................................632.28.21. Unit Output UNFIT Note.....................................................................................................................632.28.22. Unit Safe UNFIT Note..........................................................................................................................632.28.23. Detail NATION cassette......................................................................................................................642.28.24. Unit UNFIT note details ......................................................................................................................64 ...........................................................................................................................................................................642.28.25. Unit COUNTERFEIT & SUSPECT note details .................................................................................652.28.26. Unit SUSPECT note details.................................................................................................................652.28.27. Get firmware complete suite ...............................................................................................................662.28.28. Host connection monitor......................................................................................................................662.28.29. Get CM Option Two Config................................................................................................................66
cashpro
Date: 18/10/2011 Code: Page 5Product: CM18Subject Software & Interface Specifications
2.28.30. Photo Sensor Adjust.............................................................................................................................672.28.31. Photo Sensor Read...............................................................................................................................672.28.32. Get CM Cassette number....................................................................................................................682.28.33. Get shift center banknote on output slot.............................................................................................682.28.34. Set shift center banknote on output slot..............................................................................................682.28.35. Get withdrawal bundle size ................................................................................................................692.28.36. Get increase time control dispense amount .......................................................................................692.28.37. Get counting bundle size ...................................................................................................................692.28.38. Get LAN type communication protocol ...........................................................................................702.28.39. Session Control....................................................................................................................................702.28.40. Get Safe Set-up....................................................................................................................................712.28.41. Clear Tracks [NOT AVAILABLE]............................................722.28.42. Tracks Clean [NOT AVAILABLE]............................................722.28.43. Read Data & Time Clock Safe Controller ..........................................................................................732.28.44. Controller module name......................................................................................................................732.28.45. Module identification ..........................................................................................................................742.28.46. Identifier control..................................................................................................................................752.28.47. Get identifier bank for download.........................................................................................................752.28.48. Get reader session short statistic upload ............................................................................................762.28.49. Get identifier number of active banks ................................................................................................762.28.50. Get identifier bank configurations.......................................................................................................772.28.51. Get all identifier references..................................................................................................................772.28.52. Get detail of unfit classification of any notes ...................................................................................782.28.53. Get identifier active bank for download............................................................................................792.28.54. Get identifier Flash-DSP associations ..............................................................................................792.28.55. Currency flash unistall.........................................................................................................................802.28.56. Get MAC Address................................................................................................................................802.28.57. Get LAN configuration parameters ....................................................................................................812.28.58. Get authorized IP/MAC addresses ......................................................................................................812.28.59. OSC Communication Port Test...........................................................................................................822.28.60. OSC Memory Interface Test................................................................................................................822.28.61. OSC LCD & Touch Screen Test..........................................................................................................832.28.62. OSC Lamps & Buttons Test................................................................................................................832.28.63. OSC Audio Test...................................................................................................................................832.28.64. OSC Communication PortId Test........................................................................................................842.28.65. Cassette control....................................................................................................................................842.28.66. Get denomination on multi type cassette ...........................................................................................85
2.29. Utility Commands .........................................................................................................................................862.29.1. Switch USB\RS232 protocol from standard to simplified or vice versa................................................86
2.30. Get Error Log & Unit Life ...........................................................................................................................87
2.31. Journal LOG ................................................................................................................................................922.31.1. Get Journal LOG Info...............................................................................................................................982.31.2. Get Journal LOG record............................................................................................................................982.31.3. Fill Journal LOG string.............................................................................................................................99
2.32. Module Fill ...................................................................................................................................................1002.32.1. Module CM18 fill command..................................................................................................................100
2.32.1.1. CM18 serial number fill...................................................................................................................1002.32.1.2. CM18 fill delay class ...........................................................................................................1012.32.1.3. CM18 log on operator......................................................................................................................1022.32.1.4. CM18 log off operator.....................................................................................................................1022.32.1.5. Get cash balance operator................................................................................................................1022.32.1.6. Get operator.....................................................................................................................................1032.32.1.7. Get user ...........................................................................................................................................1032.32.1.8. Add operator....................................................................................................................................1042.32.1.9. Add User .........................................................................................................................................104
cashpro
Date: 18/10/2011 Code: Page 6Product: CM18Subject Software & Interface Specifications
2.32.1.10. Del operator...................................................................................................................................1052.32.1.11. Del User ........................................................................................................................................1052.32.1.12. Buzzer BEEP.................................................................................................................................1062.32.1.13. Extended Warning module [NOT AVAILABLE]......................................1062.32.1.14. Set booking banknotes ..................................................................................................................1072.32.1.15. Del booking banknotes..................................................................................................................1072.32.1.16. Get booking banknotes..................................................................................................................1082.32.1.17. Get ALL booking banknotes..........................................................................................................1082.32.1.18. Get operator cash data detail UNFIT or OVERFLOW.................................................................1092.32.1.19. Get operator cash data detail MULTIDENOMINATION.............................................................1092.32.1.20. Get booking banknotes Ext............................................................................................................1102.32.1.21. Set booking banknotes status ........................................................................................................1112.32.1.22. Execute booking banknotes .........................................................................................................1112.32.1.23. Logical banknote transfer ............................................................................................................1122.32.1.24. Get status logical banknote transfer .............................................................................................1132.32.1.25. Set enable/disable cassette ...........................................................................................................113
2.32.2. Module Reader fill command.................................................................................................................1142.32.2.1. Reader serial number fill..................................................................................................................1142.32.2.2. Set identifier bank............................................................................................................................1142.32.2.3. Set identifier number of active banks..............................................................................................1142.32.2.4. Set bank config register...................................................................................................................1152.32.2.5. Set identifier bank configurations....................................................................................................115
2.32.3. Module Safe Controller fill command....................................................................................................1162.32.3.1. Safe Controller serial number fill....................................................................................................116
2.32.4. Module Cassette fill command...............................................................................................................1162.32.4.1. Cassette serial number fill................................................................................................................1162.32.4.2. Set denomination on multi type cassette ........................................................................................117
2.32.5. CM18 Mac Address fill..........................................................................................................................1172.32.5.1. Mac Address serial number fill........................................................................................................117
2.32.6. CM18 LAN Parameter fill......................................................................................................................1182.32.6.1. LAN Parameter fill .........................................................................................................................1182.32.6.2. Mac Address serial number fill from Controller Serial Number.....................................................1182.32.6.3. LAN authorized addresses list fill ...................................................................................................119
2.32.7. CM18 operating hour fill........................................................................................................................1192.32.7.1. Fill periodic operating hour.............................................................................................................1192.32.7.2. Fill A-periodic operating hour.........................................................................................................121
2.33. Download .....................................................................................................................................................1222.33.1. Install Controller (Higher controller) firmware .....................................................................................1222.33.2. Install Reader firmware ..........................................................................................................................1232.33.3. Install Safe (Lower Controller) firmware ..............................................................................................1232.33.4. Install FPGA firmware ...........................................................................................................................1232.33.5. Install Reader Reference ........................................................................................................................1232.33.6. Install Cassette firmware ........................................................................................................................1242.33.7. Install Multi-Cassette firmware .............................................................................................................1242.33.8. Execute file on OSCard memory ...........................................................................................................1262.33.9. Init transfer .............................................................................................................................................1262.33.10. Set download directory.......................................................................................................................1262.33.11. Reset download directory ...................................................................................................................126
2.34. Transfer file to OSC Card memory ..........................................................................................................1272.34.1. Get data reader information ...................................................................................................................129
2.35. RS232 Parameter.........................................................................................................................................1302.35.1. Temporary change baud rate...................................................................................................................130
2.36. Transparent On...........................................................................................................................................131
2.37. Transparent Off...........................................................................................................................................131
cashpro
Date: 18/10/2011 Code: Page 7Product: CM18Subject Software & Interface Specifications
2.38. OPTIONAL DEVICES...............................................................................................................................1322.38.1. LOCK SAFE...........................................................................................................................................132
2.38.1.1. Init...................................................................................................................................................1322.38.1.2. Get channel description....................................................................................................................1322.38.1.3. Get cassette number.........................................................................................................................1332.38.1.4. Open one cassette.............................................................................................................................1332.38.1.5. Fill cassette description....................................................................................................................1342.38.1.6. Fill cassette number.........................................................................................................................134
3.1. Nation Mode...................................................................................................................................................135
3.2. Safe configuration..........................................................................................................................................135
3.3. Deposit operation...........................................................................................................................................137
3.4. Withdrawal operation...................................................................................................................................139
3.5. Alarm configuration on controller board....................................................................................................140
4.1. Reply Code Table...........................................................................................................................................141
4.2. General conditions.........................................................................................................................................141
4.3. Operating conditions.....................................................................................................................................142
4.4. Operating errors............................................................................................................................................143
4.5. Failures ...........................................................................................................................................................144
4.6. Reply code present in the ERROR LOG ............................................................................145
4.7. Internal Reply Code.......................................................................................................................................148
4.8. Extended reply codes.....................................................................................................................................1494.8.1. Feeder unit .............................................................................................................................................1494.8.2. Controller HIGH unit (TRANSPARENT MODE 2)............................................................................1504.8.3. Controller LOW unit (TRANSPARENT MODE 1)...........................................................................1514.8.4. Note Reader unit (TRANSPARENT MODE 3)..................................................................................1524.8.5. Cassette unit A÷H (TRANSPARENT MODE 4÷D)...........................................................................153
5.1. Value code ......................................................................................................................................................154
5.2. Currency code................................................................................................................................................154
Overview
cashpro
Date: 18/10/2011 Code: Page 8 17Product: CM18Subject Software & Interface Specifications
1. OVERVIEW 1.1 Technical specifications
External interface(HOST_1 & HOST_2) Serial RS232 9600 baud, 8 bit , no parity , 1 stop bit
USB interface
LAN interface
Internal communication from OSC to Real Time Controller(MC19)
Serial RS232 38400 baud, 8 bit, no parity, 1 stop bit
Internal communication line from Real Time Controller(MC19) to Reader SEF (RS12)
Serial RS232 38400 baud, 8 bit , no parity , 1 stop bit
Internal communication line from Real Time Controller(MC19) to Safe Controller(SC19)
Serial RS232 19200 baud, 8 bit, no parity, 2 stop bit
Internal communication line from Safe Controller(SC19) to Cassette(CR37)
Serial RS485 Half-duplex ,19200 baud, 8 bit, no parity, 2 stop bit
1.2 Controller
This module controls the slave modules via the RS232 (Lower Controller & Reader SEF_FIT) internal interface. It also provide a direct control of some hardware circuitry such as the horizontal and vertical transport , the shift-actuator, output and cassette sorting , note counting etc.
The functions are shared in tasks :
Host-interface task : interface arbitration, syntax control, command decoding ,protocol-control.Each process (cmd sequence) is related at one operator code and side.
Execution & control task : execute the command procedure controlling slave-modules(by RS232 interface)and internal driving circuitry. In operating every banknote is controlled from beginning to end of its motion to insure a good job and immediate stop in case of jam.
Hardware interrupt task : A command procedure can activate different timer interrupt to activate the electromechanical components directly connected to this board.
Handling of two separate V24(RS232C) host interface. Host-master / controller-slave communication logic. The controller provides a reply sequence after every command execution. The cash can be totally shared or separate for the two operators. A non-volatile program-memory allows to update micro code & set-up via host serial interface. Service-command allow to communicate directly with the slave-module via host serial-interface for test and maintenance
Overview
cashpro
Date: 18/10/2011 Code: Page 9 17Product: CM18Subject Software & Interface Specifications
1.3 Electrical Interface
The host is master and the controller is slave .CM18 controller cannot originate commands but only answer to external ones .The host-interfaces are standard RS232C serial interface with the following parameters :
baud-rate : 9600 baudmode : full-duplex data-bit : 8 bitstop-bit : 1 bitparity : nonenumber : 2 (one for each operator)protocol : DIN66348 data link protocol
The setting is the same for both host-interfaces .
In case two serial interface are used , an host-command can arrive from both connectors; the cmd-response will be sent on the same interface the command came in .If a communication problem happens during a procedure, the controller restart on the same serial channel .
CM18 control RS232 DTR (Data Terminal Ready)
Power OFF Power ON Power OFF
1
0
Overview
cashpro
Date: 18/10/2011 Code: Page 10 17Product: CM18Subject Software & Interface Specifications
1.4 Communication Protocol DIN66348 (Standard protocol)
The protocol control procedure DIN 66348 is used to provide a secure communication between host and controller.The procedure is bi-directional, which means that the host can act as sender or receiver. The unit will act as a sender only when replying to the host.
This procedure consists of tree different phases :
Phase Host/Unit (Sender) Unit/Host (Receiver)
Time-out Condition if Time-out occurs
1) Request to send ENQDLE ‘0’ or NAK 3 sec Command not valid
Back to phase 12) Data transfer STX ’1’ ‘Text’ ETB/ETX BCC
DLE ’1’ or NAK 3 sec as aboveSTX ’0’ ‘Text’ ETB/ETX BCC
DLE ’0’ or NAK 3 sec as above3) Terminal EOT 3 sec as above
Request to send
This is the procedure to start the communication between Host and Unit, it can be used by either of them and the other one must reply according to the following table.
Host Target reply DescriptionENQ
NAK BusyDLE 0 ReadyENQ Conflict, the target is still trying to send back some reply or
info related to a previous command. The host must go back the receive mode and link by sending DLE ’0’
Others IgnoredTime out Retry connection twice or send EOT and return to Idle mode
When the unit is sending a string back to the host and a time out occurs(from host) , the unit in sending ‘ENQ’ for n. 3 times (at 30 sec. Intervals) and then after 30 seconds the unit sends ‘EOT’ and returns to idle state and pending reply string is lost.
Data transfer
If the reply is "ready" the data transfer phase will start.The first message block has number '1' and must be acknowledged by DLE '1'.The sequence of block numbers is then : '0' , '1' , '0' , etc. The acknowledgment always has the same number as the message .Use "ETX" instead of "ETB" on the end of the last block .
Host Target reply DescriptionSTX ’n’ ‘Text’ ETB/ETX BCC
NAK Negative acknowledge, repeat blockDLE n Positive acknowledge, send next block
n = 0 or 1 according to the one receivedTime out Recovery, wait for two more time-outs and if no
reply arrives, send EOT and return to Idle-mode
Overview
cashpro
Date: 18/10/2011 Code: Page 11 17Product: CM18Subject Software & Interface Specifications
If the number of text-bytes is over 80 it is necessary to divide the text in more blocks .Terminal phase
ENQ(05h)= enquire DLE(10h)= data link escape ACK(06h)= acknowledge NAK(15h)= not acknowledge STX(02h)= start of text ETB(17h)= end of transmission block ETX(03h)= end of text
BCC(ddh)= Block Check Chars is the binary sum(module 2) of bit 0 to bit 6 of all chars in the block excluding STX up and including ETB(or ETX) .BCC parity-bit is always even.
Example of the function to evaluate the BCC
BCC //*control characterBuffer //*output buffer sent to the dispenserOutBufferLenSnd //*integer containing the buffer’s length
//* The first transmission character (STX) is not used to calculate the BCC value
//* Buffer = “STX O,1,L,123456,ETX”
OutBuffer [0] = Buffer [0]for (index = 1; index < LenSnd; index++
{ OutBuffer [index] = Buffer [index]; bcc = bcc + Buffer [index];}
bcc = bcc & 0x7F;Outbuffer [index++] = bcc;
Text(20÷7Fh)= all text have to be in ASCII-chars (control byte are <20h).
Overview
cashpro
Date: 18/10/2011 Code: Page 12 17Product: CM18Subject Software & Interface Specifications
1.5 Communication Protocol LAN_PROT (Simplified protocol)
The procedure is bi-directional, which means that the host can act as sender or receiver. The unit will act as a sender only when replying to the host.
This procedure consists of one phase:
Phase HOST (Sender) Unit (Receiver) Description
Data transfer STX ‘Text’ ETX BCC EOTSTX ‘Text’ ETB ETX BCC EOT Correct phase
NAK If BCC or Text errors
STX(02h)= start of textETX(03h)= end of textEOT(04h) = end of transferNAK(15h)= not acknowledge
BCC(ddh) = Block Check Chars of bit 0 to bit 6 of all chars in the block excluding EOT.
Example of the function to evaluate the BCC
bcc // control characterbuffer // output buffer sent to the dispenserLenSnd // integer containing the buffer’s length
// The last transmission character (EOT) is not used to calculate the BCC value
// Buffer = “STXO,1,L,123456,ETX”
bcc = 0;for (index = 0; index < LenSnd; index++)
{ bcc = bcc + Buffer [index];}
bcc = bcc & 0x7F;
The communication between host and device takes place in accordance to TCP/IP protocol specifications (as defined by IETF RFC793).
Ten (10) ports are reserved to user applications for communicating with the device. These ports are numbered from port 8000 through port 8009, inclusive. These ten user ports may be opened concurrently.
An eleventh port is also available - port 8100 - that is reserved for special purposes such as file transfer when performing device firmware download. This port is identified as the service port. Communication through the service port must be initiated by a specific command sent to any one of the ten user ports
Overview
cashpro
Date: 18/10/2011 Code: Page 13 Product: CM18Subject Software & Interface Specifications
2. Command handling
The protocol task which controls the two serial interfaces, once installed at power on, remains active on both channels all the time.As soon as one of two host-interfaces generate an interrupt, the CM18 reserves that channel for communication and sets the other one in ‘Busy’ mode.The command received is checked for syntax and context and an immediate answer is given in case of error. If the command is accepted, the execution task is activated and the reply message is sent at the end of the job.
The first parameter of each command is a sequential number which goes from 1 to 9 . The same number is echoed on the answer and can be used to relate the Host request to the CM18 reply in case of missing synchronism.
The Host should not send more than one command to the CM18 before receiving a reply.
For a reliable a secure sharing of the unit we suggest the following sequence:
Left operator CM18RS 232 L
CM18RS 232 R
Right operator
Customer transaction Customer transaction
Open CM18 - Left side OK Open CM18 -Right side
Get Cash Data BusySend Total Cash Amount Open CM18 -Right side
Deposit/Withdrawal BusyExecute operation Open CM18 -Right side
Deposit/Withdrawal BusyExecute operation Open CM18 -Right side
Close communication BusyOK Open CM18 -Right side
End of transaction OKGet Cash Data
Send Total Cash AmountDeposit/Withdrawal
Execute operationClose communication
OKEnd of transaction
Overview
cashpro
Date: 18/10/2011 Code: Page 14 Product: CM18Subject Software & Interface Specifications
2.1. Open
The ‘Open’ command is used to establish a link between the Host and the CM18.The user and the relative password must be specified in order to define the side to be used for ejecting the bank/notes and which cassettes can be used by the operator. At least one cassette should match the password.
cmd: O,n,s,code[,opt]
reply: O,n,s,rc
where:n sequential number (1÷9) s User (A÷T)code access-code (6 ASCII-chars)rc reply-code (1÷2 ASCII-chars)
1 Ok2 Software error 4 The CM18 is ‘busy’ during reset or already open to the other side or LCD MENU active.65 No cassettes with a matching key code66 No cassettes enable for that side All error condition (See reply code table § 4.1)
opt 2 Book one side for 1 minute (optional) 3 Cancel book side (optional)
T-out 1 sec
Ex. 1: Define the user to workHost: O,1,L,123456CM: O,1,L,1
Ex. 2: Book one user before send command OpenHost: O,1,L,123456,2CM: O,1,L,1
Ex. 3: Cancel book one user after send command Open with book the same userHost: O,1,L,123456,3CM: O,1,L,1
Overview
cashpro
Date: 18/10/2011 Code: Page 15 Product: CM18Subject Software & Interface Specifications
Examples:
In the following examples all the cassettes have the same key-code and they are enabled for left and right.
Time Host 1 CM18 RS 232 Connect. To
Host1
CM18 RS 232 Connect. to Host2
Host 2
To O,1,L,123456T1 O,1,L,1T2 O,1,R,123456T3 O,1,R,4T4 O,2,L,123456T5 O,2,L,4T6 O,2,L,123456T7 O,2,L,1T8 C,3,LT9 C,3,L,1T10 O,3,R,123456T11 O,3,R,1T12 C,4,RT13 C,4,R,1T14 O,5,L,123456T15 O,5,L,1
The example shows that although the two lines can be used from any operator (L,R), once the CM18 is connected to one operator on line A , line B goes in the ‘Error/Busy’ condition until the ‘close’ command on line A.
Overview
cashpro
Date: 18/10/2011 Code: Page 16 Product: CM18Subject Software & Interface Specifications
2.2. GetCashData
With this command it is possible to have information regarding the cassettes enabled to the user specified. The operator will be able to know: how many cassettes are enabled to his side, the note denomination for each cassette, the number of notes contained in every cassette and the average number of notes that can still be loaded.
cmd: G,n,s
reply: G,n,s,rc,[n.id,nnn,rrr,c,e] * 8
where: n Sequential number(1÷9) s User (A÷T)rc reply-code (1÷2 ASCII-chars)
67 = Wrong sideAll error condition (See reply code table § 4.1)
n.id Note-id(4 ASCII-byte)nnn Bank note number(1÷3 decimal-ASCII ie:1,45,254)rrr Cassette free-capacity(1÷3 dec.-ASCII ie: 420,53,3)c Cassette(1 ASCII-byte 'A'÷'H')e Enable switch :
‘Y’ for enable ‘N’ for disable‘O’ for Switched off*‘X’, for not present
T-out 1 sec
NOTE:A cassette can be programmed with more than one denomination of the same value.In that case the forth character of the denomination will be set as ‘*’.(i.e. EUCA+EUCT = EUC*) and the Note number will be the total number of notes in the cassette.
If the reply to the GetCashData command contains two or more record of the same denomination, it means that there are two or more cassettes with the same denomination.
The command will be executed also when the unit is in error condition
*A cassette is signaled as switched off (Enable switch : O) only if it was prior enabled for the side, otherwise the disable condition (Enable switch : N) is replied.
Overview
cashpro
Date: 18/10/2011 Code: Page 17 Product: CM18Subject Software & Interface Specifications
2.3. GetCashData logical
This command is like GetCashData physical but visualized logical cash (-62000 to +62000).To initialize logical note number is necessary to do a “Init cassette” command (see §2.23)
cmd: G,n,s
reply: G,n,s,rc,[n.id,nnn,rrr,c,e]*8
where: n Sequential number(1÷9) s User (a÷t)rc reply-code (1÷2 ASCII-chars)
67 = Wrong sideAll error condition (See reply code table § 4.1)
n.id Note-id(4 ASCII-byte)nnn Logical bank note number (1÷5 decimal-ASCII ie:
10, -61908)rrr Cassette free-capacity(1÷3 dec.-ASCII ie: 10,420)c Cassette(1 ASCII-byte 'A'÷'H')e Enable switch :
‘Y’ for enable ‘N’ for disable‘O’ for Switched off*‘X’ for not present
T-out 1 sec
*A cassette is signaled as switched off (Enable switch : O) only if it was prior enabled for the side, otherwise the disable condition (Enable switch : N) is replied.
In order to clear unbalanced situation on a cassette a “Init cassette” command (see § 2.23) has to be executed on the unbalanced cassette.
Example:G,1,rG,1,r,1,EUCA,-150,300,A,Y,EUDA,55,…,B,…,C,…,D,…,E,…,F,…,G,…,H,…
Overview
cashpro
Date: 18/10/2011 Code: Page 18 Product: CM18Subject Software & Interface Specifications
2.4. Deposit
This command activates the deposit procedure in the following sequence:check the input and output trays for banknote feed in the notes one by one and reject the double feed notes to the front slotstart the recognition process and define a target for each bank note
The target can be:the safe if the bank note is recognized and programmed in one of the cassettes
the operator side exit slot if cassettes full or denomination not present in safe or UNFIT banknotes if enabled and cassette of UNFIT not present in safein reject slot in any other case (banknotes reject, suspect, refused, not manage).
The deposit operation will automatically stop after 200 notes.
In order to have a better handling on deposits with cassette sets in nation mode, on the answer of the command always every cassette denominations are replied to the Host (see Application note § 3.3 § 3.1).
cmd: D,n,s,m,n.id
where:n sequential number(1÷9)s User (A÷T)m Deposit Mode (see Note 1)
0 = sorting using nation activated or nation specified in denomination 3 = counting mode standard FIT e UNFIT 6 = sorting using nation specified in denomination10 = counting mode FIT11 = counting mode one denomination12 = counting mode one denomination FIT only13 = counting mode COUNTERFEIT & SUSPECT15 = counting mode standard FIT e UNFIT with Cover Open
n.id denomination
reply: D,n,s,rc,aaa,rrr,uuu,[n.id,nnn], …,[n.id,nnn]
where:rc reply-code (1÷2 ASCII-chars)
67 = Wrong side 9 = Note on right output10 = Note on left output11 = Note on front outputAll error condition (See reply code table § 4.1)
aaa (1÷3-decimal ASCII)• total of notes deposit in safe (with m = 0, 1, 6)• total of accepted FIT & UNFIT note (with m = 3,15)• total of accepted FIT note (with m =10)• total of denomin. Specific FIT & UNFIT (with m = 11)• total of denomin. Specific FIT (with m = 12)• total of COUNTERFEIT & SUSPECT banknote (with m = 13)
rrr (1÷3-decimal ASCII)• total of notes on output slot (with m = 0, 1, 6) also UNFIT if the cassette is not present and use UNFIT is enabled
Overview
cashpro
Date: 18/10/2011 Code: Page 19 Product: CM18Subject Software & Interface Specifications
• total of cycle of reject : reject, counterfeit, suspect, refused (with m = 3,15)• total of cycle of reject : reject, counterfeit, suspect, refused, UNFIT (with m =10)• total of other banknotes not specified and cycle of reject : reject, counterfeit, suspect, refused (with m = 11)• total of UNFIT banknotes, other banknotes not specified and cycle of reject : reject, counterfeit, suspect, refused (with m = 12)• total of FIT&UNFIT banknotes and cycle of reject : reject, refused (with m = 13)
uuu (1÷3-decimal ASCII)• total of cycle of reject : reject, counterfeit, suspect, refused, (with m = 0, 1, 6)• total of suspect & counterfeit (with m = 3, 10, 11, 12, 13, 15)
[n.id,nnn] Deposited-note(nnn) by denomination(n.id) (Es. 'EUIA,100')T-out Min 60 sec – Max 300 sec (with special clean enable)
Note 1:
There are seven different types of deposit.
Mode 0 – Standard deposit in SAFE using nation activated or nation specified in denomination(the same like mode 6).
Mode 3 – This mode is only used for counting notes standard. The notes are all directed to the Output (FIT and UNFIT) and Reject (not Recognized, Suspect, Counterfeit) compartment. The reply sent to the host will contain the number of notes for each denomination.
Mode 6 – It’s developed only for old compatibility but it’s better to use mode 0 with specified denomination in field n.id. This mode is used when on the CM18 are present cassette with different nation. For example: EURO for first 4 cassette and CANADA for the other 4 cassette so on the Reader the reference denomination are EURO in bank 1 and CANADA in bank 2. With this mode the CM18 accept only the denomination specified in n.id(denomination for example “EU00” is valid only the first two characters) and select automatically the bank on the reader.
Mode 10 – This mode is only used for counting notes FIT (FIT only). The notes are all directed to the Output(FIT) and Reject (not Recognized, Suspect, Counterfeit and UNFIT) compartment. The reply sent to the host will contain the number of notes for each denomination.
Mode 11 – This mode is only used for counting notes of a specific banknotes (for example only EUCA – 5 EURO). The specifics notes are all directed to the Output (FIT and UNFIT) and Reject (all other notes, not Recognized, Suspect, Counterfeit) compartment. The reply sent to the host will contain the number of notes for specific denomination
Mode 12 – This mode is only used for counting notes of a specific banknotes (for example only EUCA – 5 EURO) FIT (FIT only). The specifics notes are all directed to the Output (FIT only) and Reject (UNFIT specific notes, all other notes, not Recognized, Suspect, Counterfeit) compartment. The reply sent to the host will contain the number of notes for specific denomination
Mode 13 – This mode is only used for counting COUNTERFEIT & SUSPECT banknotes. These specifics notes are all directed to the Output and Reject (FIT&UNFIT banknotes, not Recognized) compartment. The reply sent to the host will contain the number of notes for each denomination COUNTERFEIT & SUSPECT.
Overview
cashpro
Date: 18/10/2011 Code: Page 20 Product: CM18Subject Software & Interface Specifications
Mode 15 – This mode is only used for counting notes standard with cover open. The notes are all directed to the Output (FIT and UNFIT) and Reject (not Recognized, Suspect, Counterfeit) compartment. The reply sent to the host will contain the number of notes for each denomination.
Examples of deposit operations:CM18 programmed for EUROS - Eight cassettes enabled to both operator as follows:
Cassette A = EUCA (5 Euro) Cass. B = EUDA (10 Euro)Cassette C = EUEA (20 Euro) Cass. D = EUEA (20 Euro)Cassette E = EUGA (50 Euro) Cass. F = EUGA (50 Euro)Cassette G = EUHA (100 Euro) Cass. H = EUHA (100 Euro)
HOST CM18 Description
D,1,L,0,0000 25 notes on the input tray(Mixed)
D,1,L,1,23,0,2,EUCA,10,EUDA,10,EUEA,0,EUEA,0,EUGA,3,EUGA,0,EUHA,0,EUHA,0,EUIA,0,EUJA,0
Reply code = 1 (ok)Notes in safe = 23Number of reject operations = 2 Deposited notes = N.10 EUCA (5 Euro)
N.10 EUDA (10 Euro)N. 3 EUGA (50 Euro)
D,4,L,3,0000 100 notes on the input tray (50 EUEA,50 EUGA)D,4,L,1,100,0,0,EUEA,50,EUGA,50 OK, all bank notes directed to output slot
Overview
cashpro
Date: 18/10/2011 Code: Page 21 Product: CM18Subject Software & Interface Specifications
2.5. Deposit in counting mode block
This command is only used for counting block of notes. The notes are all directed to exit compartment. The reply sent to the host will contain the number of notes for each denomination. In case of an reject banknote or in case of JAM the procedure will stop and the reply will tell how many notes at the end of the bundle have not been recognized.
cmd: D,n,s,5,0000,mode,num_bn
reply: D,n,s,rc,aaa,rrr,uuu,[n.id,nnn],…,[n.id,nnn]
where:n command sequential number (1÷9)s User (A÷T)
num_bn Number of bundle feed notes:from 1 to 100: number of notes0: max number of notes (100)
mode 0: START COUNTING: Start a new counting transaction
1: CONTINUE COUNTING: Continue the previous counting transaction (valid only if the user send this mode after mode=0 the first time)
2: FULL COUNTING:Start a new counting transaction, feed all the notes in the feed input slot, splitting the notes in bundles (according to the “num_bn” parameter)
rc reply-code (1÷2 ASCII-chars)All error condition (See reply code table § 4.1)
aaa Total of accepted notesrrr Total of cycle of reject : reject, counterfeit, suspect, refuseduuu Total of suspect & counterfeit notes
[n.id,nnn] Counting-note(nnn) by denomionation (n,id)
START COUNTING (mode = 0)The CM18 feed the number of notes specified by the parameter “num_bn”.The answer will reply the detailed of the counted notes during the session.
COUNTINUE COUNTING (mode = 1)The CM18 feed the number of notes specified by the parameter “num_bn”.The answer will reply the detailed of the counted notes during the session added to the previous “counting mode block” command.
FULL COUNTING (mode = 2)The CM18 feed all the notes in the feeder input slot, splitting the notes in bundles according to the “num_bn” parameter. The notes are counted to the “num_bn” parameter value then the CM stops waiting until the notes are removed from the output slot. When the output slot is free the CM start to feed the next bundle.The answer will reply the detailed of all the counted bundles during the session.
Overview
cashpro
Date: 18/10/2011 Code: Page 22 Product: CM18Subject Software & Interface Specifications
Example 1:A bundle of notes:
5 EURO: 50 notes100 EURO: 50 notes500 EURO: 100 notes
Put the bundle in the Feeder input slotExecute a START COUNTING:
Cmd: D,1,L,5,0000,0,100
The CM18 feed the first 100 notes, if no jam occurs the answer will be:
Answ: D,1,L,64,100,0,0,EUCA,50,EUHA,50
The reply code 64 means that there are notes in the feeder input slot and the transaction has to be completed.The CONTINUE COUNTING command has to be executed in order do complete the transaction.
Cmd: D,1,L,5,0000,1,100
The CM18 feed 100 notes, if no jam occurs the answer will be the detail of the Start Counting command plus the detail of the Continue Counting command
Answ: D,1,L,1,200,0,0,EUCA,50,EUHA,50,EUJA,100
Example 2:Bundle of notes:
5 EURO: 50 notes20 EURO: 20 notes100 EURO: 50 notes500 EURO: 100 notes
Put the bundle in the Feeder input slotExecute a FULL COUNTING:
Cmd: D,1,L,5,0000,2,100
The CM18 feed the first 100 notes, then stop waiting until the notes are removed from the output exit slot. During the waiting the following message are displayed on the console: “BANKNOTE ON RIGHT (or LEFT) OUTPUT” “PICK UP NOTE ON RIGHT (or LEFT) EXIT SLOT” and an acoustic signal on the console buzzer is sent.When the operator free the output slots the CM18 start to feed the next bundle of notes and so on, until the Feeder Input slots and the output exit slot are free. If no jam occurs the answer will be the detail of all the counted notes
Answ: D,1,L,1,220,0,0,EUCA,50,EUDA,20,EUHA,50,EUJA,100
Overview
cashpro
Date: 18/10/2011 Code: Page 23 Product: CM18Subject Software & Interface Specifications
2.6. Deposit sorting one denomination
It executes the sorting of the note in input, put the fit note in output slot, the unfit in safe in the cassette configured for the specific denomination, counterfeit or suspect in reject slot. It stop when max_fit is reached in output slot or when there are no more input note
cmd: D,n,s,7,n.id, mode,max_fit
reply: D,n,s,rc,aaa,rrr,uuu,fff,n.id,nnn,nn1,…,nn8
where: n command sequential number (1÷9)s User (A÷T)
mode 0: STARTIn this case the output & reject slot must be free and the first FIT banknote feeded is take as model for counting 1: CONTINUEIn this case the reject slot must be free and the denomination specified by n.id parameter is take as model for counting
n.id Denomination, valid only if mode = 1, otherwise must be ‘0000’
max_fit max number of FIT note in output slotrc reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of fit notes in output slotrrr Total of unfit notes in safe in the cassette configured for the
specific denominationuuu Total of cycle of reject: counterfeit, reject, suspect notes, fit
wrong denomination with n.id ≠ ‘0000’ and feeder reject in reject slot
fff Total of suspect and counterfeit notes in reject slotn.id,nnn Counting note(nnn) by denomination (n,id) of the first note
entered (mode=0), or of the denomination specified (mode=1)
nn1..nn8 Number of note deposited in the cassette configured for the specific denomination
Example:Cassette A = EUCA (5 Euro) Cass. B = EUDA (10 Euro)Cassette C = EUEA (20 Euro) Cass. D = EUGA (50 Euro)Cassette E = EUHA (100 Euro) Cass. F = EUIA (200 Euro)Cassette G = EUJA (500 Euro) Cass. H = EU-- (100 Euro)
Note in input slot: 1 EUCA fit, 1 EUEA unfit, 2 EUCA counterfeit (first note EUCA)
Host: D,1,L,7,0000,0,3CM: D,1,L,1,1,1,2,2,EUCA,1,0,0,1,0,0,0,0,0
To continue counting of EUCAHost: D,1,L,7,EUCA,1,2 Note in input slot: 1 EUCA, 2 EUEA, 2 EUCA, 3 EUDA all fitCM: D,1,L,2,2,0,0,EUCA,2
Overview
cashpro
Date: 18/10/2011 Code: Page 24 Product: CM18Subject Software & Interface Specifications
2.7. Deposit forced (only one note)
Force the deposit of one banknote in safe.
cmd: D,n,s,9,n.id,modeD,n,s,1,n.id*
reply: D,n,s,rc,aaa,rrr,uuu,nn1,…,nn8
where: n command sequential number (1÷9)s User (A÷T)
mode 0: send one banknote on a cassette with single denomination (only BCE_OK, BCE_COUNTERFEIT and BCE_SUSPECT category of banknotes)
1: send one banknote on a Unfit Cassette or MultiUnfit Cassette (only BCE_OK, BCE_COUNTERFEIT and BCE_SUSPECT category of banknotes)
2: send one banknote on a specified single denomination cassette (not verify answer of identifier)
n.id Denomination, valid only if mode = 2, otherwise must be ‘0000’rc Reply-code (1÷2 ASCII-chars)
aaa Total of notes deposited in saferrr Total of refused notes, in output slotuuu Total of cycle of reject
nn1..nn8 Number of note deposited in safe of any cassette
Cass. A EUCA Cass. B EUDACass. C EUEA Cass. D EUGACass. E EUHA Cass. F EUIACass. G EUJA Cass. H EU--
Example1: send one banknote on a cassette with single denominationInput slot one banknote EUEA counterfeitHost: D,1,L,9,0000,0CM: D,1,L,1,1,0,0,0,0,1,0,0,0,0,0
Example2: send one banknote on a Unfit Cassette or MultiUnfit CassetteInput slot one banknote EUEA counterfeitHost: D,2,L,9,0000,1CM: D,2,L,1,1,0,0,0,0,0,0,0,0,0,1
Example3:Input slot one banknote EUCA counterfeitHost: D,3,L,9, EUCA,2CM: D,3,L,1,1,0,0,1,0,0,0,0,0,0,0
* the same of D,n,s,9,n.id,2
Overview
cashpro
Date: 18/10/2011 Code: Page 25 Product: CM18Subject Software & Interface Specifications
2.8. Deposit fitness sorting
These commands are used for FITNESS SORTING and is useful to separate fit notes from unfit, counterfeit, reject and suspect notes. During the deposit the FIT notes are put in output slot and all others notes are put in reject slot
cmd: D, n, s, 20, 0000D, n, s, 21, 0000
reply: D, n, s, rc, aaa, rrr, uuu, [n.id,nnn],…, [n.id,nnn]
where:n Command sequential number (1÷9)s User (A÷T)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of FIT notes in output slotrrr Total of cycle of reject: unfit, counterfeit, reject, suspect
notes and feeder reject in reject slotuuu Total of suspect and counterfeit notes in reject slot
[n.id,nnn] Deposited-note(nnn) in output slot
Example:Input slot 2 EUCA 3 EUJA 5 EUHA 1 EUDA all FIT
Host: D,1,L,20,0000CM: D,1,L,1,11,0,0, EUCA,2, EUJA,3, EUHA,5,EUDA,1
Host: D,2,L,21,0000CM: D,1,L,1,11,0,0, EUCA,2, EUJA,3, EUHA,5,EUDA,1
Input slot 2 EUCA fit 3 EUJA fit 5 EUHA unfit 1 EUDA counterfeitHost: D,1,L,20,0000CM: D,1,L,1,5,6,1, EUCA,2, EUJA,3
Overview
cashpro
Date: 18/10/2011 Code: Page 26 Product: CM18Subject Software & Interface Specifications
2.9. Deposit fitness face sorting
These commands are used for FITNESS FACE SORTING and is useful to separate fit notes with a specific face from fit with wrong face, unfit, counterfeit, reject and suspect notes. During the deposit the FIT notes with valid face (the first note feeded) are put in output slot and all others notes are put in the reject slot
cmd: D, n, s, 22, 0000D, n, s, 23, 0000
reply: D, n, s, rc, aaa, rrr, uuu, [n.id,nnn],…, [n.id,nnn]
where:n command sequential number (1÷9)s User (A÷T)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of FIT notes with FACE valid in output slotrrr Total of cycle of reject: fit wrong face,unfit, counterfeit,
reject, suspect notes and feeder reject in reject slotuuu Total of suspect and counterfeit notes in reject slot
[n.id,nnn] Deposited-note(nnn) in output slot
Example:Input slot 75 banknote fit of EUEA mixed on all face and 25 EUDA fit all the same face
Host: D,3,L,22,0000CM: D,3,L,1,100,41,0, EUEA,34,EUDA,25
Host: D,4,L,23,0000CM: D,3,L,1,100,41,0, EUEA,34,EUDA,25
Overview
cashpro
Date: 18/10/2011 Code: Page 27 Product: CM18Subject Software & Interface Specifications
2.10. Deposit denomination sorting
These commands are used for DENOMINATION SORTING. During the deposit, the notes equal to the specified reference note are put in output slot and all others notes are put in the reject slot
cmd: D, n, s, 24, ref_noteD, n, s, 25, ref_note
reply: D, n, s, rc, aaa, rrr, uuu, [n.id,nnn]
where:n command sequential number (1÷9)s User (A÷T)
ref_mode 0000 = take first valid feeded banknote as model for counting den = denomination to sort (ex. EUCA)
rc Reply-code (1÷2 ASCII-chars)All error condition (See reply code table § 4.1)
aaa Number of fit/unfit notes valid in output slotrrr Total of cycle of reject: fit wrong with wrong reference,
counterfeit, reject, suspect notes and feeder reject in reject slot
uuu Total of suspect and counterfeit notes in reject slot[n.id,nnn] Deposited-note(nnn) in output slot
Example: Input slot 74 banknotes FIT of EUEA mixed on all face, 1 banknotes counterfeit of EUIA, 1 reject banknote, 3 banknotes of EUCA. The first banknote is EUEA
Host: D,1,L,24,0000CM: D,1,L,1,74,4,1, EUEA,74
Input slot 1 banknote FIT of AKCT mixed on all face, 1 banknotes counterfeit of EUEA, 8 reject banknote. The first banknote is AKCT
Host: D,2,L,25,0000CM: D,2,L,1,1,9,1,AKCT,1
Overview
cashpro
Date: 18/10/2011 Code: Page 28 Product: CM18Subject Software & Interface Specifications
2.11. Deposit counting fit batch
This command is used for deposit counting fit batch. During the deposit, the notes fit equal to the specified reference note are put in output all others notes are put in the reject slot. It stop when bundle size is reached in output slot or when there are no more input note or the reject slot is full (100 notes).
cmd: D,n,s,26,n.id, mode,bundle_size
reply: D,n,s,rc,aaa,rrr,uuu,n.id,nnn
where: n command sequential number (1÷9)s User (A÷T)
mode 0: STARTIn this case the output & reject slot must be free and the first banknote (BCE_OK, BCE_FALSE, BCE_SUSPECT) feeded is take as model for counting 1: CONTINUEIn this case the reject slot must be free and the denomination specified by n.id parameter is take as model for counting
n.id Denomination, valid only if mode = 1, otherwise must be ‘0000’
bundle_size Max number of FIT note in output slot (1÷200)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of fit notes in output slotrrr Total of cycle of reject: fit wrong with different reference,
counterfeit, reject, suspect notes and feeder reject in reject slot
uuu Total of suspect and counterfeit notes in reject slotn.id Identify the denomination of the first note feeded
(BCE_OK,BCE_FALSE,BCE_SUSPECT)nnn Number of fit notes in output slot
Example:Target: make a batch of 30 EUCA note
Note in input slot: 18 EUCA fit, 2 EUEA unfit, 2 EUCA counterfeit (first note EUCA)
Host: D,1,L,26,0000,0,30CM: D,1,L,1,18,4,2,EUCA,18
To continue counting of EUCAHost: D,1,L,26,EUCA,1,12 Note in input slot: 10 EUCA, 2 EUEA, 2 EUCA, 3 EUDA 30 EUCA all fitCM: D,1,L,1,12,7,0,EUCA,12
Output: 30 EUCA fit in output slot 7 notes in reject slot and 28 in input slot
Overview
cashpro
Date: 18/10/2011 Code: Page 29 Product: CM18Subject Software & Interface Specifications
2.12. Deposit counting fit/unfit batch
This command is used for deposit counting fit/unfit batch. During the deposit, the notes fit equal to the specified reference note are put in output slot and all others notes are put in the reject slot. It stop when bundle size is reached in output slot or when there are no more input note or the reject slot is full (100 notes).
cmd: D,n,s,27,n.id, mode,bundle_size
reply: D,n,s,rc,aaa,rrr,uuu,n.id,nnn
where: n command sequential number (1÷9)s User (A÷T)
mode 0: STARTIn this case the output & reject slot must be free and the first banknote (BCE_OK, BCE_FALSE, BCE_SUSPECT) banknote feeded is take as model for counting 1: CONTINUEIn this case the reject slot must be free and the denomination specified by n.id parameter is take as model for counting
n.id Denomination, valid only if mode = 1, otherwise must be ‘0000’
bundle_size Max number of FIT/UNFIT note in output slot (1÷200)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of fit notes in output slot rrr Total of cycle of reject: fit/unfit wrong with different
reference, counterfeit, reject, suspect notes and feeder reject in reject slot
uuu Total of suspect and counterfeit notes in reject slotn.id,nnn Counting note(nnn) by denomination (n,id) of the first note
entered (mode=0), or of the denomination specified (mode=1)
Example:Target: make a batch of 30 EUCA fit/unfit note
Note in input slot: 18 EUCA fit, 2 EUEA unfit, 2 EUCA counterfeit, 2 EUCA unfit (first note EUCA)
Host: D,1,L,27,0000,0,30CM: D,1,L,1,20,4,2,EUCA,20
To continue counting of EUCAHost: D,1,L,27,EUCA,1,10 Note in input slot: 10 EUCA, 2 EUEA, 2 EUCA, 3 EUDA 30 EUCA all fitCM: D,1,L,1,10,38,0,EUCA,10
Output: 30 EUCA fit in output slot 7 notes in reject slot and 28 in input slot
Overview
cashpro
Date: 18/10/2011 Code: Page 30 Product: CM18Subject Software & Interface Specifications
2.13. Deposit counting facing all denomination
This command is used for FACE SORTING and is useful to sort notes with a specific face up or down.During the deposit the first note feeded is take as model for counting: the notes of all denomination with face equals to the first note fed are are put in output slot and all others notes are put in the reject slot (uncluding suspect, counterfeit, feeder reject,unknown)
cmd: D, n, s, 28, 0000
reply: D, n, s, rc, aaa, rrr, uuu, [n.id,nnn],…, [n.id,nnn]
where:n command sequential number (1÷9)s User (A÷T)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of notes with FACE valid in output slotrrr Total of cycle of reject: fit wrong face, counterfeit, reject,
suspect notes and feeder reject in reject slotuuu Total of suspect and counterfeit notes in reject slot
[n.id,nnn] Deposited-note(nnn) in output slot
2.14. Deposit counting orientating all denomination
This command is used for ORIENTATING SORTING and is useful to separate notes with a specific face 0 or 1 or 2 or 3. During the deposit the first note feeded is take as model for counting: the notes of all denomination with fspecific face equals to the first note fed are are put in output slot and all others notes are put in the reject slot (uncluding suspect, counterfeit, feeder reject,unknown)
cmd: D, n, s, 29, 0000
reply: D, n, s, rc, aaa, rrr, uuu, [n.id,nnn],…, [n.id,nnn]
where:n command sequential number (1÷9)s User (A÷T)rc Reply-code (1÷2 ASCII-chars)
All error condition (See reply code table § 4.1)aaa Number of FIT notes with FACE valid in output slotrrr Total of cycle of reject: fit wrong face, counterfeit, reject,
suspect notes and feeder reject in reject slotuuu Total of suspect and counterfeit notes in reject slot
[n.id,nnn] Deposited-note(nnn) in output slot
Overview
cashpro
Date: 18/10/2011 Code: Page 31 Product: CM18Subject Software & Interface Specifications
2.15. Undo/Accept/View list deposit
With this command it is possible to cancel the deposits done until that moment or to accept them or to verify the amount of undo deposit.
cmd: U,n,s,mode
reply: U,n,s,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)s User (A÷T)
mode
0 UNDO DEPOSIT: cancel the deposits done until that moment like one or more withdrawal operations1 ACCEPT DEPOSIT: accept all the deposits operations done until that moment so it’s not possible to execute undo deposit 2 VIEW LIST DEPOSIT: view the list of all banknotes that are included in the undo deposit at that moment
rc reply-code (1÷2 ASCII-chars)[n.id,nnn] note(nnn) by denomination (n.id) (Es.:EUCA,10)T-out See “Withdrawal “ command (see § 2.16 )
Overview
cashpro
Date: 18/10/2011 Code: Page 32 Product: CM18Subject Software & Interface Specifications
2.16. Withdrawal
This command delivers to the operator exit slot the requested number of notes for each specific denomination, according to delay class, if enabled. If the cassette does not have enough notes the delivery will stop with the ‘Denomination Empty’ warning.This command can also be used to activate the ‘Alarm relays’ by sending as n.id,nnn the values 9999,000.Is possible to request the number of notes directly from a specified cassette: TARGET MODE.The notes are withdrawn only from the specified target.
cmd: W,n,s,[n.id,nnn],.....,[n.id,nnn]where:
n sequential number(1÷9)s User (A÷T)[n.id,nnn] note requested by DENOMINATION
(Es: 'EUIA,10,EUEA,5,EUCA,7') or note requested by TARGET(Es: AAAA, 132)
reply: W,n,s,rc,[n.id,nnn],....,[n.id,nnn]
where: rc reply-code (1÷2 ASCII-chars)
67 = Wrong side68 = Request not withdrawing,due to delay classAll other error conditions (See reply code table § 4.1)
[n.id,nnn] Num. of notes in output by denomination(ie:'ITKN,9') or by target (Es: AAAA, 155)nnn = from 1 to 3 decimal ASCII code
T-out Min 112 sec – Max 800 sec (with special clean enable)The value is to be considered for cassette
NOTES:
If a problem occurs during the withdrawal operation (i.e. Jam in the safe) the motor will stop and the number of notes in the exit slot could be different from the requested number.
Overview
cashpro
Date: 18/10/2011 Code: Page 33 Product: CM18Subject Software & Interface Specifications
2.17. Close
This command will close the operator work session and remove the other serial channel from the busy status.
cmd: C,n,s
reply: C,n,s,rc
where:n sequential number(1÷9)s User (A÷T)rc reply-code (1÷2 ASCII-chars)T-out 1 sec**
** If the command is executed during the unit initialization (recovery cycle) the reply sequence will be sent at the end of the mechanical operation.
T-out in standard recovery: 60 secondsT-out in automatic jam clearance: 120 seconds
The command is executed only when the reply code is Ok.
2.18. Alarm & Command Block
2.18.1. Silent Alarm
This command allows the operator to switch ON/OFF the Alarm Relay, which is normally connected to the remote alarm station. The operation will be executed without making any noise.
cmd: B,n,m
reply: B,n,rc
where:n sequential number(1÷9)m 0 Set alarm OFF
1 Set alarm ON rc reply-code (1÷2 ASCII-chars) T-out 1 sec
Overview
cashpro
Date: 18/10/2011 Code: Page 34 Product: CM18Subject Software & Interface Specifications
2.18.2. Temporary Command Block (Time Lock)
With this command it is possible to have a temporary lock of the unit, causing the reject of all the other commands for a period of time defined by parameter ‘tt’ (Min. 5 min., Max 30 min.). The Lock time is counted only when power is on and during this period the reply code will be ‘98’ for all the commands including the transparent ones.If the unit is switched off before the ‘tt’ time has expired, at next power on , the Lock time will start from the beginning.
cmd: B,n,2,tt
reply: B,n,rc
where:n sequential number(1÷9)
ttLock timett <= 5 lock time = 5 minutestt >=30 lock time = 30 minutes5 < tt < 30 lock time = tt minutes
rc reply-code (1÷2 ASCII-chars)T-out 1 sec
2.18.3. Keycode Command Block (Keycode Lock)
With this command it is possible, using a password, to lock the unit causing the reject of all the other commands.To reset the lock condition the lock off command with the correct key code has to be sent.
cmd: B,n,m,pwd
reply: B,n,rc
where:n sequential number(1÷9)m 3 = Lock on
4 = Lock offpwd Keycode Access (6 ASCII-chars)
rc reply-code (1÷2 ASCII-chars)T-out 1 sec
Overview
cashpro
Date: 18/10/2011 Code: Page 35 Product: CM18Subject Software & Interface Specifications
2.18.4. Temporary Open Door
With this command it is possible to have a temporary unlock of the unit safe, only if allarm1 is handling like open safe door (see § 2.27.4), for a period of time defined by parameter ‘tt’ (Min. 1 minutes, Max 30 minutes) and it is possible to define an optional period of time before start Door time defined by parameter ‘tw’ (Min. 0 minutes, Max 50 minutes). The Door time is counted only when power is on and only if operator side is VOID (not LEFT or RIGHT) or in case of JAM of CM18. During this period the reply code will be ‘4’ for all the commands including the transparent ones.If the unit is switched off before the ‘tt’ time has expired, at next power on , the Door time is lost.
cmd: B,n,5,tt[,tw]
reply: B,n,rc
where:n sequential number(1÷9)
ttDoor timett >=30 Door time = 30 minutes1 < tt < 30 Door time = tt minutes
twDoor wait time (Optional)0 or not present = 0 minutestw >=50 Door wait time = 50 min.0 < tw < 50 Door wait time = tw min.
rc reply-code (1÷2 ASCII-chars) T-out 1 sec
2.18.5. OPTIONAL Alarm1
With this command it is possible to manage ALARM1. If you want to use this command the user don’t want tomanage TEMPORARY OPEN DOOR and ANTISISMIC ALARM.
cmd: B, n, 6, all_st
reply: B, n, rc
where:n sequential number(1÷9)
all_st 0 = Alarm_1 OFF1 = Alarm_1 On
rc reply-code (1÷2 ASCII-chars) T-out 1 sec
Overview
cashpro
Date: 18/10/2011 Code: Page 36 Product: CM18Subject Software & Interface Specifications
2.19. Extended-status
Using this command it is possible to have a detailed information regarding the status of every module. This command can also be sent in an error condition since no previous ‘Open’ is required.No status-code is returned for missing modules. We recommend to use this command in the ‘Service’ menu of the application software.Refer to the extended reply code tables at the end of this manual for detailed description.
cmd: E,n
reply: E,n,rc[,1st,2st,3st,Ast,Bst,Cst, Dst ,Est ,Fst ,Gst Hst]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars))1st Feeder status es.1212st Controller status es. 2403st Reader status es. 317Ast Cassette A status see example belowBst Cassette B status Cst Cassette C statusDst Cassette D statusEst Cassette E statusFst Cassette F statusGst Cassette G statusHst Cassette H status
T-out 1 sec
Note: If the Power-ON reset cycle is halted by an error , the information of the extended status command might not be fully compiled , due to a missing reply of some modules.
Example 1 :Deposit command with a Feeder Jam (reply code = 16) the Extended Status could be:
cmd: E,1reply: E,1,16,121,240,340,A40,B05,C04,I00,E00,X00,G40,H00
The status X40 on a cassette means that the cassette is present but one of the electrical interface lines may be defected.
The cassette is not present
The cassette is present but doesn’ t reply
The cassette is present but it has been switched off and the cassette logical address match the physical position
Overview
cashpro
Date: 18/10/2011 Code: Page 37 Product: CM18Subject Software & Interface Specifications
Example 2:Recovery cycle with a safe mismatch, the Extended Status could be:
cmd: E,1
reply: E,1,30,121,240,340,A40,B05,C04,D40,I0A,X00,G40,H00
2.20. Version
Use this command to get the firmware release and version of each single module.
cmd: V,n,a
reply: V,n,rc,ver,rel
where: a module address '0'(30h) CM18 peripheral
0 = controller compatibility versus modules*1 = Feeder(for compatibility)2 = Real Time Controller module3 = Identifier module4 = Safe controller module5 = FPGA6 = Operating System Card module xDLLA÷H = cassette A÷H
rc reply-code (1÷2 ASCII-chars) ver (4 ASCII-byte) Es: '1_00'rel (4 ASCII-byte) Es: '0035'T-out 1 sec
* The controller compatibility versus each module is organized as follows:
V,1,0
V,1,1,0000,xywz
Where : x is the compatibility level versus the Feeder module (i..e A,B,C)y is the compatibility level versus the Reader module (i..e A,B,C)w Reservedz is the compatibility level versus the Cassette (A…H) module (i..e A,B,C)
The cassette is not present
The cassette is present but it has been switched off and the cassette logical address doesn’t match the physical
position
The cassette is present but doesn’t reply
Overview
cashpro
Date: 18/10/2011 Code: Page 38 Product: CM18Subject Software & Interface Specifications
2.21. Key-code Change
The CM18 default code is '123456' any customer can change this code using the following command .
cmd: K,n,s,t,old-code,new-code
reply: K,n,s,t,rc
where:n sequential number(1÷9)s User (A÷T)t target-cassette (A÷H)old-code old key-code (6 ASCII-chars 0x20÷0x7f )new-code new key-code (6 ASCII-chars 0x20÷0x7f )rc reply-code (1÷2 ASCII-chars)T-out 1 sec
Overview
cashpro
Date: 18/10/2011 Code: Page 39 Product: CM18Subject Software & Interface Specifications
2.22. Assign cassette
This command initializes the cassette logical address according to the physical positions .
cmd: A,n
reply: A,n,rc,ms
where:n sequential number(1÷9)rc reply-code (1÷2 ASCII-chars) ms message (1/2 decimal-ASCII)
0 = OK1÷8 = cassette A÷H not empty 11÷18 = cassette A÷H cmd failed
T-out 7 sec
Use this command when a cassette is replaced or moved from one position to another.
At every power-on the CM18 performs the reset cycle for all the cassettes and control the logical to physical coherence. In case of mismatch, after a second reset cycle the ‘Out of Service’ status is forced automatically.
If the cassettes are empty, the ‘Assign’ command will automatically restore the ‘OK’ status.If the cassettes are not empty the command will fail.
The ‘Extended Status’ command will display the cassettes logical address in the position order: i.e.:Ext. status rx= 140,240,340,A05,D05,C05,B05,E05,F05,G05,H05,I05,J05It means that in position B there is cassette D and viceversa.
At this time you can decide to exchange again the cassette B and D or send the Assign cmd .Only the physical-empty cassettes will change their setting .After this command its necessary to check the Set-up of the machine .
Overview
cashpro
Date: 18/10/2011 Code: Page 40 Product: CM18Subject Software & Interface Specifications
2.23. Init cassette
When the ‘Note counter’ of a cassette does not match the physical status of the same one, after the complete withdrawal, the init cassette command has to be used in order to avoid the mismatching.(If some notes are manually removed after a cassette jam, the init command can be used to reset the cassette and initialize the logical note counter).For both user_name CASH BALANCE OPERATOR is set to zero if this command is correctly executed (reply code – rc 1 message – ms 0).
cmd: I,n,s,n.id,code[,inote]
reply: I,n,s,n.id,rc,ms[,nnn]
where: n sequential number(1÷9)s User (A÷T)n.id Denomination to initialize (Es: EUCA) or Cassette to initialize (Es: AAAA)code Cassette key-codeinote (Optional)
0 or not present = Init cassette command, withdrawn notes are not replied1 = Init cassette command, withdrawn notes are replied
rc reply-code (1÷2 ASCII-chars)ms Message(1 dec.-ASCII)
0 = Ok, 1,3,5 = reserved, 2= cassette not present4= wrong code, 6= denomination not empty
nnn inote parameter = 1 Number of withdrawn notes T-out 112 sec
The value is to be considered for cassette
The following table describes how the INIT command works in the four possible situations.
Note counter Physical status Action taken ≠ 0 ≠ Empty None - Rc = 70, ms = 6 *= 0 = Empty Set note counter = 10, Withdraw 10 notes, if the physical status
is empty at the end of the operation ,the reply code is OK *
≠ 0 = Empty Same as above = 0 ≠ Empty Same as above
* Normal operating condition Wrong condition
Note: If the target for the Init command is a denomination the init will work simultaneously on every cassette programmed with the specified denomination (Es: I, 1, L, EUCA, 123456).If more than one cassette is programmed with the same denomination and only one of the cassettes has to be initialized, it will be useful to use the init cmd specifying the cassette to init (Es: I, 1, L, AAAA, 123456).If a jam occurs during the cash-out in init command an error log record is recorded as jammed withdrawal operation.
Overview
cashpro
Date: 18/10/2011 Code: Page 41 Product: CM18Subject Software & Interface Specifications
2.24. Empty cassette
With this command it is possible to empty a cassette specifying the number of notes in each bundle.The requested number of notes is delivered to the operator exit notes until the cassette is empty, on the end of each withdrawal operation an acoustic signal is given out in order to force the operator to remove the bundle from the output exit slot.The bundle notes requested should not exceed the 200 notes, otherwise the command will not be accepted.For both user_name CASH BALANCE OPERATOR is set to zero if this command is correctly executed (reply code – rc 1 message – ms 0).
cmd: I,n,s,cas.id,code,2,bundle_num
reply: I,n,s,cas.id,rc,ms,physical_nnn,logical_nnn
where:n sequential number(1÷9)s User (A÷T)cas.id Cassette to empty (AAAA, BBBB … GGGG)code Cassette key-codebundle_num Number of notes for each bundle (max 200)rc reply-code (1÷2 ASCII-chars)ms Message(1 dec.-ASCII)
0 = Ok1,3,5 = reserved 2= cassette not present 4= wrong code 6= denomination not empty
Physical_nnn Number of notes physically paid out (1/3 dec.-ASCIILogical_nnn Number of notes according to the cassette counter before empting (1/3 dec.-
ASCII)T-out Min 112 sec – Max 800 sec (with special clean enable)
The value is to be considered for cassette
Overview
cashpro
Date: 18/10/2011 Code: Page 42 Product: CM18Subject Software & Interface Specifications
2.25. Get Config
This command is used to read the complete set-up of the unit for the specified side.
cmd: R,n,s,bank
reply: R,n,s,rc,ms,a.id,b.id,c.id,d.id,e.id,f.id,g.id,h.id,i.id,j.id[,n.id,vvvv,hhh,ge,a,b,c,d,e,f,g,h,i,j]*12]
where:
n sequential number(1÷9)s User (A÷T)
bank Reader channel bank number:0 or not specified = bank 1, channel 1…121 = bank 1, channel 13…242 = bank 1, channel 25…323 = bank 2, channel 1…124 = bank 2, channel 13…245 = bank 2, channel 25…32In case of Multicurrency:6 = bank 3, channel 1…127 = bank 3, channel 13…248 = bank 3, channel 25…329 = bank 4, channel 1…1210 = bank 4, channel 13…2411 = bank 4, channel 25…32
rc reply-code (1÷2 ASCII-chars) 1 = OK60 = Safe out of service
ms Message (1 dec.-ASCII)0,10,20 = Ok1,11,21 = Denomination not present/wrong dimension2,12,32 = Cassette not present
a.id,…,j.id Cass.'a' denomination(4 ASCII-byte)…. Cass.'g' denomination (4 ASCII-byte)….n.id Identifier-denomination(4 ASCII-byte)vvvv Data-version(4 ASCII-byte)hhh Denomination-height (in mm. 1÷3 ASCII-byte)ge Denomination general-enable('N'=disabled/'Y'=enabled)
a…j A÷H cassette assigned('N'=disabled/'Y'=enabled)T-out 2 sec
Overview
cashpro
Date: 18/10/2011 Code: Page 43 Product: CM18Subject Software & Interface Specifications
2.26. Set Config
This command is used to assign an identifier-denomination to one or more cassette and/or enable/disable the denomination or the single cassette .
cmd: S,n,s,[n.id,e,t], ..., [ ]
reply: S,n,s,rc,ms
where:n sequential number (1÷9)s User (A÷T)n.id denomination (4 ASCII-chars)e enable flag ('N'=disabled/'Y'= enabled)t enable-target ('3'= identifier/'A÷J' = cassette)rc reply-code (1÷2 ASCII-chars)
1 = OK65 = Wrong pwd69 = Cassette not present70 = Cassette not empty71 = Denomination not present
ms Message0= Ok1= Denomination not-present2= Cassette not present3= Different value for the same cassette4= Wrong key code
T-out 7 sec*each denomination
EXAMPLES(for side 'R' with denomination EUCA):
disable banknote EUCA on identifier: S,1,R,EUCA,N,3enable banknote EUCA on identifier : S,2,R,EUCA,Y,3enable bank note EUCA on cassette 'A' (right side): S,3,R,EUCA,Y,Adisable bank note EUCA on cassette 'A' (right side): S,4,R,EUCA,N,A
Overview
cashpro
Date: 18/10/2011 Code: Page 44 Product: CM18Subject Software & Interface Specifications
2.27. Fill command
With this command it is possible to transfer data or information from the host PC to the unit.
cmd: F,n,m, … …
where:n sequential number (1÷9)m Fill type (0÷255)
…….. Data/info to be transferred *
* The data field can change in size and number according to the data type specified in parameter ‘m’.
2.27.1. Date and Time transfer
This command will give the date and time info to the device. The information will be stored in one error log record at the power off , allowing the service people to have a more detailed control over the unit work load. This command adjust only month, day, hour and minute of Data & Time clock
cmd: F,n,0,mm,dd,hh,pp
reply: F,n,0,rc
where:n sequential number (1÷9)
mm Month (01÷12)dd day (01÷31)hh Hour (01 ÷24)pp Minutes (00 ÷59)rc reply-code (1÷2 ASCII-chars)
The new error-log will also store the time (hours, minutes) on the extended record of each error during deposit or withdrawal, so it is advisable to transfer the time before each Deposit or Withdrawal operation.
Note: It’s advisable to use the new “write data and time clock” (see § 2.27.3)
Overview
cashpro
Date: 18/10/2011 Code: Page 45 Product: CM18Subject Software & Interface Specifications
2.27.2. Service Transfer
This command gives data to the device. The information are stored in one Error Log record (reply code in Error Log596).
cmd: F,n,2,nn1,nn2,nn3,nn4,nn5,nn6,nn7,nn8,nn9,nna,nnb
reply: F,n,2,rc
where:n sequential number (1÷9)
nn1÷nnb Hexadecimal data. (two hex ASCII)rc reply-code (1÷2 ASCII-chars)
2.27.3. Write Data & Time clock
The CM18 controller has got a time keeper component on board. This command has to be used to initialize the time keeper components.
cmd: F,n,4,[cc,]ss,pp,hh,ww,dd,mm,yy
reply: F,n,4,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[cc] Control register (sign – bit5 –, calibration value – bit4…bit0 – ) optional parameter(two hex ASCII)
ss Seconds (00÷59) – (two hex ASCII)pp Minute (00÷59) – (two hex ASCII)hh Hour (00÷23) ) – (two hex ASCII)ww Day of week (01 = Monday ÷ 07 = Sunday)
(two hex ASCII)dd Day of month (01÷31) – (two hex ASCII)
mm Month (01÷12) – (two hex ASCII)yy Year (00÷99) – (two hex ASCII)
Overview
cashpro
Date: 18/10/2011 Code: Page 46 Product: CM18Subject Software & Interface Specifications
2.27.4. Fill CM Config
With this command it is possible to configure some functionality parameters on the CM
cmd: F,n,7,nnnn
reply: F,n,7,rc
where:n Sequential number (1÷9)
nnnn 4 hex digit, bit oriented notation:0x0001 = view date & time on display0x0002 = reserved0x0004 = reserved0x0008 = reserved0x0010 = reserved0x0020 = reserved0x0040 = balanced cassette handling0x0080 = allarm1 handling0x0100 = use delay class dispensing0x0200 = reserved0x0400 = data & time on display in format AM and PM0x0800 = use UNFIT in SAFE0x1000 = reserved0x2000 = reserved0x4000 = reserved0x8000 = enable JOURNAL LOG
rc reply-code (1÷2 ASCII-chars)
nnnn detailed description:
View Date and Time on display (Bit: 0x0001) [1: Enable - 0: Disable ]If enabled, the controller shows date and time on display
Balanced cassette handling (Bit 0x0040)[1: Enable - 0: Disable ]If enabled, the controller handles the cassettes in “Balanced Mode”. If the same denomination is programmed on two or more different cassettes, on a deposit command the controller stores the banknotes on the cassettes with fewer notes.
Allarm1 handling (Bit 0x0080) [1: set to one - 0: set to zero]If this bit is set to one allarm1 is enabled for open safe door for more detail see 2.18.3If this bit is set to zero allarm1 is enabled for every time the Power goes ON(+36)
Use delay class dispensing (Bit: 0x0100) [1: Enable - 0: Disable ]If enabled, the controller during withdrawal use delay class dispensing
Data & time on display in format AM and PM (Bit: 0x0400) [1: Enable - 0: Disable ]If enabled view mm/dd/yy hh:mm:ss AM or PM (example: 01 December 2004 “12/01/04 11:00:30 AM”)
Use UNFIT in Safe (Bit: 0x0800) [1: Enable - 0: Disable ]If enabled Controller verify information about UNFIT get from the reader. If UNFIT cassette is present
then notes goes in SAFE in that specific cassette (for example: cassette with denomination EU--) otherwise goes on output slot
Enable JOURNAL LOG (0x8000) [1: Enable - 0: Disable ]If enabled than automatically journal log stored on flash board of controller.
Overview
cashpro
Date: 18/10/2011 Code: Page 47 Product: CM18Subject Software & Interface Specifications
2.27.5. Fill CM Option Config
With this command it is possible to configure some functionality parameters on the CM and to see yours effects is necessary to switch off and on the machine.
cmd: F,n,8,nnnn
reply: F,n,8,rc
where:n Sequential number (1÷9)
nnnn 4 hex digit, bit oriented notation:0x0001 = special clean without control0x0002 = reserved0x0004 = reserved0x0008 = special alarm mode0x0010 = identify STD/SIMPLIFIED protocol0x0020 = execute CLOSE command also in JAM0x0040 = reserved0x0080 = reserved0x0100 = reserved0x0200 = reserved0x0400 = reserved0x0800 = reserved0x1000 = reserved0x2000 = reserved0x4000 = reserved0x8000 = reserved
rc reply-code (1÷2 ASCII-chars)
nnnn detailed description:
Special clean without control (Bit: 0x0001) [1: Enable - 0: Disable ] If enabled, the controller clean some error automaticallySpecial alarm mode (Bit: 0x0008) [1: Enable - 0: Disable ] If enabled the CM18 handles the alarms in a different way: to handle the safe door mechanism or to handle the internal button to the safe.Identify STD/SIMPLIFIED protocol communication (Bit: 0x0010) [1: Enable - 0: Disable ] If enabled, the communication protocol is simplified.Execute CLOSE command also in JAM (Bit: 0x0020) [1: Enable - 0: Disable ]
If enabled the “CLOSE” command is performed also when the CM18 is in Jam status, otherwise the “CLOSE” command is not performed and the Jam code is replied.
Overview
cashpro
Date: 18/10/2011 Code: Page 48 Product: CM18Subject Software & Interface Specifications
2.27.6. Fill CM Option One Config
With this command it is possible to configure some functionality parameters on the CM and to see yours effects is necessary to switch off and on the machine.
cmd: F,n,9,nnnn
reply: F,n,9,rc
where:n Sequential number (1÷9)
nnnn 4 hex digit, bit oriented notation:0x0001 = reserved0x0002 = reserved0x0004 = reserved0x0008 = Impac. 0mm on cassette CR37 in SET_CFG0x0010 = reserved0x0020 = reserved0x0040 = reserved0x0080 = Don’t remove cass. jam when special clean without control ena0x0100 = reserved0x0200 = reserved0x0400 = reserved 0x0800 = Timeout connect/disconnect LAN0x1000 = Enable time control dispense amount (TCDA)0x2000 = reserved0x4000 = Enable booking open by external button0x8000 = reserved
rc reply-code (1÷2 ASCII-chars)
nnnn detailed description:
Use gap 0mm on cassette CR37 in SET_CFG (Bit 0x0008) [1: Enable - 0: Disable ] Enable gap 0mm on cassette CR37 and CR62 during SET CONFIG if all notes the user want to set in that cassette have the same heightDon’t remove cass. jam when special clean without control ena
Enabling this option, when happen CASSETTE A…H JAM, if “special clean without control” is enabled to remove this JAM is necessary to use traditional mode (open & close safe and cassettes).
Timeout connect/disconnect LAN (Bit 0x0800) [1: Enable - 0: Disable ]When the communication protocol is LAN, enabling this option, the unit waiting for a time of 30 sec after connection. If after this time, the host does not sending anything the unit make a disconnect.
Enable time control dispense amount (TCDA) (Bit 0x1000) [1: Enable - 0: Disable ] Enable the time control dispense amount. This is possible if the delay class dispensing are enable.Enable Booking open by external button (Bit 0x4000) [1: Enable - 0: Disable ] Enabling this option the unit handles the External Button. The external button are used to reserve temporary the unit for the side/user.
Overview
cashpro
Date: 18/10/2011 Code: Page 49 Product: CM18Subject Software & Interface Specifications
2.27.7. Fill CM Unit identification
With this command it is possible to set the identification code of the device.
cmd: F,n,10,CMxx
reply: F,n,10,rc
where:n Sequential number (1÷9)
CMxx Possible values are:CM20CM18
rc reply-code (1÷2 ASCII-chars)
2.27.8. Fill CM Cassette number
With this command it is possible to set the number of the cassettes of the device.
cmd: F,n,11,num_cas
reply: F,n,11,rc
where:n Sequential number (1÷9)
num_cas Possible values are:6810
rc reply-code (1÷2 ASCII-chars)
2.27.9. Power On Transfer
With this command a Statistic Record (Reply Code 595) and a Power on Transfer record (Reply 600) are recorded.
cmd: F,n,12
reply: F,n,12,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 50 Product: CM18Subject Software & Interface Specifications
2.27.10. Fill withdrawal bundle size
With this command it is possible to set the number of banknotes in output slot during a withdrawal operation (the default is 200)
cmd: F,n,15,num_notes
reply: F,n,15,rc
where:n Sequential number (1÷9)
num_notes Possible values are:>= 50<= 200
rc reply-code (1÷2 ASCII-chars)
2.27.11. Fill increase time control dispense amount
With this command it is possible to set the increase time control dispense amount.
cmd: F,n,17,incr_amount
reply: F,n,17,rc
where:n Sequential number (1÷9)
incr_amount Increase time control dispense amount (max value 255)rc reply-code (1÷2 ASCII-chars)
2.27.12. Fill counting bundle size
With this command it is possible to set the number of banknotes in output slot during a counting operation (the default is 200)
cmd: F,n,18,num_notes
reply: F,n,18,rc
where:n Sequential number (1÷9)
num_notes Possible values are:>= 1<= 200
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 51 Product: CM18Subject Software & Interface Specifications
2.27.13. Fill LAN type communication protocol
With this command it is possible to set the type of LAN communication protocol
cmd: F,n,20,type
reply: F,n,20,rc
where:n Sequential number (1÷9)
type Type of communication protocol0 Simplified1 SSL2 IPSEC
rc reply-code (1÷2 ASCII-chars)
2.27.14. Fill CM Option Two Config
With this command it is possible to configure some functionality parameters on the CM and to see yours effects is necessary to switch off and on the machine.
cmd: F,n,23,nnnnnnnn
reply: F,n, 23,rc
where:n Sequential number (1÷9)
nnnn 8 hex digit, bit oriented notation:0x00000001 = Safe CEN40 bit0x00000002 = Handling polymer banknotes bit0x00000003 ÷ 0x80000000 = reserved
rc reply-code (1÷2 ASCII-chars)
nnnn detailed description:
SAFE CEN40 (Bit 0x00000001) [1: Enable - 0: Disable ] Enable Safe CEN40 otherwise safe UL/CEN25
HANDLING POLYMER BANKNOTES (Bit 0x00000002) [1: Enable - 0: Disable ]In case of to long banknote on FSHIFT, enabling this option, the controller set an UPPER TRACK JAM otherwise the bankonte goes on reject slot.
Overview
cashpro
Date: 18/10/2011 Code: Page 52 Product: CM18Subject Software & Interface Specifications
2.27.15. Photo Sensor Write
cmd: F,n,60,ph_id,ph_val
reply: F,n,60,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
ph_id 0 = PHOTO_IN_CENTER1 = PHOTO_IN_LEFT2 = PHOTO_HMAX3 = PHOTO_FEED4 = PHOTO_C15 = PHOTO_SHIFT6 = PHOTO_INQ7 = PHOTO_COUNT8 = PHOTO_OUT9 = PHOTO_C310 = PHOTO_C4A11 = PHOTO_C4B12 = PHOTO_REJ13 = PHOTO_CASH_LEFT14 = PHOTO_CASH_RIGHT
ph_val Value to write
Overview
cashpro
Date: 18/10/2011 Code: Page 53 Product: CM18Subject Software & Interface Specifications
2.28. Test command
With this group of commands it is possible to execute different tests/actions on the unit.The structure of the sent command is always the same but the reply can have different fields according to the type of test required.
cmd T,n,t,m
where:n sequential number (1÷9)t target module
0 = General for the Unit1 = Feeder module2 = Controller3 = Reader device4 = Optional6 = OSCA…H = Cassette A÷H
m test type (0÷255)
2.28.1. Unit Cover Test
Check the status of all the unit covers/door/input/output slots, such as Safe door, top cover, input slot, etc.
cmd: T,n,0,0
reply: T,n,0,0,rc,Sa,Ca,Co,Fe,In,Re,Ls,Rs
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)Sa Safe door 0 = closed 1 = openCa Cassette tray 0 = closed 1 = openCo Cover open 0 = closed 1 = openFe Feeder open 0 = closed 1 = openIn Input slot 0 = empty 1 = not emptyRe Reject slot 0 = empty 1 = not emptyLs Left slot 0 = empty 1 = not emptyRs Right slot 0 = empty 1 = not empty
Overview
cashpro
Date: 18/10/2011 Code: Page 54 Product: CM18Subject Software & Interface Specifications
2.28.2. Unit identification
With this command it is possible to get the identification code of the device serial protocol.
cmd: T,n,0,1
reply: T,n,0,1,rc,CMxx
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
CMxx Protocol InterfaceCM25 orCM27
2.28.3. Recovery mode identification [NOT AVAILABLE]
With this command it is possible to get the type of cassette jam recovery.
cmd: T,n,0,2
reply: T,n,0,2,rc,st
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)st Type of recovery
Y : new recovery enableN : new recovery disable
Overview
cashpro
Date: 18/10/2011 Code: Page 55 Product: CM18Subject Software & Interface Specifications
2.28.4. Feeder reject
With this command it is possible to get the feeder rejects, sorted by types of reject action on the last depositoperation.
cmd: T, n, 0, 4
reply: T,n,0,4,rc,nrf_0,nrr_0,nrr_1,nrr_2,nrr_3,nrr_4,nrr_5, nrr_6,nrr_7,nrr_8
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
nrf_0 Number of feeder reject due to excessive rate
nrr_0,…,nrr_8 Reserved for future use
2.28.5. Suspend recovery
This command suspends the recovery cycle. In case of jam the recovery cycle isn’ t performed after the removal of the jam by the operator. The “re-activate recovery” command must be executed in order to perform the recovery cycle (see § 2.28.6)
cmd: T,n,0,5
reply: T,n,0,5,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
2.28.6. Re-activate recovery
This command resumes the recovery cycle suspended with the “suspend recovery” command (see § 2.28.5)
cmd: T,n,0,6
reply: T,n,0,6,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 56 Product: CM18Subject Software & Interface Specifications
2.28.7. Force reset
This command simulate a power off/power on of the machine (after the reply)
cmd: T,n,0,7
reply: T,n,0,7,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
2.28.8. Unit Cover Test & Extern Button State
Check the status of all the unit covers/door/input/output slots, such as Safe door, top cover, input slot, Left extern button of CMCONS, Right extern button of CMCONS.
cmd: T,n,0,8
reply: T,n,0,8,rc,Sa,Ca,Co,Fe,In,Re,Ls,Rs,Pl,Pr
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)Sa Safe door 0 = closed 1 = openCa Cassette tray 0 = closed 1 = openCo Cover open 0 = closed 1 = openFe Feeder open 0 = closed 1 = openIn Input slot 0 = empty 1 = not emptyRe Reject slot 0 = empty 1 = not emptyLs Left slot 0 = empty 1 = not emptyRs Right slot 0 = empty 1 = not emptyPl Left external book button/side 0 = off 1 = lightPr Right external book button/side 0 = off 1 = light
With left & right extern button (if available) is possible to book the relative side. The length of booking is 1 minute. During this period of time if OPEN command is sent from other side the relative reply code is BUSY (04).
Overview
cashpro
Date: 18/10/2011 Code: Page 57 Product: CM18Subject Software & Interface Specifications
2.28.9. Read Data & Time clock Safe Controller
Using this command it is possible to read the time clock safe controller
cmd: T,n,0,10
reply: T,n,0,10,rc,cc,ss,pp,hh,ww,dd,mm,yy
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)cc Control register (sign – bit5 –, calibration
value – bit4…bit0 – ) example 00(two hex ASCII)
ss Seconds (00÷59) – (two hex ASCII)pp Minute (00÷59) – (two hex ASCII)hh Hour (00÷23) ) – (two hex ASCII)ww Day of week (01 = Monday ÷ 07 = Sunday)
(two hex ASCII)dd Day of month (01÷31) – (two hex ASCII)
mm Month (01÷12) – (two hex ASCII)yy Year (00÷99) – (two hex ASCII)
The command to inizialize this clock is the same using for the system clock “F,n,4,[cc,]ss,pp,hh,ww,dd,mm,yy”
Overview
cashpro
Date: 18/10/2011 Code: Page 58 Product: CM18Subject Software & Interface Specifications
2.28.10. Unit output side note
If a denomination becomes full during a deposit, the recognized banknotes are rejected on the output slot.Using this command it is possible to know the number of notes present on Left or Right output after a deposit, sorted by denomination.
cmd: T,n,0,11
reply: T,n,0,11,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Num. of notes present by denomination (ie:’EUCA,9) nnn = from 1 to 3 decimal ASCII code
2.28.11. Multidenomination cassette detail
With this command it is possible to know the numbers of notes sorted by denomination stored into a cassette Nation Mode programmed (Multidenomination i.e. EU**, EU##, EU*-) (for more detail see § 3.1).This command is valid only with one cassette set in Multidenomination.
cmd: T,n,0,12
reply: T,n,0,12,rc,AAAA,BBBB, …,HHHH[,n.id,nnn]…[,n.id,nnn]
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Denomination and number of notes stored in the cassette (ie:EUJA,9)nnn = 1/3 dec-ASCII
If the logical detail doesn’t match the cassette counter a Reply Count Error (50) is replied to the host, in order to solve the count mismatching an EMPTY COMMAND has to be used. (see § 2.242.24)
Example: The cassette F is programmed as EURO Multidenomination (EU**).2 EUJA notes and 5 EUHA notes are stored into F
HOST: T,1,0,12CM: T,1,0,12,1,AAAA, BBBB, CCCC, DDDD, EEEE, EU**, GGGG, HHHH, EUJA,2, EUHA,5
Example: The cassette F is programmed as EURO Unfit (EU--). To use cassette F for EURO Unfit (EU--) is necessary to enable bit “Use UNFIT in Safe”1 EUCA note and 7 EUHA notes are stored into F
HOST: T,1,0,12CM: T,1,0,12,1,AAAA, BBBB, CCCC, DDDD, EEEE, EU--, GGGG, HHHH, EUCA,1, EUHA,7
Overview
cashpro
Date: 18/10/2011 Code: Page 59 Product: CM18Subject Software & Interface Specifications
2.28.12. Machine identification
With this command it is possible to know the machine name
cmd: T,n,0,13
reply: T,n,0,13,rc,name,comp_sw,comp_hw,serial_num
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
name CM name (4 ASCII char)where:Ascii 1 CM type:
T : Tower modelU: Under table model
Ascii 2 Banknote identifier typeS : short edge recognition
Ascii 3 Number of recycling cassetteAscii 4 Number of non-recycling cassette
comp_sw Module compatibility software (4 ASCII char)comp_hw Module compatibility hardware (4 ASCII char)serial_num Module Serial Number (12 ASCII char)
Example: A CM18 Controller will reply to a machine identification command:CM answer: T, n, 0, 13, USA0, F000, 0H0B, 0CP18-678456It means: U (Under table model) S (Short edge identifier) A (10 recycling cassette)* 0 (0 non recycling cassette)
* the reply of the number of recycling cassette is A to distinguish it from the CM14 model
Overview
cashpro
Date: 18/10/2011 Code: Page 60 Product: CM18Subject Software & Interface Specifications
2.28.13. Overflow or Unfit cassette detail
With this command it is possible to know the numbers of notes sorted by denomination stored into a cassette Nation Mode programmed (Overflow i.e. EU++ or Unfit i.e. EU--) (for more detail see § 3.1).This command is valid only with one cassette set in Overflow or Unfit.
cmd: T,n,0,14
reply: T,n,0,14,rc,AAAA, BBBB, …, HHHH [,n.id,nnn]…[,n.id,nnn]
where:n sequential number (1÷9)0 Target module 014 Test type 14rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Denomination and number of notes stored in the cassette (ie:EUJA,9)nnn = 1/3 dec-ASCII
If the logical detail doesn’t match the cassette counter a Reply Count Error (50) is replied to the host, in order to solve the count mismatching an “Empty” command has to be used. (see § 2.24)
Example: The cassette C is programmed as EURO Overflow (EU++). 2 EUCA notes and 5 EUHA notes are stored into C
HOST: T,1,0,14CM: T,1,0,14,101,AAAA,BBBB,EU++,DDDD,EEEE,FFFF,GGGG,HHHH,EUCA,2,EUHA,5
2.28.14. Get CM Config
With this command it is possible to get some functionality parameters on the CM
cmd: T,n,0,15
reply: T,n,0,15,rc,nnnn
where:n Sequential number (1÷9)
nnnn 4 hex digit, bit oriented notation:(detailed description: see § 2.27.4)
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 61 Product: CM18Subject Software & Interface Specifications
2.28.15. Init Journal LOG
This command is used to initialize JOURNAL LOG data area erasing all the stored records
cmd: T, n, 0, 17
reply: T, n, 0, 17, rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
2.28.16. Get delay class
With this command it is possible to get delay class on the CM.
cmd: T,n,0,21
reply: T,n,0,21,rc,fd,(amount,delay)*10
where:n Sequential number (1÷9)fd factor multiplication (10÷99)
amount The amount is in about a hundred unit (ie: if amount = 1 the real value is 1 * 100 = 100)
delay Delay in seconds for this classrc reply-code (1÷2 ASCII-chars)
2.28.17. Get periodic operating hour
With this command is possible to get the periodic operating hour filled to the CM
cmd: T,n,0,22,day
reply: T,n,0,22,rc,day,hour1,min1,hour2,min2,lunch_hour1, lunch_min1,lunch2_hour,lunch2_min
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
day Day of the week (1÷7) 1 Monday…7 Sundayhour1 Switch on time (Hour) (00÷23)min1 Switch on time (Minutes) (00÷59)hour2 Switch off time (Hour) (00÷23)min2 Switch off time (Minutes) (00÷59)
lunch1_hour Lunch Break on time (Hour) (00÷23)lunch1_min Lunch Break on time (Minutes) (00÷59)lunch2_hour Lunch Break off time (Hour) (00÷23)lunch2_min Lunch Break off time (Minutes) (00÷59)
Overview
cashpro
Date: 18/10/2011 Code: Page 62 Product: CM18Subject Software & Interface Specifications
2.28.18. Get A-periodic operating hour
With this command is possible to get the A-periodic operating hour filled to the CM.
cmd: T,n,0,25,day,month,year
reply: T,n,0,25,rc,day,month,year,hour1,min1,hour2,min2, lunch_hour1,lunch_min1,lunch2_hour,lunch2_min
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
day Day of month (1÷31)month Month (1÷12)year Year (0÷98) ie:
09 = 200900 = the periodic operating hour is valid for always time.
hour1 Switch on time (Hour) (00÷23)min1 Switch on time (Minutes) (00÷59)hour2 Switch off time (Hour) (00÷23)min2 Switch off time (Minutes) (00÷59)
lunch1_hour Lunch Break on time (Hour) (00÷23)lunch1_min Lunch Break on time (Minutes) (00÷59)lunch2_hour Lunch Break off time (Hour) (00÷23)lunch2_min Lunch Break off time (Minutes) (00÷59)
2.28.19. Get CM Option Config
With this command it is possible to get some functionality parameters on the CM
cmd: T,n,0,28
reply: T,n,0,28,rc,xxxx
where:n Sequential number (1÷9)
xxxx 4 hex digit, bit oriented notation:(detailed description: see § 2.27.5)
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 63 Product: CM18Subject Software & Interface Specifications
2.28.20. Get CM Option One Config
With this command it is possible to get some functionality parameters on the CM
cmd: T,n,0,32
reply: T,n,0,32,rc,xxxx
where:n Sequential number (1÷9)
xxxx 4 hex digit, bit oriented notation:(detailed description: see § 2.27.6)
rc reply-code (1÷2 ASCII-chars)
2.28.21. Unit Output UNFIT Note
With this command it is possible to know detail of unfit notes present on the output slot during last deposit transaction.
cmd: T,n,0,33
reply: T,n,0,33,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Num. of notes present by denomination (ie:EUGA,9) nnn = from 1 to 3 decimal ASCII code
2.28.22. Unit Safe UNFIT Note
With this command it is possible to know detail of unfit notes deposited in safe during last deposit transaction.
cmd: T,n,0,34
reply: T,n,0,34,rc,[n.id,nnn], …,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Num. of notes present by denomination (ie:EUIA,9) nnn = from 1 to 3 decimal ASCII code
Overview
cashpro
Date: 18/10/2011 Code: Page 64 Product: CM18Subject Software & Interface Specifications
2.28.23. Detail NATION cassette
With this command it is possible to know detail of notes present in NATION (Multidenomination, Unfit, Overflow) cassette.
cmd: T,n,0,35,na.id,[s]
reply: T,n,0,35,rc,[n.id,nnn], …,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
na.id Nation identification(EU**) or cassette target (AAAA)[s] User (A÷T)
[n.id,nnn] Num. of notes present by denomination (ie:EUCA,9) nnn = from 1 to 3 decimal ASCII code
If a optional parameter “s” is present it is possible to know detail of notes of the user specified parameter
2.28.24. Unit UNFIT note details
With this command it is possible to know detail of unfit notes of last deposit transaction.
cmd: T,n,0,36
reply: T,n,0,36,rc,[n.id,nnn],…,[n.id,nnn]
where:n Sequential number (1÷9)
[n.id,nnn] Denomination and number of notes (ie:EUJA,9)nnn = 1/3 dec-ASCII
rc Reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 65 Product: CM18Subject Software & Interface Specifications
2.28.25. Unit COUNTERFEIT & SUSPECT note details
With this command is possible to know the detail of counterfeit and suspect notes of the last deposit transaction, sorted by denomination of reader.
cmd: T,n,0,37
reply: T,n,0,37,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Num. of notes present by denomination (ie:EUDA,9) nnn = from 1 to 3 decimal ASCII code
2.28.26. Unit SUSPECT note details
With this command it is possible to know detail of suspect notes present on the output slot during last deposit transaction.
cmd: T,n,0,38
reply: T,n,0,38,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[n.id,nnn] Num. of notes present by denomination (ie:EUJA,9) nnn = from 1 to 3 decimal ASCII code
Overview
cashpro
Date: 18/10/2011 Code: Page 66 Product: CM18Subject Software & Interface Specifications
2.28.27. Get firmware complete suite
With this command is possible to get the name of the firmware complete suite loaded on the unitThe Suite name is composed by:Controller suite version_release+Reader version_release+Cassettes version_releaseThe command checks the firmware installed on each single module comparing it with the suite descriptorstored in the unit.When a module firmware doesn't match with the firmware expected, the related module field "version_release" is forced to xxxx_xxxx in the answer.
cmd: T,n,0,44
reply: T,n,0,44,rc,suite_name
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = OK2 = Software error (module firmware doesn’t match)
suite_name Name of the suite (es. SUITE_1_00_0008_1_04_HF82_1_00_B028 or SUITE_1_00_008_XXXX_XXXX_1_00_B028 if the version of reader doesn’t match)
2.28.28. Host connection monitor
With this command is possible to enable the handling of host connection monitor.
cmd: T,n,0,48
reply: T,n,0,48,rc
where:n sequential number (1÷9)
rc reply-code (1÷2 ASCII-chars) 1 = OK
2.28.29. Get CM Option Two Config
With this command it is possible to get some functionality parameters on the CM
cmd: T,n,0,49
reply: T,n,0,49,rc,nnnnnnnn
where:n Sequential number (1÷9)
nnnnnnnn 8 hex digit, bit oriented notation:(detailed description: see § 2.27.4)
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 67 Product: CM18Subject Software & Interface Specifications
2.28.30. Photo Sensor Adjust
cmd: T,n,0,60,0,ph_id
reply: T,n,0,60,0,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
ph_id 0 = all photo sensor1 = only photo sensor upper part2 = only photo sensor lower part10 = PHOTO_IN_CENTER11 = PHOTO_IN_LEFT12 = PHOTO_HMAX13 = PHOTO_FEED14 = PHOTO_C115 = PHOTO_SHIFT16 = PHOTO_INQ17 = PHOTO_COUNT18 = PHOTO_OUT19 = PHOTO_C320 = PHOTO_C4A21 = PHOTO_C4B22 = PHOTO_REJ30 = PHOTO_CASH_LEFT31 = PHOTO_CASH_RIGHT
2.28.31. Photo Sensor Read
cmd: T,n,0,60,1
reply: T,n,0,60,1,rc, ph_incenter,ph_inleft,ph_hmax,ph_feed,ph_c1,ph_shift,ph_inq,ph_count,ph_out,ph_c3,ph_c4a,ph_c4b,ph_rej,ph_res1,ph_res2,ph_res3, ph_res4, ph_res5, ph_res6,ph_res7,ph_cashleft,ph_cashright,ph_res8,….ph_res25
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
ph1_val … phn_val 40 byte (sensor values)
Overview
cashpro
Date: 18/10/2011 Code: Page 68 Product: CM18Subject Software & Interface Specifications
2.28.32. Get CM Cassette number
With this command it is possible to get the number of the configured cassettes of the device.
cmd: T,n,0,61
reply: T,n,0,61,rc,num_cas
where:n Sequential number (1÷9)
num_cas Number of configured cassettesrc reply-code (1÷2 ASCII-chars)
2.28.33. Get shift center banknote on output slot
With this command it is possible to get the centering value of the banknote on output slot.
cmd: T,n,0,63, 0
reply: T,n,0,63,0, rc,value
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
value centering value
2.28.34. Set shift center banknote on output slot
With this command it is possible to set the centering value of the banknote on output slot
cmd: T,n,0,63, 1,value
reply: T,n,0,63,1,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
value centering value between the range 55 ÷78 (default 65)
Overview
cashpro
Date: 18/10/2011 Code: Page 69 Product: CM18Subject Software & Interface Specifications
2.28.35. Get withdrawal bundle size
With this command it is possible to get the number of banknote on output slot during the operation of withdrawal
cmd: T,n,0,66
reply: T,n,0,66,rc,num_notes
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
num_notes Number of setting notes
2.28.36. Get increase time control dispense amount
With this command it is possible to get the increase time control dispense amount
cmd: T,n,0,68
reply: T,n,0,68,rc,incr_amount
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
Incr_amount Increase time control dispense amount
2.28.37. Get counting bundle size
With this command it is possible to get the number banknote on output slot during the operation of counting
cmd: T,n,0,71
reply: T,n,0,71,rc,num_notes
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
num_notes Number of setting notes
Overview
cashpro
Date: 18/10/2011 Code: Page 70 Product: CM18Subject Software & Interface Specifications
2.28.38. Get LAN type communication protocol
With this command it is possible to get the type of LAN communication protocol
cmd: T,n,0,74
reply: T,n,0,74,rc,type
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
type Type of communication protocol0 Simplified1 SSL2 IPSEC
2.28.39. Session Control
This command is used to establish a link between the Host and the CM18.The user (A÷T) and the relative password must be specified in order to define the side to be used for ejecting the bank/notes, which cassettes can be used by the operator and to get the safe configuration. At least one cassette should match the password.
cmd: T,n,2,1,s,pwd
reply: T,n,2,1,rc,s[,c,e,o,st,n.id,nnn,rrr]*8
where:n sequential number (1÷9)s User (A÷T)
pwd Password (6 ASCII-chars)rc reply-code (1÷2 ASCII-chars)c Cassette (A ÷ J)e Side enable (Y = enabled – N = disabled)o Switch off status (0: OFF – 1: ON)st Cassette status
n.id Denominationnnn Notes numberrrr Cassette free capacity
This command has to be considered as an ADVANCED OPEN.
Overview
cashpro
Date: 18/10/2011 Code: Page 71 Product: CM18Subject Software & Interface Specifications
2.28.40. Get Safe Set-up
This command does NOT open a new session between the Host and the CM18.The operator will be able to know: which cassettes are enabled to the specified side and the specified password, which cassette has been switched-off, the cassette status, the note denomination for each cassette, the number of notes contained in every cassette, the average number of notes that can still be loaded.The information of all the cassette electronically connected in the safe are replied.The command will be executed also when the unit is in error condition.
cmd: T,n,2,2,s,pwd
reply: T,n,2,2,rc,s[,c,e,o,st,n.id,nnn,rrr]*8
where:n sequential number (1÷9)s User (A÷T or a÷t)
pwd Password (6 ASCII-chars)rc reply-code (1÷2 ASCII-chars)c Cassette (A ÷ H)e Side enable (Y = enabled N = disabled)o Switch off status (0 : off 1 : on)st Cassette status
n.id Denominationnnn Notes numberrrr Cassette free capacity
T-out 1 Sec
This command has to be considered as an ADVANCED GET CASH DATA.If the parameter side (s) is a an lowercase (a÷t) , the notes number (nnnn) show the logical cash (-62000 to +62000).
Overview
cashpro
Date: 18/10/2011 Code: Page 72 Product: CM18Subject Software & Interface Specifications
2.28.41. Clear Tracks [NOT AVAILABLE]
With this command it is possible to clean the lower track when one of this JAM happens: 40…47 MISSING NOTE ON CASSETTE A…H during deposit operation20 LOWER TRACK JAM in withdrawal operation22…29 CASSETTE A…H JAM with cassette status 21hex, 23hex, 24hex in deposit operation or 1Chex,
1Dhex in withdrawal operationThis command it is possible to send only all error list are composed of error cleanable with special clean otherwise return the relative JAM not cleanable.
cmd: T,n,2,3
reply: T,n,2,3,rc,bn_in_low
where:n sequential number (1÷9)
bn_in_low Numbers of banknotes present in output slot after clean lower track
rc reply-code (1÷2 ASCII-chars)
The answer of this command arrived only at the end of recovery phase.
2.28.42. Tracks Clean [NOT AVAILABLE]
With this command it is possible to confirm the clean of the lower track is executed correctly. The user must send this command after the command CLEAR TRACKS is executed correctly and remove all banknotes from lower track.
cmd: T,n,2,4
reply: T,n,2,4,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
The answer of this command is immediate.
Overview
cashpro
Date: 18/10/2011 Code: Page 73 Product: CM18Subject Software & Interface Specifications
2.28.43. Read Data & Time Clock Safe Controller
Using this command it is possible to read the SAFE CONTROLLER time keeper data & time clock
cmd: T,n,2,5
reply: T,n,2,5,rc,ss,pp,hh,ww,dd,mm,yy
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)ss Seconds (00÷59) – (two hex ASCII)pp Minute (00÷59) – (two hex ASCII)hh Hour (00÷23) ) – (two hex ASCII)ww Day of week (01 = Monday ÷ 07 = Sunday)
(two hex ASCII)dd Day of month (01÷31) – (two hex ASCII)
mm Month (01÷12) – (two hex ASCII)yy Year (00÷99) – (two hex ASCII)
The command to setting this time clock is “F,n,4,[cc,]ss,pp,hh,ww,dd,mm,yy”
2.28.44. Controller module name
With this command it is possible to know the controller name
cmd: T,n,2,13[,t]
reply: T,n,2,13,rc,name,ver,rel,serial_num
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)t Optional target
name CM name (4 ASCII char)“MC19”
ver t=0 (or not present) : Controller Version APPLICATIONt=1 : Controller Version BOOT LOADER(4 ASCII char)
rel t=0 (or not present) : Controller Release APPLICATIONt=1 : Controller Release BOOT LOADER(4 ASCII char)
serial_num Module Serial Number (12 ASCII char)
Overview
cashpro
Date: 18/10/2011 Code: Page 74 Product: CM18Subject Software & Interface Specifications
2.28.45. Module identification
With this command it is possible to know the module name, firmware release, firmware version and the serial number
cmd: T,n,module,13[,t]
reply: T,n,module,13,rc,name,ver,rel,serial_num
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
toptional targett=0 to 4 if module = 3t=0 to 5 if module = 6
module
Module id:3 Reader4 Safe Controller6 OSC
A-J Cassettesname Module name (4 ASCII char)
ver
Module Firmware Version (4 ASCII char)module = 3 & t=0 (or not present) : Reader Version HOSTmodule = 3 & t=1 : Reader Version DSPmodule = 3 & t=2 : Reader Version FPGAmodule = 3 & t=3 : Reader Version TAPEmodule = 3 & t=4 : Reader Version MAG
module = 6 & t=0 (or not present) : Pack Versionmodule = 6 & t=1 : BootLoader Versionmodule = 6 & t=2 : WinCE Versionmodule = 6 & t=3 : Dll Versionmodule = 6 & t=4 : Application Versionmodule = 6 & t=5 : Controller Suite Version
rel
Module Firmware Release (4 ASCII char)module = 3 & t=0 (or not present) : Reader Release HOSTmodule = 3 & t=1 : Reader Release DSPmodule = 3 & t=2 : Reader Release FPGAmodule = 3 & t=3 : Reader Release TAPEmodule = 3 & t=4 : Reader Release MAG
module = 6 & t=0 (or not present) : Pack Releasemodule = 6 & t=1 : BootLoader Releasemodule = 6 & t=2 : WinCE Releasemodule = 6 & t=3 : Dll Releasemodule = 6 & t=4 : Application Releasemodule = 6 & t=5: Controller Suite Release
serial_num Module Serial Number (12 ASCII char)
Overview
cashpro
Date: 18/10/2011 Code: Page 75 Product: CM18Subject Software & Interface Specifications
2.28.46. Identifier control
With this command it is possible to get the actual channel configuration of the reader.
cmd: T,n,3,0
reply: T,n,3,0,rc,ch max,ch act
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
ch max Maximum number of identifier channel.ch act. Number of Identifier channel in use.
Examples: T,n,3,0,1,64,32 64 ch reader, 32 ch in useT,n,3,0,19 CM18 in Cross Point Jam
2.28.47. Get identifier bank for download
With this command it is possible to get the bank configuration on the reader
cmd: T,n,3,1
reply: T,n,3,1,rc,[banname,numban,ena,]…,
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
banname Name of bank 2 first ASCII char of currency code (for example: EURO codeEUR banname use EU)
numban Number of bank (for example: 0)ena Indicate if bank enabled “Y” or disabled “N”
Overview
cashpro
Date: 18/10/2011 Code: Page 76 Product: CM18Subject Software & Interface Specifications
2.28.48. Get reader session short statistic upload
With this command it is possible to get the reader rejects, sorted by types of reject action on the last deposit operation.
cmd: T,n,3,2
reply: T,n,3,2,rc,nProcessed,nAccept, nRefused, nCounterfeit, nSuspect, nClsf, nIrd, nMag, nFormat, nUnfit, nOverrun, nDisableChain, nUv, nExtremeFit, res4, res5
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
nProcessed Number of processed notesnAccept Number of accepted notes (FIT & UNFIT)nRefused Number of refused notes
nCounterfeit Number of notes considered counterfeitnSuspect Number of notes considered suspect
nClsf Number of notes that fail Classification check a firstnIrd Number of notes that fail Infrared check a first
nMag Number of notes that fail Magnetic check a first nFormat Number of notes that fail Format check a first (width, height,
thickness)nUnfit Number of notes BCE_OK but UNFIT
nOverrun Number of notes that fail Overrun check a first nDisableChain Number of notes refused due Disable Chain
nUv Number of notes that fail UV check a first nExtremeFit Number of notes that fail Extreme Fit check a first res4…res5 Reserved for future use
2.28.49. Get identifier number of active banks
With this command it is possible to get the number of active banks configured on the reader
cmd: T,n,3,3
reply: T,n,3,3,rc,act_bnk
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
act_bnk Active bank(s) on the reader:0 = Single currency mode1÷4 = Multicurrency mode> 4 = Single currency mode
Overview
cashpro
Date: 18/10/2011 Code: Page 77 Product: CM18Subject Software & Interface Specifications
2.28.50. Get identifier bank configurations
This command is used only with reader set in MULTICURRENCY mode and it is possible to get the bank configuration in use on the reader (for setting see § “Set identifier bank configuration” 2.32.2.5)
cmd: T,n,3,4
reply: T,n,3,4,rc,[banname_use,ena,]*n_bank
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
banname_use Name of bank in use 2 first ASCII char of currency code (for example: EURO codeEUR banname_use EU)
ena Indicate if bank enabled “Y” or disabled “N”n_bank Number of repetitions of [banname_use, ena]
= 2 if single currency= 4 if muticurrency
2.28.51. Get all identifier references
With this command it is possible to get all the references of the reader’s memory.
cmd: T,n,3,5
reply: T,n,3,5,rc,[ref_name,ref_ver,BankID]…, [ref_name,ref_ver,BankID],…
where:n sequential number (1÷9)rc Reply-code (1÷2 ASCII-chars)
ref_name Name of reference, 2 first ASCII char (for example: EURO refname_use EU)
ref_ver Version of reference (for example: 0006)BankID Reference bank number (0÷15)
Overview
cashpro
Date: 18/10/2011 Code: Page 78 Product: CM18Subject Software & Interface Specifications
2.28.52. Get detail of unfit classification of any notes
With this command it is possible to obtain the causal of unfit banknotes found in last deposit operation. N.B.: one banknote could fail more than one fitness check.
cmd: T,n,3,6,note_num_id
reply: T,n,3,6,rc,bn_id,c_S,c_G,c_T,c_U,c_D,c_F,c_C,c_Ct, c_Gr,c_St, c_Dy,res0,res1,res2,res3,res4
where:n sequential number (1÷9)
note_num_id Progressive unfit note number requestrc reply-code (1÷2 ASCII-chars)
1 = Ok71 = Denomination not presentothers see reply code table §4.1
bn_id denomination of requested banknote detail (ex. EUCA)
c_S Soiling test (0 = OK/Fit, 1 = Fail/Unfit)c_G Grid check (0 = OK/Fit, 1 = Fail/Unfit)c_T Tape check (0 = OK/Fit, 1 = Fail/Unfit)c_U De-inked check with UV (0 = OK/Fit, 1 = Fail/Unfit)c_D Dog ears corner check (0 = OK/Fit, 1 = Fail/Unfit)c_F Format check (0 = OK/Fit, 1 = Fail/Unfit)c_C Contrast check (0 = OK/Fit, 1 = Fail/Unfit)c_Ct Closed tears check (0 = OK/Fit, 1 = Fail/Unfit)c_Gr Graffitti check (0 = OK/Fit, 1 = Fail/Unfit)c_St Stain check (0 = OK/Fit, 1 = Fail/Unfit)c_Dy Dye check (0 = OK/Fit, 1 = Fail/Unfit)
res0…res4 Reserved for future use
Command Example:
A deposit operation is completed with success, and 3 banknotes results unfit (in cassette or in output slot). To request details:
Cmd: T,1,3,6,1 give me the 1st unfit banknote found by identifierReply: T,1,3,6,1,EUDA,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0 10€ unfit for failing tape and dog ears checkCmd: T,1,3,6,2 give me the 2nd unfit banknote found by identifierReply: T,1,3,6,1,EUHA,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0 100€ unfit for failing soling and format checkCmd: T,1,3,6,3 give me the 3rd unfit banknote found by identifierReply: T,1,3,6,1,EUJA,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0 500€ unfit for failing de-inked check
Cmd: T,1,3,6,4 give me the 4th unfit banknote found by identifierReply: T,1,3,6,71,0000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 4th banknote wasn’t unfit
The note_num_id is progressive : 1 for first unfit banknote found, 2 for second, 3 for third, ecc…. ;Note_num_id value can’t be equal to 0 (zero) and can’t be more high than 200;
Overview
cashpro
Date: 18/10/2011 Code: Page 79 Product: CM18Subject Software & Interface Specifications
2.28.53. Get identifier active bank for download
With this command it is possible to get the bank configuration in use for download..
cmd: T,n,3,8
reply: T,n,3,8,rc,[ref_bnk_name,bnk_num,ena]…, [ref_bnk_name,bnk_num,ena],…
where:n sequential number (1÷9)rc Reply-code (1÷2 ASCII-chars)
ref_bnk_name 2 first ASCII char of reference namebnk_num Number of bank
ena Indicate if bank enabled “Y” or disabled “N” for download
2.28.54. Get identifier Flash-DSP associations
With this command it is possible to get the associations between reader’s flash-memory and active banks. Thiscommand works only on machine with RS15.
cmd: T,n,3,9
reply: T,n,3,9,rc,dsp#0,dsp#1,dsp#2,dsp#3
where:n sequential number (1÷9)rc Reply-code (1÷2 ASCII-chars)
dsp#0 Number of flash reference loaded on dsp slot 0dsp#1 Number of flash reference loaded on dsp slot 1dsp#2 Number of flash reference loaded on dsp slot 2dsp#3 Number of flash reference loaded on dsp slot 3
Overview
cashpro
Date: 18/10/2011 Code: Page 80 Product: CM18Subject Software & Interface Specifications
2.28.55. Currency flash unistall
With this command it is possible to delete one currency on the flash only the Reader is not in SINGLE CURRENCY mode and if the Reader is in MULTI CURRENCY mode the relative bank is not set in DSP_SLOT.
cmd: T,n,3,10,n_bankId
reply: T,n,3,10, rc
where:n Sequential number (1÷9)
n_bankId Bank to delete (0 ÷ 15)rc reply-code (1÷2 ASCII-chars)
2.28.56. Get MAC Address
With this command it is possible to know the MAC Address serial number
cmd: T,n,6,14
reply: T,n,6,14,rc,serial_num
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
serial_num MAC Address Serial Number (12 ASCII char)
Overview
cashpro
Date: 18/10/2011 Code: Page 81 Product: CM18Subject Software & Interface Specifications
2.28.57. Get LAN configuration parameters
With this command it is possible get the LAN configuration parameters
cmd: T,n,6,15,param_to_read
reply: T,n,6,15,rc,[param_value]
where:n Sequential number (1÷9)
param_to_read It identifies the parameter to read:1=DHCP2=IP address3=Subnet mask4=Gateway5=Device name6=Device description7=Primary DNS8=Secondary DNS9=Primary WINS10=Secondary WINS
rc reply-code (1÷2 ASCII-chars)param_value Value of parameter
2.28.58. Get authorized IP/MAC addresses
With this command it is possible get the addresses list authorized to connect to the CM device
cmd: T,n,6,17,addr_type
reply: T,n,6,17,rc,[num_of_addr,addr_list]
where:n Sequential number (1÷9)
addr_type Type of address:1 = IP address2 = MAC address
rc reply-code (1÷2 ASCII-chars)num_of_addr Number of addresses hold in the list (IP or
MAC) addr_list List of authorized addresses (IP or MAC).
Each address is separated by a comma (“,”)
Overview
cashpro
Date: 18/10/2011 Code: Page 82 Product: CM18Subject Software & Interface Specifications
2.28.59. OSC Communication Port Test
With this command it is possible to test a specified interface port.
cmd: T,n,6,60,1,Port
reply: T,n,6,60,rc
where:n Sequential number (1÷9)
Port Communication Port id:1 COM12 COM23 COM34 COM45 COM5
rc reply-code (1÷2 ASCII-chars)1 = Test OK3 = Sintax Error901 = The port is in use by the host906 = Test failed: the number bytes read are different from the number of bytes written931= Test failed : the bytes read are different from the number of bytes written
2.28.60. OSC Memory Interface Test
With this command it is possible to test a specified memory interface.
cmd: T,n,6,60,2,Mem
reply: T,n,6,60,rc
where:n Sequential number (1÷9)
Mem Memory Interface id:1 SD Memory Card11 USB host 2 Thumb Memory12 USB host 1 Reader Module
rc reply-code (1÷2 ASCII-chars)
A file named “thumb.txt” must be present on thumb memory, and a a file named “reader.txt” must be present on reader module in order the test pass.
Overview
cashpro
Date: 18/10/2011 Code: Page 83 Product: CM18Subject Software & Interface Specifications
2.28.61. OSC LCD & Touch Screen Test
With this command it is possible to test the display and the touch screen. This command neeeds the operator interaction. The LCD-image with 3 squared-area of 3 different color (R,G,B) appears in a random sequence : the operator has to touch in 10 sec. always the sequence R – G – B.
cmd: T,n,6,60,3
reply: T,n,6,60,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
2.28.62. OSC Lamps & Buttons Test
With this command it is possible to test the 2 Lamps and 2 Buttons. This command needs the operator interaction.
cmd: T,n,6,60,4
reply: T,n,6,60,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
2.28.63. OSC Audio Test
With this command it is possible to test the audio channel . This command needs the operator follow display instructions.
cmd: T,n,6,60,5
reply: T,n,6,60,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 84 Product: CM18Subject Software & Interface Specifications
2.28.64. OSC Communication PortId Test
With this command it is possible to get information about the OSC communication port in use.
cmd: T,n,6,60,6
reply: T,n,6,60,rc, PortId
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
PortId
Communication Port id:1 COM12 COM23 COM310 USB Host 1 (1582 Device Port 1)11 USB Host 2 (1582 Device Port 2)12 USB Host 3 (1761 Device Port 1)
2.28.65. Cassette control
Using this command it is possible to switch off/on a single cassette which is not working properly, in order to continue using the rest of the machine.
cmd: T,n,c,o
reply: T,n,c,o,rc
where:n sequential number (1÷9)c target cassette A…Ho Enable switch
0 = switch OFF1 = switch ON
rc reply-code (1÷2 ASCII-chars)T-out 1 sec**
Examples: T,n,A,0 Switch Off cassette AT,n,B,0 Switch Off cassette B T,n,A,1 Switch On cassette A
A cassette which has been switched OFF will appear on the Extended Status cmd as I00.The switch ON/OFF command will always be followed by a reset procedure(like at Power ON) in order to check the cassette functionality.The switch ON/OFF command will also reset the Open command closing the previous session,
** If the command is executed during the unit initialization (recovery cycle) the reply sequence will be sent at the end of the mechanical operation.
T-out in standard recovery: 60 secondsT-out in automatic jam clearance: 120 seconds
Overview
cashpro
Date: 18/10/2011 Code: Page 85 Product: CM18Subject Software & Interface Specifications
2.28.66. Get denomination on multi type cassette
Using this command is possible to know the denomination of the banknote emissions that have been assigned to the multitype specific cassette (ddd#), multi denomination specific cassette (d*#) and multi nation specific cassette (####)
cmd: T,n,cas_id,2
reply: T,n,cas_id,2,rc, n.id, ….. , n.id
where:n sequential number (1÷9)
cas_id Cassette id ‘A’ ÷ ‘H'rc reply-code (1÷2 ASCII-chars)
1 = OK69 = Cassette not present71 = No one denomination enable
n.id Denomination (ex: GBCA) – Max 128
Overview
cashpro
Date: 18/10/2011 Code: Page 86 Product: CM18Subject Software & Interface Specifications
2.29. Utility CommandsWith this group of commands it is possible to use different utilities on the unit.
The structure of the sent command is always the same but the reply can have different fields according to the type of utility required.
cmd u,n,t,m
where:n sequential number (1÷9)t target module
0 = General for the Unit1 = Feeder module2 = Controller3 = Reader device4 = Safe6 = OSCA…H = Cassette A÷H
m utility type (0÷255)
2.29.1. Switch USB\RS232 protocol from standard to simplified or vice versa
Using this command it is possible to switch USB\RS232 protocol from standard to simplified or vice versa and return to previous protocol state without reset the unit.
cmd: u,n,6,m
reply: u,n,6,m,rc
where:n sequential number (1÷9)6 OSC
m Switch protocol:0 – Return to previous state1 – Switch to simplified protocol2 – Switch to standard protocol
rc reply-code (1÷2 ASCII-chars)
Examples: u,n,6,1 Switch USB\RS232 protocol to simplified.u,n,6,2 Switch USB\RS232 protocol to standard.u,n,6,0 Switch USB\RS232 protocol to previous state.
All USB\RS232 protocol switch commands don’t require unit reset and they are permanent at next machine restart.
Overview
cashpro
Date: 18/10/2011 Code: Page 87 Product: CM18Subject Software & Interface Specifications
2.30. Get Error Log & Unit Life
This command is used to read the errors occurred to the CM18 and the life of the unit expressed in number of notes.
cmd: H,n,nnnn
reply: H,n,rc,nnnn,life_num,l,op,rc1,F1,F2,F3,F4,FA,FB,FC,FD,FE,FF,FG,FH,FI,FJ
where:n sequential number(1÷9)Nnnn error number (0000,0001÷8192,UUUU,IIII,SSSS)
nnnn = 0000 Reply the unit life. The command ends after the unit lifennnn = UUUU Reply the last error stored in error-lognnnn = I I I I (Init) Erase all data storednnnn = SSSS Reply last valid service record (596) stored in error-log
rc reply-code (1÷2 ASCII-chars)1 = OK3 = Syntax Error73 = Record not present
life_num number of input bank notes (max 11 CRT) during:a) the whole life (nnnn =0) b) when the error occurred (nnnn = 0001÷8192)or Time + number of cash out notes from last Power off if the record is an extended deposit or withdrawal(The time info is automatic)***
L User (A÷T) or power off sign (O) or Extended sign: + for deposit - for withdrawalP for previous error , Module identification (1,2,3,A,…,H)
Op type of operation (D,W,I), power off sign (O), target cassette if extended withdrawal, sensor status if extended deposit, for previous error (P), first crt ASCII info for module for record info SW (581) or for record info HW (580)
rc1 High level reply code (related to the record num.)or Feeder counted notes if related to an exten.+/-)
F1 Status the feeder module or Shift counter or second crt info HW & SW module
F2 Status the Controller module or number of unknown notes (FCNTX) or third info HW & SW module
F3 Status the Reader module or Cash counter or fourth info HW & SW module
F4 Status the Safe module or Cash counter of fifth info HW & SW moduleFA÷FJ Status the cassette A÷J or N.of notes IN/OUT from the same cassette
or others info HW & SW moduleT-Out 5 sec
The error log information is stored in the flash memory on the controller board, no extra device is required for this feature. ***The ‘Time + withdrawal notes’ information (always available) related to an extended error record can be arranged in one of the following cases:
1) Time available: 93000056, (time 9:30 With.life 56) 185600056, (time 18:56-With life 56)123012345 (time 12:30-With.life 12345) 70104567 (time 7:01-With.life 4567)
Overview
cashpro
Date: 18/10/2011 Code: Page 88 Product: CM18Subject Software & Interface Specifications
Structure of the two records related to an error during a deposit operation
Module statusRec.num.
Life-in num.
Operator side
Op.Id Replycode
Feed Contr Read Safe CasA
CasB
CasC
CasD
CasE
CasF
CasG
CasH
CasI
CasJ
40 42037 L D 304 24 14 21 40 40 40 40 40 40 05 05 40 40 40
Module operation count (hexadecimal notation)Rec.num
Time Lifeout num
DepOp.
Res Feed Fshift Fcnt Fcash FC3 Cas.A
Cas.B
Cas.C
Cas.D
Cas.E
Cas.F
Cas.G
Cas.H
CasI
CasJ
41 16:35 00000 + 0 0D 0C 0B 00 00 00 00 00 00 00 00 00 00 00 00
Structure of the two records related to an error during a withdrawal operation
Module statusRec.num.
Life-in num.
Operator side
Op. Id
Replycode
Feed Contr Read Safe CasA
CasB
CasC
CasD
CasE
CasF
CasG
CasH
CasI
CasJ
42 44687 L W 306 40 40 40 40 40 40 1C 40 40 05 05 05 05 05
Module operation count (hexadecimal notation)Rec.num
Time Lifeout num
With.Op.
Cass. In use
Feed Fshift Fcnt Fcash FC3 Cas.A
Cas.B
Cas.C
Cas.D
Cas.E
Cas.F
Cas.G
Cas.H
CasI
CasJ
43 16:44 00067 - C 00 00 15 15 00 0A 0A 01 00 00 00 00 00 00 00
Structure of the two records related to an init operation
Module statusRec.num.
Life-in num.
Operator side
Op. Id
Replycode
Feed Contr Read Safe CasA
CasB
CasC
CasD
CasE
CasF
CasG
CasH
CasI
CasJ
44 44695 L I 101 40 40 40 40 40 40 05 40 40 05 05 05 05 05
Module operation count (hexadecimal notation)Rec.num
Time Lifeout num
With.Op.
Cass. In use
Feed Fshift Fcnt Fcash FC3 Cas.A
Cas.B
Cas.C
Cas.D
Cas.E
Cas.F
Cas.G
Cas.H
CasI
CasJ
45 16:58 00067 - C 00 00 07 07 00 00 00 08 00 00 00 00 00 00 00
On power off the CM18 saves in error log two different types of record: A Statistic Record (Reply Code 595) A the Power off record (Reply 599)
Statistic deposit record (Reply 595) or download record (before download FW Controller REAL TIME)
Module life-in percentage (%) since last power-offRec.num.
Life-out
num.
Id Id Replycode
FeederReject num
ReaderReject num
OutSlot
RejSlot
Cas.A In
Cas.B In
Cas.C In
Cas.D In
Cas.E In
Cas.F In
Cas.G In
Cas.H In
CasI In
CasJ In
44 530 O O 595 01 02 20 10 10 5 5 20 10 00 20 00 00 00
Power-on record (Reply 599) or download record (after download FW Controller REAL TIME)
Pending error listRecordnum.
Life-inNum
Id Id Reply code
Err 1 Err 2 Err 3 Err 4 Err 5 Err 6 Err 7 Err 8 Err 9 year day
month hour min
45 42809 O O 599 00 00 00 00 00 00 00 00 00 04 06 10 14 13
Overview
cashpro
Date: 18/10/2011 Code: Page 89 Product: CM18Subject Software & Interface Specifications
Simulation of POWER OFF at midnight (Reply 600) like POWER OFF
On safe open the CM18 saves in error log a safe-open record (Reply 597):
On CM lock command the CM18 saves a lock record in error-log (Reply 598)
Recordnum.
Life-in num
Id Id Replycode
Locktype
Lockst
dd mo hh mm Res Res Res Res Res Res Res Res
35 41892 O O 598 00 01 14 11 17 27 00 00 00 00 00 00 00 00
Lock type 00 TIME LOCK01 PWD LOCK02 SW ALARM (Alarm 0)03 OPEN DOOR (Alarm 1)04 SYSTEM LOCKED (Alarm 3)05 SAFE LOCKED (Alarm 4)
Lock st 00 ALARM OFF01 ALARM ON
dd day of activation/de-activationmo month of activation/de-activationhh hour of activation/de-activationmm minute of activation/de-activationRes reserved for future use
On Service Fill Command the CM18 saves a SERVICE record in error-log (Reply 596)xx is a hexadecimal value (0x00 – 0xFF)
Recordnum.
Life-in num
Id Id Replycode
Res Res Res Res Res Res Res Res Res Res Res Res Res Res
36 44708 O O 596 xx xx xx xx xx xx xx xx xx xx xx xx xx xx
This record is related every error happen during recovery phase (594)
If a cassette is moved from its position during POWER ON while the safe was opened a record 601 is recorded:
Pending error listRecordnum.
Life-inNum
Id Id Reply code
Err 1 Err 2 Err 3 Err 4 Err 5 Err 6 Err 7 Err 8 Err 9 year day month hour min
40 42809 O O 600 00 00 00 00 00 00 00 00 00 08 06 12 08 13
Pending error listRecordnum.
Life-inNum
Id Id Reply code
Err 1 Err 2 Err 3 Err 4 Err 5 Err 6 Err 7 Err 8 Err 9 year day month hour min
93 45708 O O 597 00 00 00 00 00 00 00 00 00 04 06 10 14 13
Rec.num.
Life-in num.
Id Id Replycode
Feedst
Contrst
Readst
Safe st
Cas.st. A
Cas.st. B
Cas.st. C
Cas.st. D
Cas.st. E
Cas.st. F
Cas.st. G
Cas.st. H
Cas.st. I
Cas.st. J
20 53037 O O 594 40 40 16 40 40 05 05 05 40 05 05 04 04 05
Rec.num.
Time Life-out
num.
Id Id Replycode
Feedst
Contrst
Readst
Safe st
Cas.st. A
Cas.st. B
Cas.st. C
Cas.st. D
Cas.st. E
Cas.st. F
Cas.st. G
Cas.st. H
Cas.st. I
Cas.st. J
25 14:43 530 O O 601 40 41 16 40 40 05 01 01 40 05 05 04 04 05
Overview
cashpro
Date: 18/10/2011 Code: Page 90 Product: CM18Subject Software & Interface Specifications
These records are an example of information module HW & SW about cassette E and all information HW(S11…S00 are related of SERIAL NUMBER) and all information SW (RL3…RL0 are related of RELEASE FW, VR3…VR0 are related of VERSION FW, and BN3…BN0 are present only in cassettes module and are related of note denomination) are in ASCII-Character
Rec.Num.
Res Id. mod
SN11 Replycode
SN10 SN09 SN08 SN07 SN06 SN05 SN04 SN03 SN02 SN01 SN00 Res Res Res
20 0 E C 580 R 3 7 E 0 0 0 0 1 2 2 0 0 0Rec.Num.
Res Id. mod
BN3 Replycode
BN2 BN1 BN0 VR3 VR2 VR1 VR0 RL3 RL2 RL1 RL0 Res Res Res
21 0 E C 581 P E A 1 _ 0 0 B 0 2 8 0 0 0
Rec.Num.
Res Id. mod
Id3 Replycode
Id2 Id1 Id0 VR3 VR2 VR1 VR0 RL3 RL2 RL1 RL0 Res Res Res
22 0 6 x 581 A P P E _ 3 0 0 0 4 5 0 0 0Rec.Num.
Res Id. mod
Id3 Replycode
Id2 Id1 Id0 VR3 VR2 VR1 VR0 RL3 RL2 RL1 RL0 Res Res Res
23 0 2 M 581 C 1 9 D _ 0 2 0 0 6 0 0 0 0
If one kind of special clean is enabled in the Errror Log is written the record 583. The byte Pul.Id describe what kind of special clean is used to remove some jam: equal to 0 indicates special clean without control, equal to 1 indicates special clean with Display (GUI) and Pul. Id equal to 2 indicate special clean with commands. The field Fcnt Cnt indicates banknotes counting during recovery cycle from photo count plus banknotes on output slot, while Fcash Cnt indicates banknotes present in low track when happen operation in jam.
RecordNum.
Life-in Id Id Replycode
Pul. id FcntCnt
Res Res Res Res Res Res Res Res FcashCnt
Res Res Res
43 44708 O O 583 00 03 00 00 00 00 00 00 00 00 03 00 00 00
In case of jam "Cassette out of service" the CM18 execute an automatic recovery and only if this jam happen in deposit during transit of banknote in one cassette, in the Error Log is is written the 583 with the byte Pul.Id equal to 4.
These records describe the configuration of controller and reader (584)
Example of controller configuration
Where:
Id. Mod Identify module (2 = controller)Index Type configuration (00)Conf High Define High part of word of FILL CM CONFIGConf Low Define Low part of word of FILL CM CONFIGOptConf High Define High part of word of FILL CM OPTION CONFIGOptConf Low Define Low part of word of FILL CM OPTION CONFIGOptOneConf High Define High part of word of FILL CM OPTION ONE CONFIGOptOneConf Low Define Low part of word of FILL CM OPTION ONE CONFIGOptTwoConf High Define High part of double word of FILL CM OPTION TWO CONFIGOptTwoConfUpperMiddle Define Upper Middle part of double word of FILL CM OPTION TWO CONFIGOptTwoConf LowerMiddle Define Lower Middle part of word of FILL CM OPTION TWO CONFIGOptTwoConf Low Define Low part of of double word of FILL CM OPTION TWO CONFIG
Rec.num.
Life-in num.
Id. Mod
Index Replycode
ConfHigh
ConfLow
Opt ConfHigh
Opt ConfLow
Opt OneConfHigh
Opt OneConfLow
Opt Two ConfHigh
OptTwo Conf
UpperMiddle
Opt Two Conf
LowerMiddle
Opt Two ConfLow
Res Res Res Res
45 32455 2 00 584 89 C1 00 31 00 00 00 00 00 01 00 00 00 00
Overview
cashpro
Date: 18/10/2011 Code: Page 91 Product: CM18Subject Software & Interface Specifications
Example of reader configuration
Where:
Id. Mod Identify module (3 = reader)Index Type configuration (00)Type Reader Type (3 RS12)Mode Mode of working ( 1 Single Currency, 2 Multicurrency)Bank Number of active bank (0,1,2,3,4)
Rec.num.
Life-in num. Id. Mod Index Replycode
Type Mode Bank Res Res Res Res Res Res Res Res Res Res Res
48 38903 3 00 584 03 02 04 00 00 80 00 00 00 00 00 00 00 00
Overview
cashpro
Date: 18/10/2011 Code: Page 92 Product: CM18Subject Software & Interface Specifications
2.31. Journal LOG
The following commands are recorded in the log:• SET DATE & TIME• DEPOSIT NORMAL (in SAFE)• WITHDRAWAL• EMPTY CASSETTE• INIT CASSETTE• FILL JOURNAL LOG string (service operation)
Reading the Journal Log is possible to trace all the cash operation performed by the CM 18 on both side. The Journal Log is stored in the SD Card if is enable the bit configuration “Enable Journal Log” (detailed description: see § 2.25.4)
Record_text Description
The replied record text include two different group of data:An Header part that report the date and time informations of the stored operation. A Data record part that report the cash information about the stored operation
Header Data Record
Header
The date and time data of the stored operation are replied in the header part of the answer. See the following table
Contents Lenght (ASCII char)
Description/Examples
Fields Number 2 Number of fields in the answer (all the fields are divided by the commands)
Command code 2 Stored Operation code (see table below)Side 1 Stored Operation User
‘A’ ÷’T’ ‘X’: No User‘@’: Application
Day 2 Stored Operation day Month 2 Stored Operation month Year 2 Stored Operation yearHour 2 Stored Operation HourMinutes 2 Stored Operation MinutesSeconds 2 Stored Operation SecondsUser Name 9 User Name
• Command code : each command is identified using a specific numerical code. According to the following table
Code Command1 Set Date and Time2 Normal Deposit3 Reserved4 Withdrawal5 Empty Cassette6 Service fill7 Init Cassette
Overview
cashpro
Date: 18/10/2011 Code: Page 93 Product: CM18Subject Software & Interface Specifications
Data Record
In the data record are stored all the information regarding the recorded operation. The data are described in the table below
Set Date and Time
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Old Date dd 2 Day (1÷31)
mo 2 Month (1÷12)yy 2 Year (00÷99)hh 2 Hour (0÷23)mm 2 Minutes (00÷59)ss 2 Seconds (00÷59)
New Date dd 2 Day (1÷31)mo 2 Month (1÷12)yy 2 Year (00÷99)hh 2 Hour (0÷23)mm 2 Minutes (00÷59)ss 2 Seconds (00÷59)
Command Example:
Cmd: J,1,1,0004Reply: J,1,1,1,0004,21,01,X,01,01,00,10,11,35,000000000,01,01,00,10,11,35,02,09,05,10,15,00
Header
Overview
cashpro
Date: 18/10/2011 Code: Page 94 Product: CM18Subject Software & Interface Specifications
Deposit Normal (in Safe)
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Rc 2 Deposit Reply CodeFeed_rej 2 Number of Feeder rejectRead_rej 2 Number of Reader RejectBn_id_A 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_A 3 Number of notes stored in the cassette
Ex: 152Bn_id_B 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_B 3 Number of notes stored in the cassette
Ex: 152Bn_id_C 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_C 3 Number of notes stored in the cassette
Ex: 152Bn_id_D 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_D 3 Number of notes stored in the cassette
Ex: 152Bn_id_E 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_E 3 Number of notes stored in the cassette
Ex: 152Bn_id_F 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_F 3 Number of notes stored in the cassette
Ex: 152Bn_id_G 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_G 3 Number of notes stored in the cassette
Ex: 152Bn_id_H 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_H 3 Number of notes stored in the cassette
Ex: 152
Command ExampleCmd: J,2,1,0005
Reply: J,2,1,1,0005,28,02,L,02,09,05,10,11,35,000000000,01,00,01,EUCA,001,EUDA,002,EUEA,003,EUHA,004,EUIA,005,EUJA,006,EU++,007,CHDA,008
Overview
cashpro
Date: 18/10/2011 Code: Page 95 Product: CM18Subject Software & Interface Specifications
Withdrawal
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Rc 2 Withdrawal Reply CodeBn_id_A 4 Bn Denomination stored in the cassette.
Ex: “AAAA”Bn_num_A 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_B 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_B 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_C 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_C 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_D 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_D 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_E 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_E 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_F 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_F 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_G 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_G 3 Number of notes withdrawn in the cassette
Ex: 152Bn_id_H 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Bn_num_H 3 Number of notes withdrawn in the cassette
Ex: 152
Command Example:
Cmd: J,4,1,0005
Reply: J,4,1,1,0005,26,04,L,02,09,05,10,11,35,000000000,01,EUCA,001,EUDA,002,EUEA,003,EUHA,004,EUIA,005,EUJA,006,EU++,007,CHDA,008
Overview
cashpro
Date: 18/10/2011 Code: Page 96 Product: CM18Subject Software & Interface Specifications
Empty Cassette
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Rc 2 Empty cassette reply codeCass_id 1 Target cassette (A ÷H)Bn_id 4 Cassette involved in empty command
Ex: “AAAA”Log_cas_cnt 3 Logical cassette counter before empty cassette command
Ex: 152Phy_bn_out 3 Notes paid out physically from the cassette
Ex: “153”
Command Example:
Cmd: J,5,1,0006
Reply: J,5,1,1,0006,14,05,L,02,09,05,10,11,35,000000000,01,A,AAAA,550,549
(The cassette counter is greater than that the real number of notes stored in the cassette)
Init Cassette
The init cassette command can be performed specifying the denomination to initialize (Normal mode) or the cassette to initialize (Target mode).In the “Normal mode” the init cassette is performed on all the cassette configured for the specified denomination.In the “Target mode” the init cassette is performed on the specified cassette.
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Rc 2 Init Cassette Reply CodeCass_id 1 Cassette involved in the Init Cassette command (A ÷H)Bn_id 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Log_cas_cnt 3 Logical cassette counter before empty cassette command
Ex: 152Phy_bn_out 3 Notes paid out physically from the cassette
Ex: “153”... ... ...Cass_id 1 Cassette involved in the Init Cassette command (A ÷H)Bn_id 4 Bn Denomination stored in the cassette.
Ex: “EUCA”Log_cas_cnt 3 Logical cassette counter before empty cassette command
Ex: 152Phy_bn_out 3 Notes paid out physically from the cassette
Ex: “153”
Overview
cashpro
Date: 18/10/2011 Code: Page 97 Product: CM18Subject Software & Interface Specifications
Command Example:
Normal Mode:The command can involve more than one cassette. It happens when a denomination to init is configured on two or more cassette. (Example denomination EUCA on cassettes A and H)
Cmd: J,6,1,0007
Reply: J,6,1,1,0007,18,07,L,02,10,05,10,11,35,000000000,01,A,EUCA,550,549,H,EUCA,10,9
Target Mode:The command involve only the specified cassette.
Cmd: J,5,1,0006
Reply: J,5,1,1,0006,14,07,L,02,09,05,10,11,35,000000000,01,A,EUCA,550,549
Service Record
Contents Lenght (ASCII char)
Description/Examples
Header 26 (See Header table)Service Text 40 (Max) Text filled in the journal log by the service / User
Command Example:
Cmd: J,8,1,0008Reply: J,8,1,1,0008,10,06,L,05,09,02,10,11,35,0000000000, System updated on 03.09.05
Overview
cashpro
Date: 18/10/2011 Code: Page 98 Product: CM18Subject Software & Interface Specifications
2.31.1. Get Journal LOG Info
Using this command is possible to get various data concerning the journal log. Then these data can be used to read the journal log with the “Get Journal LOG line” command.
cmd: J, n, 0, mode, dd1, mo1, yy1, hh1, mm1, dd2, mo2, yy2, hh2, mm2
reply: J, n, 0, rc, first, last
where:n sequential number (1÷9)Mode 0 general info (all journal) in this case the paremeter between dd1
and mm2 can be optional1 day range (the records stored on ”Start Date”) in this case the paremeter between dd2 and mm2 can be optional 2 desired range (all records stored from “Start Date” to “End Date”)
Start Date dd1 Day (1 ÷ 31)mo1 Month (1 ÷ 12)yy1 Year (0 ÷ 99)hh1 Hour (0 ÷ 24)
mm1 Minutes (0 ÷ 59)End Date dd2 Day (1 ÷ 31)
mo2 Month (1 ÷ 12)yy2 Year (0 ÷ 99)hh2 Hour (0 ÷ 24)
mm2 Minutes (0 ÷ 59)First First index record of required rangeLast Last index record of required rangerc Reply-code
2.31.2. Get Journal LOG record
Using this command is possible to get a Journal Log record.
cmd: J, n, 1, n_record
reply: J, n, 1, rc, n_ record, record_text
where:n sequential number (1÷9)n_record Record index in the Journal Log*Record_Text Stored Operation data
* the first record has index one
Overview
cashpro
Date: 18/10/2011 Code: Page 99 Product: CM18Subject Software & Interface Specifications
2.31.3. Fill Journal LOG string
Using this command is possible to fill some text in the log. Typically is used to describe a service operation on the machine. Special characters are not accepted (Example: à, è, ì, ò, ù, is, ç, …).
cmd: J, n, 2, text
reply: J, n, 2, rc
where:n sequential number (1÷9)
text Service Text to fill (Max 40 ASCII chars)rc Reply-code (1÷2 ASCII chars)
Command Example:
Cmd: J,n,2,Service 00123 Controller sensors adjust
Reply: J,n,2,rc
Overview
cashpro
Date: 18/10/2011 Code: Page 100 Product: CM18Subject Software & Interface Specifications
2.32. Module Fill
This command is used to fill: information , data or configuration parameters to the module.
cmd: Z,n,target, …
where:n sequential number (1÷9)
Target module address:'0'(30h) CM18 peripheral‘1’ = Module feeder‘2’ = Module controller‘3’ = Module identifier‘4÷8’ = reserved (option)‘A’÷‘J’ = Module cassettes A÷J‘T’ = Periodic
2.32.1. Module CM18 fill command
2.32.1.1. CM18 serial number fill
This command is used to fill the serial number to the machine stored in controller.
cmd: Z,n,0,0,serial_num
reply: Z,n,0,0,rc
where:n sequential number (1÷9)
serial_num Module serial number (12 ASCII char)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 101 Product: CM18Subject Software & Interface Specifications
2.32.1.2. CM18 fill delay class
This command is used to fill the delay class to the machine stored in controller.
cmd: Z,n,0,2,fd,(amount,delay) * 10
reply: Z,n,0,2,rc
where:n sequential number (1÷9)fd factor multiplication (10÷99)
amount The amount is in about a hundred unit (example: if amount = 1 the real value is 1 * 100 = 100)
delay Delay in seconds for this class (0÷65535)rc reply-code (1÷2 ASCII-chars)
Notes:• The first class (1) is necessary to set the amount for no delay (example amount10 delay0, up of
amount of 1000 units of value there is no delay)• The number of class is always ten (10). If the number of class is less than ten(10) is necessary to duplicate
the last valid class insert with the same value for the other class.• It is very important to insert amount from less to higher from class 1 to class 10• The factor multiplication delay is reserved for future use
Look this example:
Class id Amount Delay (s) Description1 1000 0 Up of amount of 1000 units of value there is no delay2 10000 15 Between 1000 and 10000 units of value the delay is 15 sec 3 20000 30 Between 10001 and 20000 units of value the delay is 30 4 30000 60 Between 20001 and 30000 units of value the delay is 60 sec 5 40000 120 Between 30001 and 40000 units of value the delay is 120 sec6 50000 180 Between 40001 and 50000 units of value the delay is 180 sec
Above 50001 units the delays is always 180 sec7 50000 180 See above8 50000 180 See above9 50000 180 See above10 50000 180 See above
Overview
cashpro
Date: 18/10/2011 Code: Page 102 Product: CM18Subject Software & Interface Specifications
2.32.1.3. CM18 log on operator
This command must be sent to the CM, before DEPOSIT, INIT CASSETTE and WITHDRAWAL, when the user want to use CASH BALANCE OPERATOR (describe the number of banknotes input in and output from any cassette) for a specified user_name.
cmd: Z, n, 0, 3, user_name, 1
reply: Z, n, 0, 3, rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_name
2.32.1.4.CM18 log off operator
This command must be sent to the CM, after DEPOSIT, INIT CASSETTE and WITHDRAWAL, when the user want to remove the use of CASH BALANCE OPERATOR (describe the number of banknotes input in and output from any cassette) for a specified user_name.
cmd: Z, n, 0, 3, user_name, 2
reply: Z, n, 0, 3, rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_name
2.32.1.5.Get cash balance operator
With this command it is possible to know all banknotes DEPOSIT and WITHDRAWAL for any cassette for a specified user_name.
cmd: Z, n, 0, 4, user_name, flg
reply: Z, n, 0, 4, rc, Ain, Aout, Bin, Bout,…, Hin, Hout
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_nameflg 0 view cash balance
1 view cash balance & init cash balanceAin…Hin Deposit banknote for a user_name for this
cassette (A÷H)Aout…Hout Withdrawal banknote for a user_name for this
cassette (A÷H)
Overview
cashpro
Date: 18/10/2011 Code: Page 103 Product: CM18Subject Software & Interface Specifications
2.32.1.6.Get operator
With this command it is possible to know all user_name that are enabled to use CASH BALANCE OPERATOR on CM18. The maximum number of user_name is two.
cmd: Z, n, 0, 5
reply: Z, n, 0, 5, rc, n_user, user_name1, user_name2
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
n_user number of user_nameuser_name1 10 ASCII CHAR that define user_name1user_name2 10 ASCII CHAR that define user_name2
2.32.1.7.Get user
With this command it is possible to know information related a specified user
cmd: Z, n, 0, 5,user_id,pwd
reply: Z, n, 0, 5, rc, login,side,cas_ena,user_level
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = OK3 = Syntax error65 = Wrong pwd73 = User not present
user_id User (A÷Τ)pwd Password (6 ASCII-chars)login 10 ASCII CHAR that define userside Side (‘L’/’R’)
cas_ena Enable cassette (‘Y’ for enable, ‘N’ for disable)(10 ASCII-chars)
user_level User_level (‘U’ user /’S’ supervisor)
Overview
cashpro
Date: 18/10/2011 Code: Page 104 Product: CM18Subject Software & Interface Specifications
2.32.1.8.Add operator
With this command it is possible to insert one new user_name that is enabled to use CASH BALANCE OPERATOR on CM18.
cmd: Z,n,0,6,user_name
reply: Z,n,0,6,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_name
2.32.1.9.Add User
With this command it is possible to add a new user (max 20). It is possible to create only user type “user” and not “supervisor”.
cmd: Z, n, 0, 6,login,user_id,pwd,side,cas_ena,user_level
reply: Z, n, 0, 6, rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = OK3 = Syntax error70 = User alreadyt present
login 10 ASCII CHAR that define useruser_id User (A÷Τ)
pwd Password (6 ASCII-chars)side Side (‘L’/’R’)
cas_ena Enable cassette (‘Y’ for enable, ‘N’ for disable)(10 ASCII-chars)
user_level User_level (‘U’ user /’S’ supervisor)
Overview
cashpro
Date: 18/10/2011 Code: Page 105 Product: CM18Subject Software & Interface Specifications
2.32.1.10. Del operator
With this command it is possible to delete one user_name that is enabled to use CASH BALANCE OPERATOR on CM18.
cmd: Z,n,0,7,user_name
reply: Z,n,0,7,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_name
2.32.1.11. Del User
With this command it is possible to delete a user.
cmd: Z, n, 0, 7,login,user_id,pwd
reply: Z, n, 0, 7, rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = OK3 = Syntax error65 = Wrong pwd73 = User not present
login 10 ASCII CHAR that define useruser_id User (A÷Τ)
pwd Password (6 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 106 Product: CM18Subject Software & Interface Specifications
2.32.1.12. Buzzer BEEP
With this command is possible to execute some acoustic signal with CMCONS.
cmd: Z,n,0,8,n_beep
reply: Z,n,0,8,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
n_beep number of BEEP (min. 1 max 5)
2.32.1.13. Extended Warning module [NOT AVAILABLE]
With this command it is possible to know some warning about module.
cmd: Z,n,0,9
reply: Z,n,0,9,rc,[nxx],…,[nxx]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
[nxx] Info module (3 hex ASCII)1 chr = module address2,3 chr = info code
Example:If the operator use SPECIAL CLEANING and cassette A have wrong value of cassette counter then:
HOST: Z,1,0,9CM: Z,1,0,9,1,140,240,340,A50,B40,C40,D40,E40,F40,G40,H40
Overview
cashpro
Date: 18/10/2011 Code: Page 107 Product: CM18Subject Software & Interface Specifications
2.32.1.14. Set booking banknotes
With this command it is possible to book some notes to withdrawal.
cmd: Z,n,0,11,id_user,id_op,[n.id,nnn],…,[n.id,nnn]
reply: Z,n,0,11,rc,id_user,index,ss,pp,hh,dd,mm,yy
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase14 = not possible to book, amount not available67 = wrong side68 = not possible to book, too much booking71 = denomination not present in safe
id_user User identification (max 10 ASCII)id_op Operation identification (0 withdrawal, 1 empty)index Index identification (0÷29)n.id Denomination (ex: EUCA) or target (ex. AAAA) nnn Number of notes (0÷65535)ss Seconds (00÷59) – (two hex ASCII)pp Minute (00÷59) – (two hex ASCII)hh Hour (00÷23) ) – (two hex ASCII)dd Day of month (01÷31) – (two hex ASCII)
mm Month (01÷12) – (two hex ASCII)yy Year (00÷99) – (two hex ASCII)
In case of “empty booking” (id_op = 1) the denomination (parameter n.id) must be by target and the numberof notes (nnn) isn’t significant because l’amount is not controlled and the waiting time is calculated based on the cash data.
2.32.1.15. Del booking banknotes
With this command it is possible to delete booking banknotes to withdrawal.
cmd: Z,n,0,12,id_user, index
reply: Z,n,0,12,rc
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase65 = id_user not valid68 = not possible to book73 = booking record not present
id_user User identification (max 10 ASCII)index Index identification (0÷29)
Overview
cashpro
Date: 18/10/2011 Code: Page 108 Product: CM18Subject Software & Interface Specifications
2.32.1.16. Get booking banknotes
With this command it is possible to get booking banknotes to withdrawal for a specific user and index.
cmd: Z,n,0,13, index
reply: Z,n,0,13,rc,index,id_user,id_op,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase65 = id_user not valid68 = not possible to book73 = booking record not present
id_user User identification (max 10 ASCII)id_op Operation identification (0 withdrawal, 1 empty)index Index identification (0÷29)n.id Denomination (ex: EUCA)nnn Number of notes (0÷65535)
2.32.1.17. Get ALL booking banknotes
With this command it is possible to get all booking banknotes to withdrawal.
cmd: Z,n,0,14
reply: Z,n,0,14,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)
rcreply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase14 = not banknote booking
n.id Denomination (ex: EUCA)nnn Number of notes (0÷65535)
Overview
cashpro
Date: 18/10/2011 Code: Page 109 Product: CM18Subject Software & Interface Specifications
2.32.1.18. Get operator cash data detail UNFIT or OVERFLOW
With this command it is possible get detail of UNFIT or OVERFLOW banknotes of selected operator’s deposits.Before using this command, it is necessary to do a “init cassette command” on cassette: ex.: I, 1, L,EU--, 123456
cmd: Z,n,0,15,user_name
reply: Z,n,0,15,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_namen.id Denomination (ex: EUCA)nnn Number of notes (0÷65535)
2.32.1.19. Get operator cash data detail MULTIDENOMINATION
With this command it is possible get detail of MULTIDENOMINATION banknotes of selected operator’s deposits.Before using this command, it is necessary to do a “init cassette command” on cassette: ex.: I, 1, L,EU**, 123456
cmd: Z,n,0,16,user_name
reply: Z,n,0,16,rc,[n.id,nnn],…,[n.id,nnn]
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
user_name 10 ASCII CHAR that define user_namen.id Denomination (ex: EUCA)nnn Number of notes (0÷65535)
Overview
cashpro
Date: 18/10/2011 Code: Page 110 Product: CM18Subject Software & Interface Specifications
2.32.1.20. Get booking banknotes Ext
With this command it is possible to get fetailed informations for a specifies booking banknotes
cmd: Z,n,0,18, index
reply: Z,n,0,18,rc, index,id_user,id_op,[n.id,nnn],…,[n.id,nnn],ss,pp,hh,dd,mm,yy,status,side
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase65 = id_user not valid68 = not possible to book73 = booking record not present
index Index identification (0÷29)id_user User identification (max 10 ASCII)id_op Operation identification (0 withdrawal, 1 empty)n.id Denomination (ex: EUCA)nnn Number of notes (0÷65535)ss Seconds (00÷59) – (two hex ASCII)pp Minute (00÷59) – (two hex ASCII)hh Hour (00÷23) ) – (two hex ASCII)dd Day of month (01÷31) – (two hex ASCII)
mm Month (01÷12) – (two hex ASCII)yy Year (00÷99) – (two hex ASCII)
status Status of the booking:1: INSERTED2: ACTIVE3: CLEARED4: EXPIRED5: DELETED
side Side from which the booking has been issued
Overview
cashpro
Date: 18/10/2011 Code: Page 111 Product: CM18Subject Software & Interface Specifications
2.32.1.21. Set booking banknotes status
With this command it is possible to set the status of a booking banknotes.
cmd: Z,n,0,19,index,status
reply: Z,n,0,19,rc,prevstatus
where:n sequential number (1÷9)
rc reply-code (1÷2 ASCII-chars)73 = booking record not present
index Index identification (0÷29)status New status of the booking:
1: INSERTED2: ACTIVE3: CLEARED4: EXPIRED5: DELETED
prevstatus Previous status
2.32.1.22. Execute booking banknotes
With this command it is possible to withdrawal the booking banknotes.
cmd: Z,n,0,20,id_user, index
in case of withdrawal booking
reply: Z,n,0,20,rc,[n.id,nnn],....,[n.id,nnn]
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase65 = id_user not valid68 = not possible to book73 = booking record not present75 = booking not in ACTIVE status
id_user User identification (max 10 ASCII)index Index identification (0÷29)n.id Cassette involved (by denomination i.e EUCA or
target i.e AAAA)nnn Num. of notes withdrawed
nnn = from 1 to 3 decimal ASCII codeT-out Min 112 sec – Max 800 sec (with special clean
enable)
Overview
cashpro
Date: 18/10/2011 Code: Page 112 Product: CM18Subject Software & Interface Specifications
In case of empty booking
reply: Z,n,0,20,rc,[n.id,phy_nnn,n.id,log_nnn],....,[n.id,phy_nnn,n.id, log_nnn]
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)4 = not possible to book during recovery phase65 = id_user not valid68 = not possible to book73 = booking record not present75 = booking not in ACTIVE status
id_user User identification (max 10 ASCII)index Index identification (0÷29)n.id Cassette involved (by target i.e AAAA)
phy_nnn Number of physically note paid outnnn = from 1 to 3 decimal ASCII code
n.id Cassette involved (by target i.e AAAA)log_nnn Logical cassette counter before execute booking
banknote nnn = from 1 to 3 decimal ASCII code
T-out Min 112 sec – Max 800 sec (with special clean enable)
2.32.1.23. Logical banknote transfer
With this command it is possible to execute a logical transfer of banknote from an user to another.
cmd: Z,n,0,25,mode,user_name_dst,[cas.id,num],......,[cas.id,num]
reply: Z,n,0,25,rc, [cas.id,num],......,[cas.id,num]
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)65 = user_name not valid68 = the operation is not possible 73 = no user logged or, in mode 1, nothing to deposit
mode
0: banknotes are virtually withrawed from the user logged on, and virtually deposited to user_name_dst1: banknotes are virtually deposited to the user_name_dst2: banknotes are virtually withrawed from the user_name_dst
user_name_dst ASCII CHAR that define the user_name that receive the transfer (max 10 CHAR)
cas.id Cassette involved in the transfer (AAAA, BBBB … )The parameter is not valid in mode 1
num Number of notes to be transferred (0÷65535)The parameter is not valid in mode 1
Overview
cashpro
Date: 18/10/2011 Code: Page 113 Product: CM18Subject Software & Interface Specifications
2.32.1.24. Get status logical banknote transfer
With this command it is possible to know if there is a pending operation of logical bankonote transfer.
cmd: Z,n,0,26
reply: Z,n,0,26,rc,user_name_src,user_name_dst,[cas.id,num],..,[cas.id,num]
where:n sequential number (1÷9)
rc reply-code (1÷2 ASCII-chars)73 = no operation pending
user_name_src ASCII CHAR identifies the user_name thay performed the operation of transfer (max 10 CHAR)
user_name_dst ASCII CHAR identifies the user_name that receive the transfer (max 10 CHAR)
cas.id Cassette involved in the transfer (AAAA, BBBB … )num Number of notes to be transferred (0÷65535)
2.32.1.25. Set enable/disable cassette
With this command it is possible to enable or disable each cassette for the user open
cmd: Z,n,0,27,cassette_state
reply: Z,n,0,27,rc
where:n sequential number (1÷9)
rc
reply-code (1÷2 ASCII-chars)1 = OK3 = Sintax error66 = cassette no enable for the open 67 = wrong side
cassette_state10 ASCII CHAR that identifies the enable/disable of each cassette (example: YYYYNNYYYY in this case the cassette E and F are disable)
Overview
cashpro
Date: 18/10/2011 Code: Page 114 Product: CM18Subject Software & Interface Specifications
2.32.2. Module Reader fill command
2.32.2.1. Reader serial number fill
This command is used to fill the serial number to the bank note identifier.
cmd: Z,n,3,0,serial_num
reply: Z,n,3,0,rc
where:n sequential number (1÷9)
serial_num Module serial number (12 ASCII char)rc reply-code (1÷2 ASCII-chars)
2.32.2.2. Set identifier bank
This command is used to select the bank of note identifier with which you want to work.
cmd: Z,n,3,1,bank_num
reply: Z,n,3,1,rc
where:n sequential number (1÷9)
bank_num Number of bank (0÷15)rc reply-code (1÷2 ASCII-chars)
2.32.2.3. Set identifier number of active banks
This command is used to select the number of active banks of note identifier that will work concurrently (if you want to work in SINGLE CURRENCY bank_to_act must be equal to zero (0) or more than 4 and if you want to work in MULTICURRENCY bank_to_act must be from 1 to 4). To know the number of active bank see command “Get identifier number of active banks” § 2.28.49.
cmd: Z,n,3,2,bank_to_act
reply: Z,n,3,2,rc
where:n sequential number (1÷9)
bank_to_act Number of bank that you want to activate
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 115 Product: CM18Subject Software & Interface Specifications
2.32.2.4. Set bank config register
This command is used to select the references that will be stored on the reader (only used in MULTICURRENCY mode). To know all the references bank numbers, see command ‘Get all identifier references’ at 2.28.51
cmd: Z,n,3,3,DSP_slot,bankId
reply: Z,n,3,3,rc
where:n sequential number (1÷9)
DSP_slot Destination of reader memory (0÷3)bankId Reference bank number (0÷15)
rc Reply-code (1÷2 ASCII-chars)
2.32.2.5. Set identifier bank configurations
This command is used to temporary enable/disable references. The parameters must be ordered as configuration get by command “Get identifier bank configurations” see § 2.28.50. Default values are 1 (enabled). On every power on, the controller load default values.
cmd: Z,n,3,4,DSP1_Ref_ena,DSP2_Ref_ena,DSP3_Ref_ena,DSP4_Ref_ena
reply: Z,n,3,4,rc
where:n sequential number (1÷9)
DSP1_Ref_ena Reference n° 1 1: enabled / 0: disabledDSP2_Ref_ena Reference n° 2 1: enabled / 0: disabledDSP3_Ref_ena Reference n° 3 1: enabled / 0: disabledDSP4_Ref_ena Reference n° 4 1: enabled / 0: disabled
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 116 Product: CM18Subject Software & Interface Specifications
2.32.3. Module Safe Controller fill command
2.32.3.1. Safe Controller serial number fill
This command is used to fill the serial number stored in the Safe Controller module.
cmd: Z,n,4,0,serial_num
reply: Z,n,4,0,rc
where:n sequential number (1÷9)
serial_num Module serial number (12 ASCII char)rc reply-code (1÷2 ASCII-chars)
2.32.4. Module Cassette fill command
2.32.4.1. Cassette serial number fill
This command is used to fill the serial number of the cassettes.
cmd: Z,n,cas_id,0,serial_num,code
reply: Z,n,cas_id,0,rc
where:n sequential number (1÷9)
cas_id Cassette id ‘A’ ÷ ‘H'serial_num Module serial number (12 ASCII char)
code access-code (6 ASCII char)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 117 Product: CM18Subject Software & Interface Specifications
2.32.4.2. Set denomination on multi type cassette
Using this command is possible to set the denomination of the banknote emissions for multi type specific cassette (ddd#), multi denomination specific cassette (d*#) and multi nation specific cassette (####)
cmd: Z,n,cas_id,1, n.id, ….. , n.id
reply: Z,n,cas_id,1,rc
where:n sequential number (1÷9)
cas_id Cassette id ‘A’ ÷ ‘H'rc reply-code (1÷2 ASCII-chars)
1 = OK65 = Wrong pwd69 = Cassette not present70 = Cassette not empty71 = Denomination not present
n.id Denomination (ex: EUCA) – Max 128
Example
Setting multitype specific cassette on cassette 'A' (left side): S,3,L,GBC#,Y,ASetting detail denomination for this cassette Z,1,A,1,GBCB,GBCD, GBCH
2.32.5. CM18 Mac Address fill
2.32.5.1. Mac Address serial number fill
This command is used to fill the Mac Address.
cmd: Z,n,6,14,serial_num
reply: Z,n,6,14,rc
where:n sequential number (1÷9)
serial_num MAC ADDRESS serial number (12 ASCII char)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 118 Product: CM18Subject Software & Interface Specifications
2.32.6. CM18 LAN Parameter fill
2.32.6.1. LAN Parameter fill
This command is used to set the parameter of the LAN communication.
cmd: Z,n,6,15,ParamId,ParamVal
reply: Z,n,6,15,rc
where:
n sequential number (1÷9)ParamId It identifies the parameter to fill:
1 =DHCP2 =IP address3 =Subnet mask4 =Gateway5 =Device name6 =Device description7 =Primary DNS8 =Secondary DNS9 =Primary WINS10=Secondary WINS
ParamVal Value to insert (i.e. to set DHCP, set ParamVal to 1, to reset DHCP, set ParamVal to 0)
rc reply-code (1÷2 ASCII-chars)
2.32.6.2. Mac Address serial number fill from Controller Serial Number
This command is used to fill the Mac Address.
cmd: Z,n,6,16,CCCCWWYNNNNN
reply: Z,n,6,16,rc
where:n sequential number (1÷9)
serial_num The MACADDRES will be:000E7281NNNN (last 4 N from right)
rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 119 Product: CM18Subject Software & Interface Specifications
2.32.6.3. LAN authorized addresses list fill
This command is used to fill the authorized addresses list. It’s possible to enter a list up to a maximun of 10 IP addresses and 10 MAC addresses
cmd: Z,n,6,17,op_type,addr_type,[addr]
reply: Z,n,6,17,rc
where:n sequential number (1÷9)
op_type Operation type:1=insert an address2=delete an address3=delete all addresses (all IP or all MAC)
addr_type Type of address:1=IP address2=MAC address
addr Address to insert or to delete. If op_type=3, this parameter is not required.The IP address form is dot decimal (i.e. 172.19.11.76) while MAC address form is six group of two hex digit separated by hypens(-) (i.e. 00-13-8F-AD-11-BE)
rc reply-code (1÷2 ASCII-chars)
2.32.7. CM18 operating hour fill
2.32.7.1. Fill periodic operating hour
This command is used to fill the Periodic Operating Hour. The machine can work only during the specified period.
cmd: Z,n,T,0,day,hour1,min1,hour2,min2,lunch_hour1,lunch_min1, lunch2_hour,lunch2_min
reply: Z,n,T,0,rc
where:n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
day Day of the week (1÷7) 1Monday … 7Sundayhour1 Switch on time (Hour) (00÷23)min1 Switch on time (Minutes) (00÷59)hour2 Switch off time (Hour) (00÷23)min2 Switch off time (Minutes) (00÷59)
lunch1_hour Lunch Break on time (Hour) (00÷23)lunch1_min Lunch Break on time (Minutes) (00÷59)lunch2_hour Lunch Break off time (Hour) (00÷23)lunch2_min Lunch Break off time (Minutes) (00÷59)
Overview
cashpro
Date: 18/10/2011 Code: Page 120 Product: CM18Subject Software & Interface Specifications
N.B. If the lunch break is not provided, the parameters start and end of lunch hour break must be sets as the end time work
Overview
cashpro
Date: 18/10/2011 Code: Page 121 Product: CM18Subject Software & Interface Specifications
2.32.7.2. Fill A-periodic operating hour
This command is used to fill the A-Periodic Operating Hour. The machine can work only during the specified period. The A-periodic operating hours are defined for a specific date. If the year is 00, the periodic operating hour is valid for always time. The periodic operating hours are ignored if the A-periodic operating hours are defined for that date.
cmd: Z,n,T,3,day,month,year,hour1,min1,hour2,min2, lunch_hour1,lunch_min1,lunch2_hour,lunch2_min
reply: Z,n,T,3,rc
where: n sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
day Day of month (1÷31)month Month (1÷12) 1January … 12Decemberyear Year (es: 2003 = 03)
hour1 Switch on time (Hour) (00÷23)min1 Switch on time (Minutes) (00÷59)hour2 Switch off time (Hour) (00÷23)min2 Switch off time (Minutes) (00÷59)
lunch1_hour Lunch Break on time (Hour) (00÷23)lunch1_min Lunch Break on time (Minutes) (00÷59)lunch2_hour Lunch Break off time (Hour) (00÷23)lunch2_min Lunch Break off time (Minutes) (00÷59)
Overview
cashpro
Date: 18/10/2011 Code: Page 122 Product: CM18Subject Software & Interface Specifications
2.33. Download
With this command it is possible to load a new denomination on the reader or a new FW-release on the controller, or to write/read file to/from OSC. cmd: L,n,t,a,p1,p2,p3,p4,(Intel hex-file)
reply: L,n,rc
where:t target('2'=controller / '3'=identifier/’4’=safe /
‘5’ = FPGA / ‘6’= OSCard / ‘7’= identifier reference / 'A'…'H' cassette)
a mode 'L' = load firmware (no parms) 'F' = load firmware from file ‘E’ = execute file on device memory ‘I’ = init transfer directory ‘S’ = set download directory ‘X’ = reset download directory ‘W’ = transfer file to device memory ‘R’ = transfer file from device memory
p1 Used with mode = ‘F’, ‘W’ , ‘R’p2 Used with mode = ‘F’, ‘W’, ‘R’, ‘E’p3 Used with mode = ‘R’p4 Used with mode = ‘R’
Intel hex-file as note (*)rc reply-code (1÷2 ASCII-chars)
T-out 35 sec
2.33.1. Install Controller (Higher controller) firmware
With this download command it is possible to install the controller firmware Application.
cmd: L,n,2,L, , , , , (Intel hex-file)cmd: L,n,2,F, , , , , (Intel hex-filename)
reply: L,n,rc
Overview
cashpro
Date: 18/10/2011 Code: Page 123 Product: CM18Subject Software & Interface Specifications
2.33.2. Install Reader firmware
With this download command it is possible to install the Reader firmware (Host FW, DSP FW, FPGA FW).
cmd: L,n,3,L, , , , , (Intel hex-file)cmd: L,n,3,F, , , , , (Intel hex-filename)
reply: L,n,rc
2.33.3. Install Safe (Lower Controller) firmware
With this download command it is possible to install the Lower Controller firmware on the Safe module.
cmd: L,n,4,L, , , , , (Intel hex-file)cmd: L,n,4,F, , , , , (Intel hex-filename)
reply: L,n,rc
2.33.4. Install FPGA firmware
With this download command it is possible to install the FPGA firmware.
cmd: L,n,5,L, , , , , (Intel hex-file)cmd: L,n,5,F, , , , , (Intel hex-filename)
reply: L,n,rc
2.33.5. Install Reader Reference
With this download command it is possible to install the Reference on the Reader.
cmd: L,n,3,L, , , , , (Intel hex-file)cmd: L,n,7,F, , , , , (Intel hex-filename)
reply: L,n,rc
Overview
cashpro
Date: 18/10/2011 Code: Page 124 Product: CM18Subject Software & Interface Specifications
2.33.6. Install Cassette firmware
With this download command it is possible to install the Cassette A…H firmware.
cmd: L,n,Cas,L, , , , , (Intel hex-file)cmd: L,n,Cas,F, , , , , (Intel hex-filename)
reply: L,n,rc
where: Cas is the Cassette involved in the download (A÷H)
2.33.7. Install Multi-Cassette firmware
With this download command is possible to install the Cassette A…H firmware at the same time.
cmd: L, n, W, L, t1, --------, , , (Intel hex-file)cmd: L, n, W, F, t1, --------, , , (Intel hex-filename)
reply: L, n, rc
where: t1 is the target Cassette(s) involved in the download (A-B-C-D-E-F-G-H). If you don’t want to install firmware on a specified cassette, the missing target must be substituted with ‘-‘ character.
Ex.: Install firmware on all cassettes (A,B,C,D,E,F,G,H):
Cmd: L,0,W,L,ABCDEFGH,--------,,,(Intel hex-file)/( Intel hex-filename)
Ex.: Install firmware on cassette A,C,E,G:
Cmd: L,0,W,L,ACEG----,--------,,,(intel hex-file)/(intel hex-filename)
Ex.: Install firmware on cassette F,H:
Cmd: L,0,W,L,FH------,--------,,,(intel hex-file)/(intel hex-filename)
NOTE:
Description of Intel-hex file format.
(*)Intel-hex format: ':' = record-mark chars'nn' = record length (2 hex-ASCII) 'aaaa' = address (4 hex-ASCII)'00' = record type('00' data / '01' end of record / 'FF' comment)'dd....dd' = data in hex-ASCII'cb' = checksum excluding itself and record-mark (2 hex-ASCII)
Overview
cashpro
Date: 18/10/2011 Code: Page 125 Product: CM18Subject Software & Interface Specifications
:20C040001CB1551EC61C1EB1801CC70155D51CB1AA1CC70155D51CAF1A061C61F8FF1C0958 20h data-bytes,C040h starting address,00 record type data1C…09 data in hex ASCII58 checksum excluding itself and record-mark
:020000020000FCpage 0 Flash low
:020000FF0000FFchange sector page 1 Flash
:00000001FFend of file
Example of some rows of INTEL HEX-file for download controller firmware
:020000020000FC:20C040001CB1551EC61C1EB1801CC70155D51CB1AA1CC70155D51CAF1A061C61F8FF1C0958:20C060000C1C65AA2A1CB1551EC61C1EAC0F1C61F0FF1CAF1A061E0A011E801E1CB01C0F31
Example of download sequence for controller firmware:
Host: L,1,2,L,,,,,:020000020000FCCM: L,1,1Host: L,2,2,L,,,,,:20C040001CB1551EC61C1EB1801CC70155D51CB1AA1CC70155D51CAF1A061C61F8FF1C0958CM: L,2,1Host: L,3,2,L,,,,,:20C060000C1C65AA2A1CB1551EC61C1EAC0F1C61F0FF1CAF1A061E0A011E801E1CB01C0F31CM: L,3,1…………………..
Overview
cashpro
Date: 18/10/2011 Code: Page 126 Product: CM18Subject Software & Interface Specifications
2.33.8. Execute file on OSCard memory
With this download command it is possible to execute a file on the device memory.
cmd: L,n,6,E,m,(FileName), , ,
reply: L,n,rcwhere:
m0: Download OSC forced1: Check version and download OSC (Only used to download OSC with CMUpgrade.exe)
FileName Name of the file that will be executed on device
2.33.9. Init transfer
With this command it is possible to create or clear FW SUITE directory used to transfer files with command “Transfer file to OSC Card memory” or to check configuration files version.
cmd: L,n,6,I,m , , , ,FileName
reply: L,n,rcwhere:
m8: Init SUITE FW directory9: Check FILM version10: Check IMG version
FileName Directory or file name
2.33.10. Set download directory
With this command it is possible to set FW SUITE directory used to read files to install modules FW with dedicated download commands or to execute file on OSCard memory (see command “Execute file on OSCard memory”).
cmd: L,n,6,S,m , , , , Dir_Name
reply: L,n,rcwhere:
m 8: Set SUITE FW directoryDir_Name Directory name
2.33.11. Reset download directory
With this command it is possible to reset FW SUITE directory used to read files to install modules FW with dedicated download commands (see command “Set download directory”).
cmd: L,n,6,X, , , , ,
reply: L,n,rc
Overview
cashpro
Date: 18/10/2011 Code: Page 127 Product: CM18Subject Software & Interface Specifications
2.34. Transfer file to OSC Card memory
With this download command it is possible to transfer a file from the PC to the device memory.
cmd: L,n,6,W,m,(FileName),p3,p4,[(FileData)]
reply: L,n,rc
where:
m
0 : Cancel file1 : Data transfer Es. : data = 0x30 0x31 0x32 0x33 0x34 0x35 The file on the device will contain 0x30 0x31 0x32 0x33 0x34 0x352 : Data transfer + Bin conversion (The data will be converted from Ascii to bin) Es.: Data = 0x30 0x31 0x32 0x33 0x34 0x35 The file on the device will contain 0x01 0x23 0x454: End transfer OK with LAN or USB\RS232 simplified protocol5: End transfer FAIL with LAN or USB\RS232 simplified protocol6: Abort transfer file with LAN or USB\RS232 simplified protocol7: Data block transfer with LAN or USB\RS232 simplified protocol8: Init SUITE file transfer with LAN or USB\RS232 simplified protocol9: Init FILM file transfer with LAN or USB\RS232 simplified protocol10: Init IMAGE file transfer with LAN or USB\RS232 simplified protocol11: Init LANGUAGEfile transfer with LAN or USB\RS232 simplified protocol12: Init REFERENCE file transfer with LAN or USB\RS232 simplified protocol13: Init SKIN file transfer with LAN or USB\RS232 simplified protocol14: Init GUI file transfer with LAN or USB\RS232 simplified protocol
FileName is the name of the file that will be deleted,updated on the device
p3 This parameter is valid from m = 8 to m = 14Is the number of byte to transfer (size in byte of the file)
p4
This parameter is only valid with:- From m = 8 to m = 14 and the value must be the transfer block size (Max
16KB with USB simplified protocol, 1KB with RS232 simplified protocol or 0 with LAN protocol).
N.B. It’s necessary to configure serial baud rate to 115200 to use max transfer block size to 1KB with RS232 simplified protocol.
FileData
With m=7 is the data of the file to be transfered (Ascii and Binary Format). Maximum len is 16384 (16KB) with USB simplified protocol and 1024 (1KB) with RS232 simplified protocol.
With all other parameters is the data of the file to be transfered (Ascii Format). Maximum len is 1024.
N.B parameter not valid with m = 4, m = 5, m = 6 and from m = 8 to m = 14
Command Sequence sample (Text File):1. L,2,6,W,1,/TEMP/PIPPO.TXT,,,TEXT1
L,2,12. L,3,6,W,1,/TEMP/PIPPO.TXT,,,TEXT2
L,3,13. L,4,6,W,1,/TEMP/PIPPO.TXT,,,TEXT3
L,4,14. ….
To delete the file
Overview
cashpro
Date: 18/10/2011 Code: Page 128 Product: CM18Subject Software & Interface Specifications
L,1,6,W,0,/TEMP/PIPPO.TXT,,,
Command Sequence sample (Bin File):1. L,2,6,W,2,/TEMP/PIPPO.BIN,,,data0
L,2,12. L,3,6,W,2,/TEMP/PIPPO.BIN,,,data1 L,3,13. L,4,6,W,2,/TEMP/PIPPO.BIN,,,data2 L,4,14. …..
To delete the fileL,1,6,W,0,/TEMP/PIPPO.BIN,,,
To transfer a GUI file from the PC to the device memory through the LAN protocol, the command must be send to the PORT address 8101 (address fixed), while the file must be send to the PORT address 8100 (address fixed).
Command Sequence sample (Bin File protocol LAN):1. L,1,6,W,14,/TEMP/PIPPO.BIN,274625,0 Port 8101
L,1,12. File transfer es. C:\TRACE.TXT Port 8100
To transfer a SKIN file from the PC to the device memory through the USB simplified or RS232 simplified protocol, the command must be send to the USB or RS232 port. During download is not possible to send other commands.
Command Sequence sample (Bin File protocol USB simplified):1. L,1,6,W,13,SKIN_1,274625,16384
L,1,12. L,1,6,W,7,,,,Block_Data
L,1,1
3. L,1,6,W,6,,,, To abort file download during transfer dataL,1,1
To transfer a complete suite from the PC to the device memory through the USB simplified or RS232 simplified protocol, the command must be send to the USB or RS232 port. During download is not possible to send other commands.
Command Sequence sample (Bin File protocol USB simplified):1. L,1,6,I,8,,,,”Suite_Name” (see command ”Init transfer suite”)
L,1,12. L,1,6,W,8,File_1.BIN,274625,16384
L,1,13. L,1,6,W,7,,,,Block_Data
L,1,1……..
4. L,1,6,W,8,File_2.BIN,44444,16384 L,1,1
5. L,1,6,W,7,,,,Block_DataL,1,1
……..6. L,1,6,W,4,,,, (”L,1,6,W,5,,,,” to end transfer in FAIL condition)
L,1,1
Overview
cashpro
Date: 18/10/2011 Code: Page 129 Product: CM18Subject Software & Interface Specifications
2.34.1. Get data reader information With this download command it is possible, after a deposit command with a false or suspect banknote, to get some data reader information type the bitmap of serial number, the magnetic map or all the fingerprint This command work only in simplified protocol (RS232 or USB)
cmd: L,n,6,D,type,n_finger,size_image,n_block,size_block
reply: L,n,rc,size_image,..data..
where:
type
Type of request data0 : serial number1 : magnetic map2.: all fingerprint
n_finger Number of banknote
size_image
Size of the data request.(bytes)Typically the values are:4800 byte for the serial number6000 byte for the magnetic map8192 bytes for all the fingerprint
n_block
Number of block to read.It is possible to read the information by block, but it is advisable to read the entire information at once.Typically the values is 1
size_block
Size block to read.( size_image/ n_block rounded n 1024bytes)If the “n_block” parameter is 1 this value must be:5120 byte for the serial number6144 byte for the magnetic map8192 bytes for all the fingerprint
Data Bytes read
Example
Host: O,1,L,123456 OpenCM: O,1,L,1
Host: D,2,L,0,0000 Deposit : 29 bn accepted and 2 false or suspectCM: D,2,L,1,29,0,2,EUDA,29
Host: L,3,6,D,0,0,4800,1,5120 Request of serial number map of the first banknoteCM: L,3,1,4800,.. data...
Overview
cashpro
Date: 18/10/2011 Code: Page 130 Product: CM18Subject Software & Interface Specifications
2.35. RS232 Parameter
Reserved to service.
2.35.1. Temporary change baud rate
Using this command it is possible to change temporarily the baud rate of serial interface 1&2.The baud rate standard setting (9600 bps) is restored ONLY on the following event:1) After a power-off / power-on sequences 2) On the end of a successfully firmware application download
cmd: N,n,0,baud
reply: N,n,0,rc
where:n sequential number (1÷9)
baud Baud rate9600 (default), 19200, 3840057600, 115200
rc reply-code (1÷2 ASCII-chars)
Examples: N,n,0,38400 Set baud rate to 38400.
Overview
cashpro
Date: 18/10/2011 Code: Page 131 Product: CM18Subject Software & Interface Specifications
2.36. Transparent On
Reserved to service.
When the transparent is active, there is no control from the master board over the data sent and received, so any wrong use of this mode can damage the settings, data or even the hardware of the CM18. With this command it is possible to communicate directly to an internal module(including controller extended function).
cmd: X,n
reply: X,n,rc
where:n sequential number(1÷9)rc reply-code (1÷2 ASCII-chars)
During transparent mode no protocol is required .The transparent mode is allowed only on one serial interface at once.All the data (in hex-ASCII) from host are sent in binary to internal interface.All the response in binary will be sent back to the host in hex-ASCII .Do not power off the unit in transparent mode.Use always the transparent off command to close the service transparent session.
2.37. Transparent Off
Reserved to service .
With this command the mode return from transparent to normal-mode .The received bytes are interpreted and execute from the controller .
cmd: Y,n
reply: Y,n,rc
where: n sequential number(1÷9)rc reply-code (1÷2 ASCII-chars)
Overview
cashpro
Date: 18/10/2011 Code: Page 132 Product: CM18Subject Software & Interface Specifications
2.38. OPTIONAL DEVICES
2.38.1. LOCK SAFE
Here are the commands for the management of PREMA Lock Safe EK 1500 and Koval EK 1500.
2.38.1.1. Init
With this command it is possible to initialize Lock Safe.
cmd: T,n,0,19,flg
reply: T,n,0,19,rc
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = ok3 = Syntax66 = Lock Safe not initialized and save is not allowed982 = Error creating LOCK SAFE configuration file983 = Error writing LOCK SAFE configuration file
flg Initialize/Store flag (1 ASCII Char)0 : Init LOCK SAFE configuration1 : Save LOCK SAFE configuration
2.38.1.2. Get channel description
With this command it is possible to get Lock Safe channel description.
cmd: T,n,0,20,side,channel
reply: T,n,0,20,rc,side,channel,cur_code,ls_cass,cur_descr
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = ok3 = Syntax67 = Wrong side73 = Record not present (channel not configured)
side Side (L-R)channel Channel number (0÷31).
Every operator have 32 configurable channels.cur_code Currency code (5 ASCII char)
ls_cas Lock Safe cassette associated to channelcur_descr Currency description (10 ASCII char)
Overview
cashpro
Date: 18/10/2011 Code: Page 133 Product: CM18Subject Software & Interface Specifications
2.38.1.3. Get cassette number
With this command it is possible to get Lock Safe cassette number.
cmd: T,n,0,26
reply: T,n,0,26,rc,cass_number
where:n Sequential number (1÷9)rc reply-code (1÷2 ASCII-chars)
1 = okcass_number Lock Safe cassette number (1÷7)
2.38.1.4. Open one cassette
With this command it is possible to open one Lock Safe cassette.
cmd: T,n,0,27,side,cass_num
reply: T,n,0,27,rc
where:n Sequential number (1÷9)rc reply-code (1÷3 ASCII-chars)
1= ok2= Low level controller busy3 = Syntax8 = Cassette already opened67 = Wrong side69 = Cassette number not valid71 = Cassette not present98 = CM locked901 = Open COM Communication Error907 = Communication timeout (Lock Safe not present)
side Side (L-R)cass_num Lock Safe cassette number to open
Overview
cashpro
Date: 18/10/2011 Code: Page 134 Product: CM18Subject Software & Interface Specifications
2.38.1.5. Fill cassette description
This command is used to fill Lock Safe cassette description.
cmd: Z,n,S,0,side,cur_code,ls_cas,cur_descrreply: Z,n,S,0,rc
where:n sequential number (1÷9)rc reply-code (1÷3 ASCII-chars)
1 = ok3 = Syntax13 = Denomination full (there are not channels available)67 = Wrong side69 = Cassette number not valid982 = Error creating LOCK SAFE configuration file983 = Error writing LOCK SAFE configuration file
side Side (L-R)
cur_code Currency code (5 ASCII char)
ls_cas Lock Safe cassette (1÷7)cur_descr Currency description (10 ASCII char)
N.B. One new channel is associated to every Lock Safe cassette configured (every operator have 32 configurable channels).
2.38.1.6. Fill cassette number
This command is used to fill Lock Safe cassette number.
cmd: Z,n,S,1,cass_numberreply: Z,n,S,1,rc
where:n sequential number (1÷9)rc reply-code (1÷3 ASCII-chars)
1 = ok3 = Syntax69 = Cassette number not valid982 = Error creating LOCK SAFE configuration file983 = Error writing LOCK SAFE configuration file
cass_number Lock Safe cassette number (1÷7)
Overview
cashpro
Date: 18/10/2011 Code: Page 135 Product: CM18Subject Software & Interface Specifications
3. APPLICATION NOTE
3.1. Nation ModeA cassette can be programmed to store every denomination of a specific nation. The nation mode can work in two different way:
1. Multidenomination mode2. Unfit mode3. Overflow mode4. False & suspect mode5. Multination mode
On a cassette programmed to work in MultiDenomination mode the third and the forth character of the denomination are set as ‘*’ (i.e. all EURO denomination: EU**) or in Unfit mode the third and the forth character of the denomination are set as ‘-’ (i.e. all EURO denomination: EU--)On a cassette programmed to work in Overflow mode the third and the forth character of the denomination are set as ‘+’ (i.e. all EURO denomination: EU++)On a cassette programmed to work in MultiDenomination + Overflow + Unfit mode, the third and the forth character of the denomination are set as ‘#’ (i.e. all EURO denomination: EU##)On a cassette programmed to work in MultiNation mode, all the four character of the denomination are set as ‘*’ (i.e. denomination: ****)
3.2. Safe configuration
A cassette can be programmed to Nation Mode only if it’s empty. A cassette programmed in nation mode (i.e. EU** or EU-- or EU++ or EU## or EU?? or ****) and not empty cannot be set for one single denomination.
Some example in the following safe configuration:107 notes EUCA(5€) set in cassette A side enabled: left000 notes EUDA (10€) set in cassette B side enabled: left and right095 notes EUEA (20€) set in cassette C side enabled: right024 notes EUEA (20€) set in cassette D side enabled: left and right000 notes EUHA (100€) set in cassette E side enabled: none237 notes EUIA (200€) set in cassette F side enabled: left and right000 notes EUJA (500€) set in cassette G side enabled: left and right000 notes EUCA (5€) set in cassette H side enabled: left and right
Old Cassette Set-Up Setting command Reply code New Cassette Set-upCass. N.id Num
.Side Cass. N.id Num
.Side
A EUCA 107 L S, 1, L, EU**, Y, A 70 : Denomination not Empty A EUCA 107 LA EU** 107 L S, 1, L, EUDA, Y, A 70 : Denomination not Empty A EU** 107 LB EUDA 0 L+R S, 1, L, EU**, Y, B 1 : OK B EU** 0 L+RB EU** 0 L+R S, 1, L, EUEA, Y, B 1 : OK B EUEA 0 L+RC EUEA 95 R S, 1, R, IT**, N, C 70 : Denomination not Empty C EUEA 95 RD EUJA 24 L+R S, 1, R, EU++, Y, D 70 : Denomination not Empty D EUJA 24 L+RE EUHA 0 N S, 1, R, EU++, Y, E 1 : OK E EU++ 0 R
Each of the 10 cassettes (A÷H) can be programmed as Nation mode – Multidenominations or Unfit or Overflow Multination .It’s advisable to program at most one cassette to Multidenomination or Unfit mode and one cassette to Overflow mode in order to have the better handling of the safe.A cassette programmed as Multidenomination mode (i.e. EU**) will only accept banknotes that are not programmed in another cassette as single denomination. A cassette programmed as Unfit mode in alternative to Multidenomination (i.e. EU--) will accept all banknotes (if enable unfit note handling see § 2.27.4) whose quality is deemed to be insufficient for further use in the cash cycle.
Overview
cashpro
Date: 18/10/2011 Code: Page 136 Product: CM18Subject Software & Interface Specifications
A cassette programmed as Overflow mode (i.e. EU++) will accept all banknotes of the specified nation.If during a deposit a cassette with a single denomination (i.e. EUDA) becomes full, the banknote will be accepted only on a cassette programmed as Overflow (i.e. EU++). (see “Deposit Operation” § 3.3)If during a deposit a cassette programmed as Multidenomination Mode (i.e. EU**) becomes full, the banknotes will be accepted on a cassette programmed as Overflow (i.e. EU++)
Overview
cashpro
Date: 18/10/2011 Code: Page 137 Product: CM18Subject Software & Interface Specifications
3.3. Deposit operation
The deposit sequence will work as follows:
For each banknote which is recognized from the reader, the controller (scanning from the cassette A to cassette H) will look for a cassette programmed with that specific denomination (i.e. EUEA), then for a cassette programmed as multitype (i.e. EUE*), then, if the single denomination is not found on a cassette, the controller will look for a cassette programmed as Multidenomination (i.e. EU**), otherwise if the single denomination is found on a cassette but the cassette is full the controller will look for a cassette programmed as Overflow (i.e. EU++).
Example 1:Unit programmed as:
000 notes EUCA (5€) set in cassette A side enabled: left and right000 notes EUDA (10€) set in cassette B side enabled: left and right000 notes EUEA (20€) set in cassette C side enabled: left and right000 notes EUGA (50€) set in cassette D side enabled: left and right000 notes EUGA (50€) set in cassette E side enabled: left and right000 notes EUHA (100€) set in cassette F side enabled: left and right000 notes EU** (200€, 500€)set in cassette G side enabled: left and right000 notes CA++ (all Canadian $) set in cassette H side enabled: left and right
Bank 1 EURO (€) denomination and Bank 2 CANADA ($) denomination and bank 1 is activated Deposit normal of n.2 EUEA banknotes
HOST: D,1,L,0,0000CM: D,1,L,1,2,0,0,EUCA,0,EUDA,0,EUEA,2,EUGA,0,EUGA,0,EUHA,0,EU**,0,CA++,0
Deposit normal of n.3 EUCA, n.5 EUGA, n.2 EUHA, n.6 EUJA, n.4 EUIA banknotes
HOST: D,1,L,0,0000CM: D,1,L,1,20,0,0,EUCA,3,EUDA,0,EUEA,0,EUGA,5,EUGA,0,EUHA,2,EU**,10,CA++,0,
EUIA,4,EUJA,6
- The first section¹ of the answer is related to the physical cassette:EUCA,3,EUDA,0,EUEA,0,EUGA,5,EUGA,0,EUHA,2,EU**,10,CA++,0,Fixed data structure (8 couples) related to the physical cassette position (from the cassette A to the cassette H)
- The second section² of the answer is related to the detail of the notes stored in the Nation Cassette (i.e. EU** or CA++) during the deposit operation EUIA,4,EUJA,6 data fields present only in case of notes directed to a Nation cassette (Multidenomination orOverflow)
The total number of deposited banknotes is the sum of fixed data fields (First section¹).The total amount of the deposit operation is the sum between the single currency data fields (Second section²) and the fixed data fields (First section¹) [excluding Nation EU** and CA++].
If a deposit operation has to be annulled, the relative ‘Undo’ withdrawal must be related only to the fixed data field (First Section¹).
The order sequence of the Nation detail denominations in the first section¹ fields is related to the sequence of the reference channels on the banknote reader device.
Overview
cashpro
Date: 18/10/2011 Code: Page 138 Product: CM18Subject Software & Interface Specifications
Example 2:Unit programmed as:
000 notes EUCA (5€) set in cassette A side enabled: left and right000 notes EUDA (10€) set in cassette B side enabled: left and right000 notes EUEA (20€) set in cassette C side enabled: left and right000 notes EUGA (50€) set in cassette D side enabled: left and right000 notes EUHA (100€) set in cassette E side enabled: left and right000 notes EUIA (200€) set in cassette F side enabled: left and right000 notes EU-- (Unfit €) set in cassette G side enabled: left and right000 notes CA++ (all Canadian $) set in cassette H side enabled: left and right
Bank 1 EURO (€) denomination and Bank 2 CANADA ($) denomination and is activated bank 1
Deposit normal of n.2 EUCA (Unfit) banknotes
Bank 1 is activatedHOST: D,1,L,0,0000CM: D,1,L,1,2,0,0,EUCA,0,EUDA,0,EUEA,0,EUGA,0,EUHA,0,EUIA,0,EU--,2,CA++,0
EUCA,2
Deposit nation of n.1 CAGB, n.1 CADC, n.1 CAEC banknotes
Bank 1 is activatedHOST: D,1,L,0,CA00CM: D,1,L,1,3,0,0,0000,0,0000,0,0000,0,0000,0,0000,0,0000,0,0000,0,CA++,3,
CAGB,1,CADC,1,CAEC,1Now bank 2 is activated
Deposit nation of n.4 EUCA (5€) banknotes
Bank 2 is activatedHOST: D,1,L,6,EU00CM: D,1,L,1,4,0,0,EUCA,4,EUDA,0,EUEA,0,EUGA,0,EUHA,0,EUIA,0,EU--,0,0000,0
Bank 1 is activated
Overview
cashpro
Date: 18/10/2011 Code: Page 139 Product: CM18Subject Software & Interface Specifications
3.4. Withdrawal operation
This operation will be handled as before specifying the requesting denomination and the number of banknotes. There is no difference for the unit if the application requesting single or multi denomination.The controller (scanning from the cassette H to cassette A) search the requested notes first in cassette programmed with that specific denomination (i.e. EUEA), then for a cassette programmed as multitype (i.e. EUE*).
Example:Unit programmed as:
010 notes EUCA (5€) set in cassette A side enabled: left and right037 notes EUDA (10€) set in cassette B side enabled: left and right015 notes EUEA (50€) set in cassette C side enabled: left and right010 notes EUE* (50€ all version of reference) set in cassette D side enabled: left and right030 notes EU** (20€,100€) set in cassette E side enabled: left and right020 notes EUIA (200€) set in cassette F side enabled: left and right012 notes EUJA (500€)set in cassette G side enabled: left and right000 notes EUCA (5€) set in cassette H side enabled: left and right
Example of withdrawal of 10 EUCAHOST: W,1,L,EUCA,10CM: W,1,L,14,EUCA,10
The controller get the notes from cassette A.
Example of withdrawal of 10 EU**HOST: W,1,L,EU**,10CM: W,1,L,1,EU**,10
The controller gets the notes from cassette E. Of course there is no information related to the value of 10 banknotes, which means that withdrawal directed to a multidenomination cassette has to be only used in case of ‘Deposit Undo’ or for an ‘Empty cassette’.
Example of withdrawal of 20 EUE*HOST: W,1,L,EUE*,20CM: W,1,L,14,EUE*,10
The controller gets notes from the cassette D.
Example of withdrawal of 20 EUEAHOST: W,1,L,EUEA,20CM: W,1,L,14,EUEA,20
The controller gets 15 notes first from cassette C then 5 notes from cassette D.
Overview
cashpro
Date: 18/10/2011 Code: Page 140 Product: CM18Subject Software & Interface Specifications
3.5. Alarm configuration on controller board
Alarm id Direction Alarm descriptionALARM0 Output SW ALARMALARM1 Output ANTISISMIC / OPEN DOOR (configurable with
command see § 2.27.4)ALARM3 Input SYSTEM LOCK
(configurable with command see § 2.27.4)ALARM3 Input UNLOCK DOOR with key present into SAFEALARM4 Input SAFE LOCKED (power off +36V in SAFE if hardware
connection)
cashpro
Date: 18/10/2011 Code: Page 141 Product: CM18Subject Software & Interface Specifications
4. TABLES
4.1. Reply Code TableThe FW program which runs the CM18 replies to each Host command with a specific “Reply Code” according to the status of the CM18.
The following paragraphs will describe each reply code, the area of the CM18 involved, the possible cause and the action to take.
4.2. General conditions
Code Description Area Cause and action taken1 OK SW4 Busy SW The requested command cannot be executed5 Cover open Upper
CoverThe upper cover is open (Forced condition after any error in the upper mechanical track).
6 Safe open Safe door The safe door is open7 Feeder open Feeder The feeder is open.8 Cassette
UnlockedSafe module
There are not locked cassettes
30 Out of service
All If one of the “operating errors” of the previous table is not removed by the operator and the subsequent cleaning procedure, the CM18 goes “Out of service”. The same thing can occur at “power on” if one of the modules does not reply or is not working. To exit this status, power off the CM18 .
31 Deposit out of service
Feeder - Identifier
The feeder or the identifier is not working.It is possible anyway to withdrawal the money
60 Safe Out of service
Safe module
Safe module (LOCO) doesn’t reply on the RS232 line to master controller (MACO).To exit this status, power off the CM18 .
98 CM LOCKED
All
cashpro
Date: 18/10/2011 Code: Page 142 Product: CM18Subject Software & Interface Specifications
4.3. Operating conditions
Code Description Area Cause and action taken2 SW error Module Problem during download about FLASH memory or not
answer with that module3 Syntax error SW Syntax error in the Host command. Check the command
sequence9 Note on right
outputRight output
Notes are detected on the right output compartment.
10 Note on left output
Left output
Notes are detected on the left output compartment.
11 Note on front output
Feeder reject out
Notes are detected on the reject compartment of the feeder.
12 No input note Feeder No input notes are detected on the feeder input slot after a deposit command.
13 Denomination full
Cassettes All the cassettes programmed with the specific denomination are full.
14 Denomination empty
Cassettes All the cassettes programmed with the specific denomination are empty.
64 Note on Feeder input
Feeder Note left on the feeder input tray at the end of a deposit command
65 Wrong Key All/contr. The key code used is wrong66 No Cassette
EnableAll There are no cassette enable with reference to the operator
side used67 Wrong side All The operator side used in the cmd is not correct68 Req. Over limit Withdraw. The number of requested notes(Withdrawal cmd) exceeds the
20069 Cass. not pres. The cassette is not present70 C/n.id not empty The cassette or denomination is not empty71 n.id not present The denomination is not present72 No journal E. Journal The electronic journal optional kit is not present or not working73 Record not
presentE. Journal The journal record is not present in the specific area range
74 Wrong FW FW in download is not compatible75 Booking not in
ACTIVE statusBooking The request booking is noy in ACTIVE status
cashpro
Date: 18/10/2011 Code: Page 143 Product: CM18Subject Software & Interface Specifications
4.4. Operating errors
Code Description Area Cause and action taken16 Feeder jam Feeder An error is detected during the feeding cycle. The “feeder open “
condition is activated.Open the feeder, remove the notes , close and restart.
17 Identify unit jam
Identifier The note is jammed inside the unit or its transition time exceeds the limits. The “ cover open” status is activated.Open the note reader, remove the jammed note, check the conditions of the internal surfaces, close and restart.
18 Upper track jam
Upper track
The note does not reach the F-SHIFT sensor within the specified time.More than two notes are detected in the path. The “Cover open” status is activated.Open the upper cover, remove the jammed notes, close, wait for the cleaning procedure, collect the notes conveyed to the output compartment and restart.
19 Cross point jam
Crosspoint
The note does not reach the destination path on time.The “Cover open “status is activated.Same procedure as above.
20 Lower track jam
Safe During a deposit operation an imbalance is detected between the number of notes in a specific cassette and the number of “diverted” commands directed to the same cassette. During a withdrawal operation the number of notes in the path is not correct or the note transition time exceeds the limit.Open the safe, open the cassette trays, check all the note paths , if necessary remove the cassette and check the note position or try to send a SPECIAL CLEAN.
21 Output track jam
Output track area
The note transition time from Fcash to Foutx exceeds the limits.The “cover open” status is activated.Open the cover and lift the two frames over the cross point area, remove the jammed notes, check for any visible obstacles, close and restart.Check also that the notes are not torn or do not have holes.
22 - 29
Cassette A…H jam
Cassette A…H
The cassette photo sensors detect a wrong transition time.Power off the CM18, open the safe and the tray with the cassette causing the error or try to send a SPECIAL CLEAN.When one or more notes are manually removed from the cassette the cassette note counter will be wrong.
40 - 47
Missing note on cassette A…H
Cassettes or Safe track
The number of ‘Sorter Off’ operations directed to the cassette is greater than the number of notes arrived in the same cassette. The note can be at the bottom of the safe or in a different cassette. Power off the CM18, open the safe and the tray with the cassette causing the error or try to send a SPECIAL CLEAN.Check and undo the latest operation
cashpro
Date: 18/10/2011 Code: Page 144 Product: CM18Subject Software & Interface Specifications
4.5. Failures
Code Description Area Cause and action taken15 Missfeeding Feeder The thickness sensor does not detect any input note after more
feeding cycles. Check the input notes position and repeat the command.
32 -39 Cassette out of service A…H
Cassettes A…J
One of the cassettes doesn’t reply on the “485” lineCheck the connection and if necessary replace the electronic board
48 InternalComm.Error
ALL Internal serial error (not longer used), Feeder wrong status, Reader Comm Error, Safe Comm Error, Safe Failure
49 Note overflow
Bank noteReader
The note reader does not define a target for the note in transit within the limit. The “cover open” status is activated.Open the cover check the notes in the path, close and restart.
50 Count error All At the end of a withdrawal operation the delivered notes do not match the requested ones.
cashpro
Date: 18/10/2011 Code: Page 145 Product: CM18Subject Software & Interface Specifications
4.6. Reply code present in the ERROR LOG
Code Description Area Cause and action taken103 Cover open Upper
CoverThe upper cover is open
104 Safe open Safe door The safe door is open105 Feeder open Feeder The feeder is open.106 Out of
serviceAll If one of the “operating errors” of the previous table is not removed
by the operator and the subsequent cleaning procedure, the CM18 goes “Out of service”. The same thing can occur at “power on” if one of the modules does not reply or is not working. To exit this status, power off the CM18 .
107 Deposit out of service
Feeder - Identifier
The feeder or the identifier is not working.It is possible anyway to withdrawal the money
301 Feeder jam Feeder An error is detected during the feeding cycle. The “feeder open “ condition is activated.Open the feeder, remove the notes , close and restart.
302 Identify unit jam
Identifier The note is jammed inside the unit or its transition time exceeds the limits. The “ cover open” status is activated.Open the note reader, remove the jammed note, check the conditions of the internal surfaces, close and restart.
303 Upper track jam
Upper track
The note does not reach the F-SHIFT sensor within the specified time.More than two notes are detected in the path. The “Cover open” status is activated.Open the upper cover, remove the jammed notes, close, wait for the cleaning procedure, collect the notes conveyed to the output compartment and restart.
304 Cross point jam
Crosspoint
The note does not reach the destination path on time.The “Cover open “status is activated.Same procedure as above.
305 Lower track jam
Safe During a deposit operation an imbalance is detected between the number of notes in a specific cassette and the number of “diverted” commands directed to the same cassette. During a withdrawal operation the number of notes in the path is not correct or the note transition time exceeds the limit.Open the safe, open the cassette trays, check all the note paths , if necessary remove the cassette and check the note position or try to send a SPECIAL CLEAN.
306 Output track jam
Output track area
The note transition time from Fcash to Foutx exceeds the limits.The “cover open” status is activated.Open the cover and lift the two frames over the cross point area, remove the jammed notes, check for any visible obstacles, close and restart.Check also that the notes are not torn or do not have holes.
307 - 316
Cassette A…J jam
Cassette A…J
The cassette photo sensors detect a wrong transition time.Power off the CM18, open the safe and the tray with the cassette causing the error or try to send a SPECIAL CLEAN.When one or more notes are manually removed from the cassette the cassette note counter will be wrong.
317-318
Reserved Reserved for future use
319 - 328
Missing note on
Cassettes or Safe
The number of ‘Sorter Off’ operations directed to the cassette is greater than the number of notes arrived in the same cassette.
cashpro
Date: 18/10/2011 Code: Page 146 Product: CM18Subject Software & Interface Specifications
cassette A…J
track The note can be at the bottom of the safe or in a different cassette. Power off the CM18, open the safe and the tray with the cassette causing the error or try to send a SPECIAL CLEAN.Check and undo the latest operation
329-318
Reserved Reserved for future use
401 Missfeeding Feeder The thickness sensor does not detect any input note after more feeding cycles. Check the input notes position and repeat the command.
402 -411
Cassette out of service A…J
Cassettes A…J
One of the cassettes doesn’t reply on the “485” lineCheck the connection and if necessary replace the electronic board
412-413
Reserved Reserved for future use
cashpro
Date: 18/10/2011 Code: Page 147 Product: CM18Subject Software & Interface Specifications
414 InternalComm.Error
ALL Internal serial error (not longer used)
415 Note overflow Bank noteReader
The note reader does not define a target for the note in transit within the limit. The “cover open” status is activated.Open the cover check the notes in the path, close and restart.
416 Count error All At the end of a withdrawal operation the delivered notes do not match the requested ones.
417 Feeder Wrong status
Feeder Wrong reply code on FEEDER
418 Reader Comm Error
Reader RS232 problem from Banknote reader to Controller REAL TIME
419 Safe Comm Error
Safe RS232 problem from Lower Controller to Controller REAL TIME
420 Safe Failure Safe Safe Failure
580 Info ModuleHW
All Information module HW
581 Info ModuleSW
All Information module SW
583 Special cleanrecord
All Record the special clean function
594 Error in recovery
All Error occurred in recovery phase
595 Statistic record
All Statistic at power off
596 Service record
All Record the data defined on Service Fill command
597 Safe Open record
All Record the safe open condition
598 Lock record All Record the lock status599 Power On
recordAll Record the Power On
600 Power On Transfer
All
601 Moved cassette
All Record the movement of a cassette
cashpro
Date: 18/10/2011 Code: Page 148 Product: CM18Subject Software & Interface Specifications
4.7. Internal Reply Code
Code Description Area Cause and action taken901 Open COM
Communication ErrorAll Error opening COM port
902 Close COM Communication Error
All Error closing COM Port
903 Set COM Communication Error
All Error setting parameters on COM port
904 COM Communication Error
All Error on Communication on COM port
905 Write COM Error All Error sending byte on COM port906 Read COM Error All Error reading byte on COM port907 COM Timeout All Timeout in Communication on COM port908 COM Communication
Buffer ErrorAll Communication Buffer Oveflow
909 COM Communication Wait Error
All Error on waits for an event to occur on COM port
911 Open LAN Communication Error
All Error opening LAN
912 Close LAN Communication Error
All Error closing LAN
913 Write LAN Error All Error sending byte on LAN914 Read LAN Error All Error reading byte on LAN921 BCC Error All BCC Error922 Sequence Error All Sequence Error923 NAK Error All NAK Error924 Lenght Error All Lenght Error931 Test fail Test Test fail932 Timeout on test Test Timeout on test941 Low level controller
communication ErrorAll Error in OSC/RTC communication
961 Collision Error on FPGA All Error Writing/Reading FPGA962 FPGA Download Error All Error on FPGA Action981 Download in progress All Download is in progress982 Create File Error ErrorLog/Download
file/UserInfoError creating file
983 Write File Error ErrorLog/Download file/UserInfo
Error writing file
984 Read File Error ErrorLog/Download file/UserInfo
Error reading file
985 Open File Error Download file/ Download from file
Error opening file
987 Read File error Download from file Error reading file988 ErrLog File Error ErrorLog Error managing ErrorLog file989 InfoLog File Error Info Log Error managing InfoLog File990 UserLog File Error User Log Error managing UserLog File998 Memory Allocation Error Download Error allocating memory999 System Error All System Error
cashpro
Date: 18/10/2011 Code: Page 149 Product: CM18Subject Software & Interface Specifications
4.8. Extended reply codes
In addition to the high level reply codes described in the previous pages, it possible to get more information related to the status of a specific module with the ‘Extended Status’ command.
4.8.1. Feeder unit
It’s not possible to view status in TRANSPARENT mode because is included in REAL TIME Controller.
Hex code Name Description
01 Idle The device is in Post Reset status02-03 Reserved
04 Missfeeding The notes on the input slot cannot be feed06-0F Reserved
10 Jam1 Photo FEED1 Busy11 Jam2 Photo FEED1 Tout12 Jam3 Align cycle KO13 Jam4 Pressor CLOSE operation KO14 Jam5 Pressor HOME operation KO15 Jam6 Photo INH Busy (Bn in INPUT too HIGH)16 Jam7 Photo FEED2 Busy17 Jam8 Photo FEED2 Tout18 Jam9 Photo INH & Photo FEED1 busy 19 Jam10 Photo INH & Photo FEED2 busy1A Jam11 Photo INH & Photo FEED1 & Photo FEED2 busy1B Jam12 Photo INC_HIGH or INL_HIGH busy (only with special INPUT BIN) before close
pressor in deposit1C Jam13 Photo INC_HIGH or INL_HIGH busy (only with special INPUT BIN) after close
pressor in deposit1D-3F Reserved
40 OK Command correctly executed41 Busy Busy (a command is already in execution)
cashpro
Date: 18/10/2011 Code: Page 150 Product: CM18Subject Software & Interface Specifications
4.8.2. Controller HIGH unit (TRANSPARENT MODE 2)
Hex code Name Description
00 Reserved01 Not Ready Controller Real time idle mode02 Push home error Problems home pusher03 Set-up error 04 Inq OVR B/note arrived on FTINQ without a target05 Shift OVR B/note arrived on FSHIFT without a target 06 Cash OVR B/note arrived on FCASH without a target 07 Safe OVR Problem with target in SAFE module08 L.T. Num. Jam Lower track Jam - Too many notes in the track09 L.T. Time Out Lower track Time out - one of the b/notes in transit is too slow0A Feed-Shift Time Out Time out from Feeder to FSHIFT0B Track 1 Jam Too many notes in the Upper track0C Feed CNT Jam The shift counter is greater than the feed counter0D Bn NOT ON FC3 B/note coming from the FSHIFT (Deposit) not arriving under FC3 within the
specified time.0E Bn NOT ON FC4 B/note coming from the FC3 (Deposit) not arriving under FC4 within the specified
time.0F Bn on FCASH B/note jammed at the entrance of the cross point area10 Bn on FTINQ B/note jammed at the entrance of the cross point area11 Fshift T.O. B/note jammed in the FSHIFT area12 Bn ON FCNTX (Deposit) B/note directed to the operator side exit slot, under FCNT at the wrong time.13 Bn NOT on FCNTX (Deposit) B/note directed to the operator side exit slot, not arriving under FCNT within the
specified time.14 Bn NOT on FTINQ B/note directed to the safe, not arriving under FTINQ within the specified time15 Reserved16 MDE JAM 1 The MDE motor home command failed17 MDE JAM 2 Unexpected b/note of FCNT18 Fcash Tout B/note jammed in the FCASH area 19 Unexpected Bn on Fcash Unexpected b/note on FCASH (Withdrawal) 1A Bn ON FCNTX (Withdrawal) B/note coming from the safe area (Withdrawal) under FCNT at the wrong time.1B Bn NOT ON FCNTX
(Withdrawal)B/note coming from the safe area (Withdrawal) not arriving under FCNT within the specified time.
1C Photo 4 B/note jammed in curve 4 (near reject output)1D Photo 3 B/note jammed in curve 3 1E Cass. A CNT JAM The number of ‘Sorter Off’ operations directed to the cassette is greater from the
number of notes arrived in the same cassette.1F Cass. B CNT JAM Same as above20 Cass. C CNT JAM Same as above21 Cass. D CNT JAM Same as above22 Cass. E CNT JAM Same as above23 Cass. F CNT JAM Same as above24 Cass. G CNT JAM Same as above25 Cass. H CNT JAM Same as above26 Cass. I CNT JAM Same as above27 Cass. J CNT JAM Same as above
cashpro
Date: 18/10/2011 Code: Page 151 Product: CM18Subject Software & Interface Specifications
4.8.3. Controller LOW unit (TRANSPARENT MODE 1)
Hex code Name Description
00 Reserved01 Not Ready Controller board internal error02 Syntax Error Command syntax not valid03 Reserved04 Reserved05 Reserved06 Reserved07 Reserved08 Eshift to cash Timeout Timeout from photo shift to photo cash09 Reserved0A Cash Timeout Timeout on photo cash0B Cass. A CNT JAM The number of “Sorter Off” operations directed to the cassette is more great than
number of notes arrived in the same cassette.0C Cass. B CNT JAM Same as above0D Cass. C CNT JAM Same as above0E Cass. D CNT JAM Same as above0F Cass. E CNT JAM Same as above10 Cass. F CNT JAM Same as above11 Cass. G CNT JAM Same as above12 Cass. H CNT JAM Same as above13 Cass. I CNT JAM Same as above14 Cass. J CNT JAM Same as above
15 - 16 Reserved17 Cass. A JAM Cassette A JAM18 Cass. B JAM Cassette B JAM19 Cass. C JAM Cassette C JAM1A Cass. D JAM Cassette D JAM1B Cass. E JAM Cassette E JAM1C Cass. F JAM Cassette F JAM1D Cass. G JAM Cassette G JAM1E Cass. H JAM Cassette H JAM1F Cass. I JAM Cassette I JAM20 Cass. J JAM Cassette J JAM
21 - 22 Reserved23 Cass. A Fail Cassette A failure24 Cass. B Fail Cassette B failure25 Cass. C Fail Cassette C failure26 Cass. D Fail Cassette D failure27 Cass. E Fail Cassette E failure28 Cass. F Fail Cassette F failure29 Cass. G Fail Cassette G failure2A Cass. H Fail Cassette H failure2B Cass. I Fail Cassette I failure2C Cass. J Fail Cassette J failure
2D – 2E Reserved30 Safe open The safe door was been opened during deposit cycle3A Boot dll end The download has been correctly performed (boot mode)3B Boot fla err A flash error happens during download (boot mode)3C Wrong FW The firmware is not valid3D Boot CRC ko Found invalid CRC during download (boot mode)3E Boot CMD Unx An unexpected command has been received during download (boot mode)40 OK41 Busy60 Boot OK Boot mode
cashpro
Date: 18/10/2011 Code: Page 152 Product: CM18Subject Software & Interface Specifications
4.8.4. Note Reader unit (TRANSPARENT MODE 3)
Hex code
Area Description
02 Soft ERROR Syntax error – cmd not allowed03 Soft ERROR Serial timeout error04 Soft ERROR Download error05 Hard ERROR Shadow RAM error07 Soft ERROR DSP timeout error08 Soft ERROR DSP busy error09 Hard ERROR Image memory error0A Hard ERROR DSP SPT error0C Hard ERROR DSP/XIL error0F Hard ERROR Invalid or not compatible REF10 Hard ERROR RAM error on HOST12 Hard ERROR FLASH write error15 Hard ERROR INPUT SENSOR err16 Hard ERROR OPT SENSOR error17 Hard ERROR UV calibration error18 Hard ERROR CIS Simmetry error19 Soft ERROR INVALID KEY error1C Hard ERROR DSP PROG error1D Hard ERROR Power error1F Hard ERROR REF LOADING error21 Soft ERROR Lazy note error22 Soft ERROR Note under sens error23 Hard ERROR FPGA PROG err26 Hard ERROR HOST checksum error27 Hard ERROR DSP checksum error28 Hard ERROR FPGA CKSUM error29 Hard ERROR SPT checksum error2A Hard ERROR RIFE checksum error2C Soft ERROR Speed error2F Hard ERROR TAPE sensor error30 Hard ERROR TAPE link error31 Hard ERROR MAG link error32 Hard ERROR MAG sensor error33 Soft ERROR Strobes error40 Unit ready Module OK41 Unit busy Module busy
cashpro
Date: 18/10/2011 Code: Page 153 Product: CM18Subject Software & Interface Specifications
4.8.5. Cassette unit A÷H (TRANSPARENT MODE 4÷D)
Hex code
Name Description
01 O.O.S. IDLE (post reset )02 SYNTAX ERROR Wrong command03 JAM Generic Jam04 FULL Cassette full05 EMPTY Cassette empty06 MISSMATCHING The setting of the cassette does not match the physical position07 JAM Abort
08-0F Reserved10 O.O.S. Eeprom error11 O.O.S. Sorter out of service12 O.O.S. Cassette with wrong address13 O.O.S. Wrong note counter14 O.O.S. External ram error15 O.O.S. Start test not complete16 O.O.S. Pinch roller malfunction17 O.O.S. Flash error18 JAM FOTIN not free ( Dark ) before a CASH OUT operation19 JAM FOTOUT not free ( Dark ) before a CASH OUT operation1A JAM FOTIN Light to Dark transition Time Out – CASH OUT operation1B JAM FOTOUT Light to Dark transition Time Out – CASH OUT operation1C JAM FOTIN Dark to Light transition Time Out – CASH OUT operation 1D JAM FOTOUT Dark to Light transition Time Out – CASH OUT operation
1E–1F JAM Reserved20 JAM FOTOUT Light to Dark transition Time Out – CASH IN operation21 JAM FOTOUT Dark to Light transition Time Out – CASH IN operation 22 JAM Reserved23 JAM FOTIN Light to Dark transition Time Out – CASH IN operation24 JAM FOTIN Dark to Light transition Time Out – CASH IN operation
25-27 JAM Reserved28 JAM Preset operation Time Out – No note or black foil is detected29 JAM Reserved2A JAM Home – In operation Dark-to-Light transition Time Out ( Photo Empty)2B JAM ‘FOTOUT’ remains Drak at the end of preset operation2C JAM ‘FOTIN’ remains Drak at the end of preset operation2D JAM ‘FOTOUT’ Light to Dark trasition Time Out – Preset/Home command
2E-2F JAM Reserved30 JAM Full count over 10. More than 10 notes are inserted after the full status31 JAM FOTIN Dark to Light transition Time Out – Preset/Home command32 JAM FOTOUT Dark to Light transition Time Out – Preset/Home command33 JAM Full detection Time Out – Reverse home command
34-37 JAM Reserved38 JAM FOUT too low value39 JAM FOUT too high value3A JAM FOTIN too low value3B JAM FOTIN too high value3C JAM FW in download is not compatible3D JAM B/note to short3E JAM Rate too high during deposit operation3F JAM Reserved40 OK Operation correctly executed41 Busy The unit is BUSY42 Busy2 The unit is BUSY6F UNITNT Unaspected interupt
cashpro
Date: 18/10/2011 Code: Page 154 Product: CM18Subject Software & Interface Specifications
5. Banknote code description
C U V SCurrency Code(2 first character of ISO code)
Value code (See table below)
Bank note type
5.1. Value code
A = 1 F = 25 K = 1000 P = 50000 U = 500000B = 2 G = 50 L = 2000 Q = 100000 V = 1000000C = 5 H = 100 M = 5000 R = 250 W = 2000000D = 10 I = 200 N = 10000 S = 200000 X = 5000000E = 20 J = 500 O = 20000 T = 250000 Y = 10000000
Examples: ‘USDA’ means US$ 10, bank note type A‘NLFN’ means NLG25, bank note type N
5.2. Currency code
COUNTRIES CODE COUNTRIES CODE COUNTRIES CODE COUNTRIES CODE
Argentina ARS Great Britain GBP New Zealand NZD Syria SYPAustralia AUD Greece* GRD Norway NOK Taiwan TWDAustria* ATS Hong Kong HKD Oman OMR Thailand THBBahrain BHD Hungary HUF Poland PLZ Turkey TRLBelarus BYB Iceland ISK Portugal* PTE Ukraine UAKBelgium* BEF India INR Qatar QAR USA USDBrazil BRL Indonesia IDR Rep. of Korea KRW Yugoslavia YUMCanada CAD Ireland* EIP Romania ROLChile CLP Israel ILS Russia RURChina RMB Italy* ITL Saudi Arabia SARCyprus CYP Japan JPY Singapore SGDCzech CZK Kuwait KWD Slovakia SKKCroatia CRD Luxembourg* LUF Slovenia SIT * Europe EURDenmark DKK Malaysia MYR South Africa ZARFinland* FIM Malta MTL Spain* ESPFrance* FRF Mauritania MRO Sweden SEKGermany* DEM Netherlands* NLG Switzerland CHF