Basic Command Set for iLoad Digital Sensors
The following table lists the commands used to communicate with the following Loadstar Sensors products.
- iLoad Digital Series Sensors (iLoad Pro, iLoad TR and iLoad)
- DQ-1000U (iLoad Mini Series) Load Cell Interface
When sending commands to the load cell, simply send command<CR> where <CR> is the carriage return character (0x0D). There is no need to send the line feed character (0x0A). When reading from the sensor, you need to process both the <CR> and <LF> characters.
| Command | Function |
|---|---|
| <ENTER> | This just pings the port and the sensor responds with “A” to indicate that it is set up and ready. |
| CT0 | This sets the tare (or zero) for the sensor. If you plan to zero out a preload, please use this command. |
|
O0W1 |
The O0W1 command outputs the weight or force reading once. (W command is not supported in all firmware versions). |
| O0W0 |
O0W0 outputs a continuous stream of weight or force readings. Hit <Enter>
to stop streaming.
The output is in 1/1000 of a pound (millipound). E.g., if the reading returned is 2345, the sensor reading is equivalent to 2.345 lb. |
| SLC | This command outputs a floating point number that indicates the load capacity of the sensor in lb. |
| SS1 |
This command outputs a factory ID of the sensor. This command can be used to identify
each load cell uniquely. The user can burn his own serial number (or any other identifying
string) into the load cell by issuing the CS1 <id> command. However this should be done only if the user is writing his own software and needs IDs that are different from the predefined IDs. |
| O0T1 | Outputs the elapsed time (in milliseconds since the last tare) and the weight (in millipounds) once. |
| O0T0 | Outputs the above time and weight information continuously. Hit <ENTER> to stop the output. |
| CPS xx |
Set averaging parameter 1.
xx is a number between 32 and 1023. Higher numbers 'smoothen' the readings but slow down the response. Higher numbers also increase the sensor resolution. (It is not recommended that the user change this setting.) |
| CSS yy |
Set averaging parameter 2. (For firmware versions 9E and above set CSS=1) |
| CLA zz |
Set averaging parameter 3. (Only available in firmware versions 9E and above) zz is a number between 1 and 256. (1 means no averaging, 256 means highest averaging) |
| CVM <0,1> |
For firmware versions 9H and above only. CVM 0 -> When in analog mode, converts weight to voltage between 0.5 to 4.5 V DC approx. CVM 1 -> Outputs an user specified voltage between 0 to 5 V. User specifies a voltage by using the CVT command below. |
| CVT <0 to 1023> |
For firmware versions 9H and above only. When CVM is set to 1, an analog voltage between 0 to 5V approx is output. CVT 0 -> Outputs 0 V DC CVT 1023 -> Outputs 5 V DC |
| CUN <0, 1> |
For firmware versions 9H and above only. Specifies whether the calibration is in single direction only (compression or tenstion) or in universal mode (compression AND tension). CUN 0 -> Compression OR tension. Outputs a voltage proportional to weight between 0.5 to 4.5 V DC approx. CUN 1 -> Universal calibration. Outputs a voltage between 0.5 to 2 V for compression and between 2 to 4.5 V for tension. |
| ? | Shows the firmware version number and commands available. Some of the commands are for internal use only. |
If the user is writing his or own software to read the iLoad digital load cells,
it is recommeded to remove averaging and use the following settings:
CPS 8
Then perform any needed averaging in the application itself. The above settings will also ensure
that you get the highest data output rate for the configured baud rate.
CSS 1
CLA 1