Table of Contents
I. Device overview..................................................................................................................4
II. Hardware overview.............................................................................................................5
1. Connectors description..................................................................................................5
2. Power supply requirements...........................................................................................6
3. Device memory map......................................................................................................7
1. Write to memory........................................................................................................9
2. Read from memory....................................................................................................9
3. Device reset...............................................................................................................9
4. Get device 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 vending machine – unsolicited message..............................12
11. Coin accepted by the vending machine – unsolicited message...........................12
12. Cashless in session – unsolicited message..........................................................12
13. Cashless finished session – unsolicited message................................................13
14. Change requested – unsolicited message............................................................13
1. Write to memory - METWRITEMEM.......................................................................14
2. Read from memory - METREADMEM....................................................................14
3. Send credit to the machine - METSENDCREDIT(value)........................................15
4. Return change from the machine - METSENDCHANGE(value)............................15
5. Get device status - METGETSTATUS.....................................................................15
6. Device reset - METRESET......................................................................................15
7. Read product price - METREADPRICE(n)..............................................................16
8. Write product price – METWRITEPRICE(n,value)..................................................16
9. Read maximum credit setting - METREADMAXCREDIT.......................................16
10. Write maximum credit setting - METWRITEMAXCREDIT(value).........................16
11. Read maximum change setting - METREADMAXCHANGE.................................17
12. Write maximum change setting - METWRITEMAXCHANGE(value)....................17
13. Read scaling factor - METREADSCALINGFACTOR............................................17
14. Write scaling factor – METWRITESCALINGFACTOR(value)...............................18
15. Read decimal point - METREADDECIMALPOINT...............................................18
16. Write decimal point – METWRITEDECIMALPOINT(value)..................................18
17. Read coins counter - METREADCOINSCOUNTER.............................................19
18. Write coins counter – METWRITECOINSCOUNTER(value)................................19
19. Read bills counter - METREADBILLSCOUNTER.................................................19
20. Write bills counter – METWRITEBILLSCOUNTER(value)....................................19
21. Read change counter - METREADCHANGECOUNTER......................................20
22. Write change counter – METWRITECHANGECOUNTER(value)........................20
23. Read cashless counter - METREADCASHLESSCOUNTER................................20