0 serial commands, 1 the serial command set, 1 key press commands – Rice Lake Static Weighing User Manual
Page 52: Serial commands, Key press commands

48
CW-90/90X Checkweigher
6.0
Serial Commands
The CW-90/CW-90X 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 
R E S E T C O N F I G U R AT I O N s p e c i a l f u n c t i o n 
command, parameter setting commands, and transmit 
weight data commands. When a serial command is 
processed, the CW-90/CW-90X responds with the 
message 
O K
. The
O K
response verifies that the
command was received and has been executed. If the 
command is unrecognized or cannot be executed, the 
CW-90/CW-90X 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
.
Table 6-1. Serial Key Press Commands
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
KOVER
Press the OVER key
KUNDER
Press the UNDER 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.
KTARGET
Press the TARGET key
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)
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
KCLRNV
In menu mode, clears non-volatile RAM
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)
Command
Function
Table 6-1. Serial Key Press Commands (Continued)
