How to Perform a Tare Mode by Program
(Original Document)
Introduction
This function involves bringing the value of the measured net weight to zero when a load, or tare, is placed on the load holder.
It therefore supports movement of the measurement with an offset value in order to make it conform to the user’s expected value.
When no tare mode operation has been carried out, the net weight is the same as the gross weight.
NOTE:
  • When changing configuration, tares are deleted. Any tare mode command cancels tares entered in manual mode and resets the manual tare indicator to zero.
  • Similarly, a return to gross weight order allows you to delete tare modes. It does not need any acceptance condition.
Execution Conditions for the Tare Mode
The acceptance conditions for performing the tare mode command are the following:
Procedure
The following table describes the procedure for executing a tare mode operation.
Step
Action
Behavior of the Module
1
Input the WRITE_CMD instruction while positioning the tare mode order (%MWr.m.0.3.4 = 1).
-
2
Confirm the execution, with the application in RUN mode.
The module switches to tare mode and sends the %Iwr.m.0.4.5 = 1 Processing _ in_ progress report.
Acquires the tare.
Note: The value of the weight is measured and stored in the associated %IDr.m.0.5 (for Premium/Atrium) and %IDr.m.0.6 (for M580). It will be deducted from further gross weight measurements to determine the net weight.
End of acquisition: Processing_in_progress = 0
3
Monitor the command’s smooth execution: State of Processing_in_progress: %IWr.m.0.4.5
The module stays in the Processing_in_progress state for as long as the acceptance conditions are not met or until it receives an order to cancel the command.
Summary of the Data Used
The following table describes the data used for a tare mode.
Type
Role
Associated Data
Command
tare mode order
%MWr.m.0.3.4
Display
tare value
Premium/Atrium: %IDr.m.0.5
M580: %IDr.m.0.6
tare mode in progress
%IWr.m.0.4.5
Example
The following example in instruction list language describes a tare mode order being sent to the weighing module in slot 2, rack 0.
LD TRUE
S %MW 2.0.3.4
[WRITE_CMD (%CH2.0)]
Executing the program involves:
Phase
Description
1
Sending the command.
2
Setting the %MW2.0.0.1 bit to 1, showing that the command is being sent.
3
This bit remains at 1 until the module sends a report. The bit then goes back to 0. The exchange report bit is then relevant.
4
The exchange report bit %MW2.0.1.1 rises to 1 if an error is detected during the exchange. The 0 value shows that the command has been accepted by the module.
NOTE: %IW2.0.4.5 stays at 1 (processing in progress) for as long as the acceptance conditions are not met (waiting for measurement stability, for example).
The status channel’s application error bit is at 1 (module executing command). The order can be cancelled by sending the cancel command in progress command.