![AUTOMATROM PICOBRIDGE RS232 Скачать руководство пользователя страница 17](http://html.mh-extra.com/html/automatrom/picobridge-rs232/picobridge-rs232_manual_3022024017.webp)
11. Read maximum change setting - METREADMAXCHANGE
Using this command the user’s application can read the maximum change permitted after
a transaction. If the credit remaining after a transaction is higher than this value, them the
machine will not return change. It is used also as a safety method to avoid returning too
much change.
Command
Description
METREADMAXCHANGE
- Reads the non-scaled MAXIMUM CHANGE settings for
transactions.
Below is the an example answer to the METREADMAXCHANGE
command (maximum credit is set to EUR 9.00)
Device response
{"DeviceResponse":"ReadMaxChange","MaxChangeValue":"900"}
12. Write maximum change setting - METWRITEMAXCHANGE(value)
Using this command the user’s application can write the maximum credit set on the device.
While a transaction, if the cash inserted by the customer reaches this limit, the payment
systems are inhibited. It Is a safety method to avoid returning too much change.
Command
Description
METWRITEMAXCHANGE(value)
Requires METRESET after issuing this command, since the
value is loaded only once, at start-up
- Writes the non-scaled MAXIMUM CHANGE accepted for a
transaction. For example set max change to EUR 5.00:
METWRITEMAXCHANGE(500)
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
13. Read scaling factor - METREADSCALINGFACTOR
Using this command the user’s application can read the scaling factor on the device.
Usually is is a good practice to keep the scaling factor sync-ed with the machine’s scaling
factor setting. Some machines are ignoring this and work on their scaling factor. In that
case, if they are not matching, this will drive you to display error on values.
Command
Description
METREADSCALINGFACTOR
- Reads the SCALING FACTOR settings credit and price display.
Below is the an example answer to the
METREADSCALINGFACTOR command (where scaling factor is
10)
Device response
{"DeviceResponse":"ReadScalingFactor","ScalingFactorValue":"10"}
© - 2018 – AUTOMATROM SRL –