31
Appendix II
RS-232 Serial Data Communications
The balance keyboard functions can be accessed via the RS-232 interface.
The following commands are available:
u =
UNITS
key
t = tare function
a = auto display response rate
m =
MODE
key
p = print function
f = fast display response rate
% =
%
key
# = immediate print
s = slow display response rate
Receiving Data Using the Immediate Print Symbol
When a balance is connected to a computer, it is suggested that immediate
print (“#”) be used. In response to this command the balance will transmit
whatever number or message appears on the balance display. The “string
format” output is shown below:
+/- 1 2 3 4 5 6 . c0 c1 c2 c3 CR LF
The first six digits represent the number field. A sign (+ or -) always precedes
the number and a decimal point is always transmitted. Numbers less than
six digits long are preceded by spaces. (Messages, when transmitted, are
sent in the number field.)
Note:
The position of the decimal point will depend on the readability and
units the balance is displaying. The sign will be adjacent to the
leading digit.
“c0” is a space.
“c1” is also a space as long as the balance is in the automatic display re-
sponse mode. If the display response rate is set to Fast, then “c1” will be an
F, and if the display response mode is set to slow, then “c1” will be an S.
“c2” is the “units” character. It describes the units of the number being
transmitted. Your balance will transmit G for grams, O for ounces (avoirdu-
pois), C for carats and X for “x” units.
“c3” is the “stability” character. This character corresponds to the “ok” indi-
cator on the display. A (space) means the reading is not stable. "S" means
the reading is stable.