How to Reset the Value of the Weight to Zero by Program
(Original Document)
Introduction
This function consists in moving the measured weight value to zero. The zero indicator is then put into position.
It is controlled by the command bit Set to Zero. The correction carried out on the measurement is stored in the word %IDr.m.0.7 (for Premium/Atrium) and %IDr.m.0.8 (M580), in a high resolution format. It can be saved by the application. This parameter is reset to zero on each calibration.
NOTE: On changing configuration, any setting to zero is deleted.
Conditions for Carrying Out Zero Setting
The acceptance conditions for performing the zero setting 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 while setting the order Set to zero (%MWr.m.0.3.5 = 1).
-
2
Confirm the execution, with the application in RUN mode.
The module switches to set to zero and sends the Processing _in_progress report
%IWr.m.0.4.5 = 1.
The module proceeds to the acquisition of the measurement and memorizes the new value in the recalibration memory %IDr.m.0.7 (Premium/Atrium) and %IDr.m.0.8 (M580).
Processing_in_progrees = 0 signifies the end of the procedure.
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 resetting to zero.
Type
Role
Associated Data
command
reset order
%MWr.m.0.3.5
display
recalibration memory
Premium/Atrium: %IDr.m.0.7
M580: %IDr.m.0.8
exchange
processing in progress
%IWr.m.0.4.5
Example
The following example in instruction list language describes a Reset order being sent to the weighing module in slot 2, rack 0.
LD TRUE
S %MW 2.0.30.5
[WRITE_CMD (%CH2.0)]
Executing this order 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.