User Manual - Version 2.2 Manual

Counterpart User Manual - Serial Commands 63
6.0 Serial Commands
The Counterpart can be controlled by a PC or remote
keyboard connected to an indicator serial port.
Control is provided by a set of serial commands that
can simulate front panel key press functions, display
and change setup parameters, and perform reporting
functions. This provides the ability to print
configuration data or to save to your hard drive.
6.1 The Serial Command Set
The serial command set can be divided into five
groups: key press commands, reporting commands,
the RESETCONFIGURATION special function
command, parameter setting commands, and transmit
weight data commands. When a serial command is
processed, the
Counterpart responds with the
message
OK. The OK response verifies that the
command was received and has been executed. If the
command is unrecognized or cannot be executed, the
Counterpart responds with ??.
The following sections list the commands and
command syntax use
d for each of these groups.
6.1.1 Key Press Commands
Key press serial commands (see Table 6-1) simulate
pressing the keys on the front panel of the indicator.
These commands can be us
ed in both setup and
normal (weighing) mode. Several of the commands
serve as “pseudo” keys, providing functions that are
not represented by a key on the front panel.
For example, to enter a 1
5-pound tare weight:
1. Type K1 and press
ENTER (or RETURN).
2. Type K5 and press
ENTER.
3. Type KTARE and press
ENTER.
Command Function
KMENU Press the MENU key
KZERO In weighing mode, press the ZERO key
KUNITS In weighing mode, pr
ess the UNITS key
KPRINT In weighing mode, press the PRINT key
KTARE Press the TARE key
KID In weighing mode, press the ID key. In
menu mode, move l
eft in the menu. In data
entry mode, move to previous digit.
KGROSSNET In weighing mode, press the GROSS/NET
key (pseudo
key)
KGROSS Go to gross mode (pseudo key)
KNET Go to net mode (pseudo key)
KDISPACCUM Display ACCUM (pseudo key)
Table 6-1. Serial Key Press Commands
KDISPTARE Display tare (pseudo key)
KCLR Press the CLEAR key
KCLRCN Reset consecutive number (pseudo key)
KCLRTAR Clear tare from system (pseudo key)
KLEFT In menu mode, move left in the menu
KRIGHT In menu mode, move right in the menu
KUP In weighing mode, press the UNDER key.
In menu mode, move down
in the menu. In
data entry mode, decrement the current
digit.
KDOWN In weighing mode, press the UNDER key.
In menu mode, move down
in the menu. In
data entry mode, decrement the current
digit.
KSAVE In menu mode, saves the current
co
nfiguration
KEXIT In menu mode, saves the current
co
nfiguration then exits to normal mode
K0–K9 Press number 0 (zero) through 9
KDOT Press the decimal point (.)
KENTER Press the ENTER key
KLOCK Lock specified front panel key. For
e
xample, to lock the ZERO key, enter
KLOCK=KZERO.
KUNLOCK Unlock specified front panel key. For
example, to un
lock the PRINT key, enter
KUNLOCK=KPRINT.
KDATE Display date (pseudo key)
KTIME Display time (pseudo key)
KESCAPE Exits the selected par
ameter. Returns to
weigh mode if a parameter is not selected
(functions identical to the MENU key in
menu mode)
KSOFTx
Press softkey number x
Command Function
Table 6-1. Serial Key Press Commands (Continued)