Operating instructions
97
Data Input Format
You can connect a computer to your
indicator to send commands controlling
scale functions and applications via the
interface port. All commands use the same
format, starting with the ESC character
(ASCII 27) and ending with a carriage
return (CR; ASCII 13) and a line feed
(LF; ASCII 10). The total length of a
command is anywhere from 4 characters
(1 command character between the start
and end described above) to 7 characters
(4 command characters).
The table below shows the available
command characters; each command must
be flanked by the start and end characters
as described above.
Example: the command character for
output is “P" (“Output readout to port").
To trigger this command, send the string:
“ESC P CR LF".
Character Command
K Weighing mode 1
L Weighing mode 2
M Weighing mode 3
N Weighing mode 4
O Block keys
P Output readout to data
interface
Q Output acoustic signal
R Unblock keys
T Tare and zero
(combination tare function)
f3_ Zero (see also the
“kZE_" command)
f4_ Tare without zeroing
(see also the “kT_" command)
i_ Information about the
indicator
Example of output:
“CI2/012502/1"
Meaning:
Indicator: Combics 2,
Software version: 012502,
active weighing platform: 1
kF1_ Soft key F1: trigger k key
function
kF2_ Soft key F2: trigger c key
function (Combics 2 only)
kF3_ Soft key F3: trigger r key
function (Combics 2 only)
kF4_ Soft key F4: trigger O key
function (Combics 2 only)
kF5_ Soft key F5: trigger w key
function (Combics 2 only)
kP_ Trigger p key function
Output to printer port
Character Command
kT_ Trigger T key function (tare)
kNW_ Trigger n key function
(toggle weighing platforms)
kZE_ Trigger ( key function
(zero)
x1_ Output model designation
of active weighing platform
Example: “LP6200S-0C "
x2_ Output serial no.
of active weighing platform
Example: “0012345678 ”
x3_ Output software version
of active weighing platform
Example: “00-20-04 ”
x4_ Output software version
of indicator
Example: “01-25-02 ”
x9_ Output serial no. of
indicator
Example: “0012345678 ”
x10_ Output model of indicator
Example:
“CW2P4-1500RR-LCE ”
z1_ Activate input for printout
header 1
z2_ Activate input for printout
header 2
The “underline" character is ASCII 95.
Format for entering printout header lines:
ESC z x a…a_CR LF where x=[header line]
1 or 2; a…a p to 20 characters text,
followed by the carriage return and line
feed characters.
Synchronization
Data is communicated between the
indicator and a computer in the form of
messages (telegrams) consisting of ASCII
characters, transmitted via the interface.
For error-free data communication, the
settings for baud rate, parity, handshake
mode and character format must be the
same at both ends.
You can configure the interface settings
in the Setup menu so that they match
those of the computer. You can also define
parameters in the indicator to make data
output dependent on various conditions.
Details on conditional data output are
provided in the sections describing the
application programs.
If you do not connect a peripheral device
to the indicator interface port, this will not
generate an error message.
Handshake
The scale interface (Sartorius Balance
Interface = SBI) has transmit and receive
buffers. You can define the handshake
parameter in the Setup menu:
– Hardware handshake (CTS/DTR)
– Software handshake (XON, XOFF)
Hardware Handshake
With a 4-wire interface, 1 more
character can be transmitted after CTS
(clear to send).
Software Handshake
The software handshake is controlled
via XON and XOFF. When a device is
switched on, XON must be transmitted
to enable any connected device to
communicate.
When the software handshake is
configured in the Setup menu, the
hardware handshake becomes active
after the software handshake.
The data transmission sequence is
as follows:
Scale ––– byte –––> Computer
(trans- ––– byte –––> (receiving
mitting ––– byte –––> device)
device) ––– byte –––>
<–– XOFF –––
––– byte –––>
––– byte –––>
...
(Pause)
...
<–– XON –––
––– byte –––>
––– byte –––>
––– byte –––>
––– byte –––>
Transmitting Device
Once XOFF has been received, it pre-
vents further transmission of characters.
When XON is received, it re-enables the
transmitting device to send data.
Receiving Device
To prevent too many control commands
from being received at one time, XON
is not transmitted until the buffer
is almost empty.










