Communications
©Rice Lake Weighing Systems
●
All Rights Reserved
11
Table 4-3. Scale Global Values List and Identifiers
Samples of Escape Protocol
Examples of what is sent to the computer from the scale.
Figure 4-1. Escape Protocol Examples
Examples of diagnosing battery request and responses.
PC Initiated
ESC Value
Send single reading
R
Send diagnostic response
Name
ESC
Character
ESC Value With
Parameters
Description
Reading
R
R
Indicates the scale is sending a reading. Immediately following is the value sent.
Example: <ESC><R>ESC><W0200.0<ESC>Nm<ESC>E
Weight
W
Wnnn.n
Patient weight (example: W02000 = 200.0). The scale returns the value 999.99 if the scale is over-
loaded or under loaded.
Height
H
Hnnn.n
Patient height
BMI
B
Bnn.n
Patient BMI
Units
N
Nc
Indicates the unit of the values (m=metric, c=constitutional).
End of Packet
(EOP)
E
E
Indicates the end of the command.
Diagnostics
(request)
A
Accc
A request for a diagnostic test on parts of the scale (e.g. battery life, load cells).
Diagnostics
(response)
Z
Zccc
The response of the diagnostics done on the scale. Values can include error codes to indicate a
problem with the scale; or, all zeros (Z000) to indicate proper functioning of the scale.
Control (set a
value)
C
Cccc=c
Sets the value of the scale’s global settings.
Example: <ESC><CUOM=m><ESC><E sets the unit of measurement.
Table 4-2. ESC Characters
Name of Control
Identifier
Unit
Unit of Measure (metric or constitutional)
UOM
c (m or c)
Table 4-1.
PC Initiated
ESC Value
Table 4-1. Escape Protocol Commands
<ESC>R <ESC>E
Reading
(request)
EOP
<SCALE>
<PC>
EOP
Unit of Measure
= Metric
<ESC> R <ESC> W0210.9 <ESC> Nm <ESC> E
Reading
(Command)
Weight = 0210.9
<SCALE> <PC>
direction of communication
Escape Protocol Example 1
Escape Protocol Example 2
Summary of Contents for 160-10-7
Page 31: ......