0 serial commands, 1 the serial command set, 1 key press commands – Rice Lake Counterpart Configurable Counting Indicator - User Manual - Version 1.0 User Manual

Page 57: Serial commands, Key press commands

Advertising
background image

Counterpart User Manual - Serial Commands

51

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
f u n c t i o n s . T h i s p r o v i d e s t h e a b i l i t y t o p r i n t
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 used 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 used 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 15-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, press 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 left 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
configuration

KEXIT

In menu mode, saves the current
configuration 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
example, to lock the ZERO key, enter
KLOCK=KZERO.

KUNLOCK

Unlock specified front panel key. For
example, to unlock the PRINT key, enter
KUNLOCK=KPRINT.

KDATE

Display date (pseudo key)

KTIME

Display time (pseudo key)

KESCAPE

Exits the selected parameter. 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)

Advertising