beautypg.com

Hardy command numbers – Hardy HI 6500 Series User Manual

Page 43

background image

Network Configuration 35

A 32-bit value, Instrument Status, provides the current state of all the major
functions within the

instrument. The top 8 bits are a cyclic “measurement

update count”, which will increment by a count of one every time a new
measurement value is taken, following a 0 to 255 then repeat cycle. If this
value remains the same in two consecutive reads from the instrument then
the communication or the measurement function has failed and the
appropriate action needs to be taken. The bottom 24-bits reflect the status
of all the major functions and should be used in conjunction with the
“measurement update count” to determine the health of the instrument.

The Net and Gross Weight values are always provided.

The final five read only command values Parameter RD1 Value, Parameter RD2 Value,
Parameter RD3 Value, Parameter RD4 Value, and Parameter RD5 Value are the read
only values for the different user selectable parameter ID values set in the output table. If a
0x0000 is placed in the Parameter RDx ID value, or the requested parameter does not
exist a 0x0000 value will be returned.

Hardy Command Numbers

Here is a list of Hardy command numbers:

Command number

Command

0

Read Parameter

1

Zero Cmd

2

Tare Cmd

4

Write Non-Volatile Cmd

5

Print Cmd

6

Weigh Sample Cmd

0x64 (100 dec)

Cal Low Cmd

0x65 (101 dec)

Cal High Cmd

0x66 (102 dec)

C2 Cal Cmd

0x1000 (4096 dec)

Write Integer Cmd

0x1001 (4097 dec)

Write Float Cmd