Hardy HI 6300 Series User Manual

Page 161

Advertising
background image

Communications I/O Tabl;es

151

6: WEIGHT SAMPLE CMD: Write a #6 to the command register to run the Weigh

Sample command to set up the calibration of the Counts (if enabled).

Status Error code 1 (motion)

Status error code 2 (A/D error)

0x64 (100 decimal): CAL LOW CMD. Write a 0x64 hex to the command register to

perform the low step of a traditional calibration. The status register will read 0 if this

command succeeds:

Calibration_Fail 1

Calibration_Fail_Motion 3

Calibration_Fail_Adc_Error 4

0x65 (101decimal): CAL HIGH CMD. Write a 0x65 hex to the command register to

perform the high step of a traditional calibration.

Calibration_Fail 1

Calibration_Fail_Motion 3

Calibration_Fail_Adc_Error 4

HardcalFailCounts 8: not enough counts between hard cal hi and hard cal lo

0x66 (102 decimal): C2 CAL CMD. Write a 0x66 hex to the command register to

perform a C2 calibration.

Calibration_Fail 1

Calibration_Fail_Motion 3

Calibration_Fail_Adc_Error 4

Calibration_Fail_Noc2 5

Calibration_Fail_C2capeq 6

•alibration_Fail_C2clones 7

0x1000 (4096 decimal): WRITE INTEGER CMD. Set the value of an integer

parameter. Write 0x1000 in the command register 0, the parameter ID number in

registers 2, 3 and the desired value in registers 4, 5.

• No Error Codes

0x1001 (4097 decimal): WRITE FLOAT CMD. Set the value of a floating point

parameter. Write 0x1001 in the command register 0, the parameter ID number in

registers 2, 3 and the desired float value in registers 4, 5.

Failure 1

TooHigh -1 : value is above legal limit

TooLow -2 : value is below legal limit

ErrorNotFound 0x8000 : parameter id not found

Advertising