How to use Tare and Zero?

Explanation and steps on how to use the Tare and Zero functions

What is the difference between Tare and Zero?

Using Tare and Zero

Tare/Zero on host (GI.bench)

Tare/Zero on variable

Tare/Zero on digital input

Tare/Zero (test.commander)

What is the difference between Tare and Zero?

Zero and Tare are two very useful functions designed to make the measurement process easier. So how do you know which one to use? To summarize, Tare should be used to remove unwanted offset due to external factors acting on the sensor. Zero, on the other hand, should be used to return a sensor to zero when nothing is acting on it.

What is Tare?

Usually, when you’re looking to use Tare or Zero, Tare is the function you actually want. When you install a sensor and need to remove the signal offset due to the installation, then you should be using the Tare features. To put it simply, if you need to remove an offset due to external factors, then use the Tare function.

With the Tare function, a single measurement present at the time the Tare command is given is subtracted from all the following measurements. The Tare value is stored temporarily and will be deleted after a power down of the controller. The Tare value will only be stored permanently in the module if the option Tare save non-volatile is activated in the configuration.

What is Zero?

Although Zero appears to do the same thing as Tare, it actually serves a different purpose. The Zero function should only be used when nothing is acting on the sensor, but the reading doesn’t display zero. This is a permanent recalibration of your sensor to remove unwanted offset.

To determine the Zero value, an average value is calculated over a period of 1 second. This average value is then subtracted from all the following measurements. The Zero value is stored permanently in the module (also on power down). It will be deleted on a reconfiguration of the variable or if a zero reset is executed.

Using Tare and Zero

The zero function can be activated in 3 ways: via host software (i.e., GI.bench), based on a variable's value, or a digital input state change.

Tare/Zero on host (GI.bench)

  1. In GI.bench, double-click a variable to open the Variable settings window > go to the Format section.
  2. Change the Data direction to Input/Output. Click OK when done.
  3. Navigate to the Tare/Zero section > check the box for Zero on host or Tare on host.
  4. Write the configuration to the controller.
  5. Go to the Channels (F3) section in the Data Acquisition tab. You should now see the Zero and/or Tare button in the Action column. Click to activate the corresponding function.

Tare/Zero on variable

  1. In GI.bench, navigate to the Tare/Zero section > check the box for Zero on variable or Tare on variable
  2. An additional field will appear underneath to select a reference variable. Select the variable that will be used to activate the desired operation. Click OK when done. Please note that only variables on the same I/O module can be selected.
  3. Double-click the reference variable to open the Variable settings window > go to the Format section.
  4. Change the Data direction to Input/Output. Click OK when done.
  5. Write the configuration to the controller.
  6. Go to the Channels (F3) section in the Data Acquisition tab. You should now see a set value button in the Write column for the reference value
  7. The set value button will allow you to change the value of this reference variable to the appropriate code to initiate the desired operation.

    Code

    Function

    1

    Perform tare

    2

    Reset tare (delete stored tare value)

    4

    Perform zero (the mean of the measurement value is calculated until the value 0 is written to the variable)

    8

    Reset zero (delete stored zero value)

Tare/Zero on digital input

The process is the same as Zero/Tare on variable, except you check the box for Zero on digital input or Tare on digital input, and then select the desired digital input variable. A digital input going from Low to High will initiate the operation. There is no possibility to initiate a reset of the Zero/Tare value.

Procedure (test.commander)

  1. Open the module in ICP100 that has the channel you would like to configure.



  2. For this example, we will configure V1 (Voltage Input). Double-click the cell under the
    Format/Adjustment column for the desired variable. The Unit and Format window will appear:



  3. Click on the Zeroing button to set up the zero functionality (in the same procedure, click on the Taring button to set up the Tare function. The zero function can be activated in 3 ways: via Host (i.e., test.commander), on a Digital Input, or based on a Variable. For this example, we will zero the channel via Host. Click OK.



  4. On the Unit and Format window, click on the Direction button. Set the data direction to
    Input/Output. Click OK.



  5. Click OK on the Unit and Format window.

  6. After all the desired channels in the module have been configured, save the configuration by clicking on the save icon.



  7. Notice that the measurement module and the controller each have a red star next to the module. This means that the project inside test.commander does not match the configuration inside the controller. Click on the Write Project (Update) button to update the system.



  8. The controller will update:




  9. After the project is updated to the controller, click on the Read Online Values From Controller button (or File > Read Online Values from Controller):



  10. Highlight the connected controller and click OK.



  11. Open the module that you want to zero, and place a checkmark next to the channels that you want to zero. Select Zero from the drop-down menu and click the Zero/Tare button.



  12. The channels with the check mark are now zeroed:

  13. For Tare, same steps, instead choose Tare from drop-down list.
  14. You can clear a Tare or Zero by selecting that option from the drop-down list and clicing the Zero/Tare button