XBF-LD02S Example Program
The example program for setting up an XBF-LD02S module is contained in the LP106_ADC_XEM_LoadCellSample file. The Scan Program is called SampleLoadCell.
Loadcell Module calibration must be done before running any code for it to work properly.
After Calibration, This code sets the maximum and minimum gross weights for CH0 and CH1.
If there are no errors and CH0 is ready, its gross weight data is stored in the local variable called CH0_Gross_Weight.
If there are no errors and CH1 is ready, its gross weight data is stored in the local variable called CH1_Gross_Weight.
LP106-4