Command return or error codes, Dint configuration parameters – Hardy HI 1756-nDF User Manual

Page 33

Advertising
background image


29

Chapter 4

Command Return or Error Codes

Commands always return the command word and command status. The command status
word may include the following codes:

return codes

#Value

description

SUCCESS

0.0

Pass

NOTALLOWED

-1.0

Bad state for command, tried to run to start
a cycle while refilling or trying to refill
while running a dispense/fill cycle.

OUTOFTOLERANCE

-3.0

Out of tolerance

INDEXOUTOFRANGE

-4.0

Out of Range

NOSUCHCMD

-5.0

Command bad

C2FAILNODEVS

-6.0

No C2 devices

C2FAILCAPEQ

-7.0

Failure, C2 capacities not equal

HARDCALFAILCOUNTS

-8.0

Fails, too few ADC counts between high -
low

NOSUCHPARAM

-9.0

Parameter ID incorrect

Second and Third Words - 1, 2: Parameter Number and Value

The second and third words in the output table, Parameter Number and Parameter Value,
are used by the WRITEPARAM command. For details see the Parameter Table below.
Expanded descriptions are listed below the table by parameter number.

Notes

When set by a command, all parameters are saved to non-volatile memory. The scale
calibrations are saved automatically when completed successfully

DINT Configuration Parameters

Parameter
Name

Parameter
Number

Parameter
Default

Description

Channel Active

1.0

1

Boolean, 1 = ON, 0 = OFF

Weight Units

2.0

3

Value

Frequency (Hz)

0

Pounds(lb)

1

Ounces(oz)

2

Ton(ton) short ton

3

Kilograms(kg)

4

Grams(g)

5

Metric Tonnes (t) long ton

NumAverages

3.0

10

1 -255
Averages the current sample and previous
N samples to provide the current weight
value.

Advertising