820i Programmable HMI Indicator/Controller
80
Visit our website
9.0
Serial Commands
The
820i
indicator can be controlled by a personal computer 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. The serial commands provide the capability to print configuration data or to save that data to
an attached personal computer. This section describes the serial command set and procedures for saving and transferring data
using the serial ports.
9.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 the indicator processes a serial command, it 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 indicator
responds with
??
.
The following sections list the commands and command syntax used for each of these groups.
9.1.1 Key Press Commands
Key press serial commands (see Table 9-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 using serial commands:
1. Type K1 and press
ENTER
(or
RETURN
).
2. Type K5 and press
ENTER
.
3. Type KTARE and press
ENTER
.
Command
Function
KBASE
Select current scale (Example: KBASE, K2, KENTER to select Scale #2)
KZERO
In normal mode, press the ZERO key
KGROSSNET
In normal mode, press the GROSS/NET key
KGROSS
Go to gross mode (pseudo key)
KNET
Go to net mode (pseudo key)
KTARE
Press the TARE key
KUNITS
In weighing mode, press the UNITS key
KPRIM
Go to primary units (pseudo key)
KSEC
Go to secondary units (pseudo key)
KTER
Go to tertiary units (pseudo key)
KPRINT
In normal mode, press the PRINT key
KDISPACCUM
Press the ACCUM key
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 setup mode, move left in the menu
KRIGHT
In setup mode, move right in the menu
KUP
In setup mode, move up in the menu; in normal mode, scroll up to previous configured scale.
KDOWN
In setup mode, move down in the menu; in normal mode, scroll down to the next configured scale.
KEXIT
In setup mode, exits to normal mode
KSAVE
In setup mode, saves the current configuration
KCLRNV
In setup mode, clears non-volatile RAM
Table 9-1. Serial Key Press Commands
Summary of Contents for 820i
Page 115: ......