Command operation, Possible command status values – Hardy HI 1769-2WS User Manual

Page 50

Advertising
background image

HI 1769-WS/HI 1769-2WS WEIGH SCALE MODULE

4-16

input table is called the command STATUS. Nor-
mally, a 0 value of STATUS means that the command
completed OK and a non-zero status indicates some
kind of error.

Command
Operation

Step 1.

To start a command, place the command
number into the first word of the output
table.

Step 2.

The Input Table contains the response for
that command.

Step 3.

If a selected command needs other data
with it, the other words in the output table
should be filled in first, then the command
number. Example:

WRITEPARAM0, should have
PARAMETER0 Data placed into the
output table before the command
number is written, otherwise the com-
mand will fail.

Possible
COMMAND
STATUS Values

#define SUCCESS 0

#define ERRORADCONVERT 0x0001

#define ERRORADFAILURE 0x0002

#define STATUSINMOTION 0x0040

#define OUTOFTOLERANCE -3

#define INDEXOUTOFRANGE -4

#define NOSUCHCMD -5

#define C2FAILNODEVS -6

#define C2FAILCAPEQ -7 // failure, capacities
not equal

#define HARDCALFAILCOUNST -8 // failure,
not enough ADC counts between high, low

Advertising
This manual is related to the following products: