- 181 -
UI – Give available weight units
Command overview:
Command gives units available for a particular device and for a current working
mode.
Format:
UI <CR><LF>
Accessible responses:
UI_”x
1
,x
2
, … x
n
”_OK<CR><LF>
– command carried out, available units
given in return
UI_I <CR><LF>
– command understood but not accessible
at this moment
x
– units symbols, separated with commas
x
→ g, mg, ct, lb, oz, ozt, dwt, tlh, tls, tlt, tlc, mom, gr, ti, N, baht, tola, u1, u2
Example
Command:
UI <CR><LF>
– give avaialable units
Response:
UI_”g, mg, ct”_OK<CR><LF> – avaialable units given as a response
US – set weight unit
Command overview:
Command sets current weight unit
Format:
US_ x <CR><LF>
Accessible responses:
US_ x_OK <CR><LF>
– command carried out, set unit given in return
US_E <CR><LF>
– error in-course of command execution, no
parameter or incorrect format
US_I <CR><LF>
– command understood but not accessible at
this moment
x
– parameter, units symbols: g, mg, ct, lb, oz, ozt, dwt, tlh, tls, tlt, tlc, mom, gr,
ti, N, baht, tola, u1, u2, next
Caution: if x=next, the command swaps to another avaialable unit on the list (it
simulates „unit” button pressing)
Example
Command:
US_mg<CR><LF>
– set „mg” unit
Response:
US_mg_OK<CR><LF>
– „mg” set a s a current unit