
8
Command String Parameters
All command strings sent to the scale require a carriage return (hereafter called CR) to be sent at the end of the command
string. A CR is ASCII code 13.
Keyboard emulation commands (* commands) do not require a CR and the key press will be initiated right after the
command is received.
Many of the command strings require parameters. These are described below.
<descr>
Any command that changes the contents of a memory slot will require a fourteen character description. This
description should exactly match the description of the item in question. The description must be 14 characters in length and
spaces should be used for any unused characters just as they are used in the scale’s setup menus. For example “Tare #001
“ and “Plat #001 “ are valid descriptions. Descriptions are case sensitive so format your output appropriately.
If the scale can not find the description in memory, the message “Error 2: Description not found. Aborting.” Will be sent
followed by a CR. The operation is then aborted.
<value>
Some commands require numeric input. All numbers should be 9 characters in length with a decimal point at
character five. Valid values, for example, are 0123.4500 and 0001.0000. Use leading zeros as necessary to keep the
spacing correct.
If the scale receives a number in an incorrect format it will send the message "Error 3: Illegal numeric format. Aborting."
Followed by a CR. The operation is then aborted.
Command Abort
Any command can be aborted at any time by sending a caret (^) character which is ASCII code 94. The
scale will respond by sending the text “Command aborted” followed by a CR (ASCII code 13).
Illegal Command
If any text is received by the scale that isn’t in a correct command format , the scale will respond with
"Error 1: Illegal command." followed by a CR. The command is then aborted.
The [*] Command: Used for Keyboard Emulation
A number of external commands can be sent to the scale to simulate keyboard presses. These commands are listed below.
Each command must be prefixed with a * character and no CR is required.
*P or *1 - Print Key (5.000)
*C or *3 - Units Key (5.000)
*Z or *0 - Zero Key (5.000)
*N or *9 - Net/Gross Key (5.000)
*T or *7 - Tare Key (5.000)
*U or *8 - Up Arrow Key (5.008)
*D or *2 - Down Arrow Key (5.008)
*L or *4 - Left Arrow Key (5.008)
*R or *6 - Right Arrow Key (5.008)
*.
– Decimal Point (5.008)
*O - On/Off Key, will take the scale in and out of Ready Mode (5.008)
*M or *5 - Menu/Back Key (5.008)
*E - Enter Key (5.008)
Care must be taken when sending key commands via RS232 as some keys will perform different functions depending on the
scale’s operating mode.
The [!] Command: Remote Entry Commands [N/A: For Future Expansion]
Tares
NEW (X)
!TN <descr> <value> <CR>
EDIT (X)
!TE <descr> <new descr> <value> <CR>
DELETE (X)
!TD <descr> <CR>
ACTIVATE (X)
!TA <descr> <CR>
CLEAR (X)
!TC simply clears the active tare.
ACQUIRE (X)
!TQ <descr> adds new tare and becomes interactive for acq
Samples
NEW (X)
!SN <descr> <value> <CR>
EDIT (X)
!SE <descr> <new descr> <value> <CR>
DELETE (X)
!SD <descr> <CR>
ACTIVATE (X)
!SA <descr> <CR>