Int9840

Purpose:

Start communication with an Interface 9840 Load Cell.

Enter:

Int9840 <device> &

Where:

device

Specify the name of the device to communicate with. This is the base filename of the async configuration file.

Example:

Int9840 lc &

Notes:

   Below is a summary of commands which can be sent to the device, what
   they return, and the variables associated with each field.  

  
“Value”        – returns “Load A   0.01 Lb  
                                                   |        |    |____Int_units  
                                                   |        |___Int_wt  
                                                   |__Int_loadA  
 
“Hello”        – returns “Interface 9840 Version 6.0.0 Serial # …”
                                         |___Int_info  
 
 
“View_sensor”  – returns  
                     “This is the cell calibration data:  
                     Ch A = S/N 179211,  5000.0 Lb   , 4.0839 mV/v,  
                     |                     |             |             |         |             |_Int_viewMVperV  
                     |                     |             |             |         |_Int_Sensitivity  
                     |                     |             |             |_Int_rangeUnits  
                     |                     |             |_Int_Range  
                     |                     |_Int_SN  
                     |_Int_viewCH  
 
                     10.00 V,     Cal on May13-05,   3544.0 Lb Shunt  
                     |_Int_Excitation    |                   |_Int_Cal_value  
                                                        |_Int_viewDate  
 
 
“Reset”        – returns “Reset – Tare A”  
                                         |_Int_tare  
 
“Shunt_cal”    – returns “Cal Check Ch A, S/N 179211  
                                                                                    |_Int_SN  
 
                          Shunt Value is 0.00 Lb  
                                                     |_Int_Shunt  
 
                          Cal Value was  3544.0 Lb  
                                                     |_Int_Cal_value  
 
 
 
The commands shown above can be exercised from gp_test or from  
the command line.  
 
Note that the “Value” command is continuously being sent by  
the Int9840 task at the MED interval.  This is normally 10 hz.  
 
Command line examples:  
 
   asc_cmd lc_cmd Reset  
   asc_cmd lc_cmd View_sensor  
   asc_cmd lc_cmd Shunt_cal  
   asc_cmd lc_cmd Hello  
   asc_cmd lc_cmd Value (this is not necessary, but will work)  
 
 
 
@BACKGROUND_TASK  
   AT_START ‘‘asc_cmd lc_cmd Reset’’  
   etc.  
 
   the “lc” in “lc_cmd” is required to be the same as the config  
   filename root (/specs/lc.cfg)  
 

See Also: