Table of Contents
I. De ice o er iew..................................................................................................................4
II. Hardware o er iew.............................................................................................................5
1. Connectors description..................................................................................................5
2. Power supply requirements...........................................................................................6
3. De ice memory map......................................................................................................7
III. Low le el communication protocol....................................................................................8
A. Serial port settings.........................................................................................................8
B. Low le el protocol messages........................................................................................8
1. Write to memory........................................................................................................9
2. Read from memory....................................................................................................9
3. De ice reset...............................................................................................................9
4. Get de ice status.....................................................................................................10
5. Send some credit to the machine............................................................................11
6. Return change to the customer...............................................................................11
7. Request current credit.............................................................................................11
8. Product selected – unsolicited message.................................................................12
9. Transaction result – unsolicited message...............................................................12
10. Bill accepted by the ending machine – unsolicited message..............................12
11. Coin accepted by the ending machine – unsolicited message...........................12
12. Cashless in session – unsolicited message..........................................................12
13. Cashless finished session – unsolicited message................................................13
14. Change requested – unsolicited message............................................................13
IV. High le el protocol..........................................................................................................14
A. O er iew......................................................................................................................14
B. Protocol description.....................................................................................................14
1. Write to memory - METWRITEMEM.......................................................................14
2. Read from memory - METREADMEM....................................................................14
3. Send credit to the machine - METSENDCREDIT( alue)........................................15
4. Return change from the machine - METSENDCHANGE( alue)............................15
5. Get de ice status - METGETSTATUS.....................................................................15
6. De ice reset - METRESET......................................................................................15
7. Read product price - METREADPRICE(n)..............................................................16
8. Write product price – METWRITEPRICE(n, alue)..................................................16
9. Read maximum credit setting - METREADMAXCREDIT.......................................16
10. Write maximum credit setting - METWRITEMAXCREDIT( alue).........................16
11. Read maximum change setting - METREADMAXCHANGE.................................17
12. Write maximum change setting - METWRITEMAXCHANGE( alue)....................17
13. Read scaling factor - METREADSCALINGFACTOR............................................17
14. Write scaling factor – METWRITESCALINGFACTOR( alue)...............................18
15. Read decimal point - METREADDECIMALPOINT...............................................18
16. Write decimal point – METWRITEDECIMALPOINT( alue)..................................18
17. Read coins counter - METREADCOINSCOUNTER.............................................19
18. Write coins counter – METWRITECOINSCOUNTER( alue)................................19
19. Read bills counter - METREADBILLSCOUNTER.................................................19
20. Write bills counter – METWRITEBILLSCOUNTER( alue)....................................19
21. Read change counter - METREADCHANGECOUNTER......................................20
22. Write change counter – METWRITECHANGECOUNTER( alue)........................20
23. Read cashless counter - METREADCASHLESSCOUNTER................................20
© - 2018 – AUTOMATROM SRL – www.automatrom.ro Page 2/26