17. Read coins counter - METREADCOINSCOUNTER
Using this command the user’s application can read the non-volatile counter representing
the total value of the cashed coins.
Command
Description
METREADCOINSCOUNTER
Reads the COINS COUNTER
Below is an example where the device shows a value or EUR 6.70
for the cashed coins.
Device response
{"DeviceResponse":"ReadCoinsCounterValue","CoinsCounterValue":"670"}
18. Write coins counter – METWRITECOINSCOUNTER(value)
Using this command the user’s application can write the non-volatile counter representing
the total value of the cashed coins. It can be used to set this value to 0 when the vending
machine operator is performing a cash-collect operation.
Command
Description
METWRITECOINSCOUNTER(value)
- Writes the coins counter. For example resetting the counter on
cash-collect: METWRITECOINSCOUNTER(0)
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
19. Read bills counter - METREADBILLSCOUNTER
Using this command the user’s application can read the non-volatile counter representing
the total value of the cashed bills.
Command
Description
METREADBILLSCOUNTER
Reads the BILLS COUNTER
Below is an example where the device shows a value or EUR
104.00 for the cashed bills.
Device response
{"DeviceResponse":"ReadBillsCounterValue","BillsCounterValue":"10400"}
20. Write bills counter – METWRITEBILLSCOUNTER(value)
Using this command the user’s application can write the non-volatile counter representing
the total value of the cashed bills. It can be used to set this value to 0 when the vending
machine operator is performing a cash-collect operation.
Command
Description
METWRITEBILLSCOUNTER(value)
- Writes the bills counter. For example resetting the counter on
cash-collect: METWRITEBILLSCOUNTER(0)
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
© - 2018 – AUTOMATROM SRL –