30
D01-068en201913 Manual TpH
Annex
//
TpH
State machines number
The calibration machine has number 1.
States
0: Activate state machine
The state machine is activated; the sensor leaves the normal operating mode.
1: Validation of parameters and calibration method
Select the calibration method (in low byte) and the parameter (in high byte) to be calibrated via parameter register FSMParam.
After that, the change to state 1 initializes the state ma-chine for that parameter and this calibration method.
If the selected calibration procedure is possible, the sensor changes to state 2 and deactivates the current calibration coefficients
for the selected parameter.
Otherwise, the sensor stays in state 1; the error can be determined by reading out the error registers.
2: Idle state
The calibration machine was successfully activated or the last action was successfully com-pleted. The sensor is now waiting for
further commands.
3 and 4: Measurements
On the part of the control unit, the measurements required for this calibration method can now be started by the change to states
3 or 4. Regardless of the calibration method, state 3 is al-ways the first measuring point, etc.
6: Performing measurement
After the control unit has informed the sensor to start the measurement (by changing to state 3 or 4), the sensor changes to state
6 for the duration of the measurements. During this phase, the control unit should continuously trigger measurements and read
out the measure-ment results. As soon as the sensor has collected enough measurement values, it switches to state 7 and awaits
the transmission of the setpoint.
7: Acquisition of the target value
The control unit writes the target value into the register of the measurement parameter of the calibrated parameter. This is the
same register from which the measured values of the pa-rameter are read out. If the sensor accepts the target value, it acknowl-
edges this with a change back to state 2.
Otherwise the sensor will stay in state 7.
8: Coefficient calculation
Once all the required measurements have been taken and the target values stored, the sen-sor can be prompted to calculate a
new calibration by changing to state 8. This new calibra-tion is then temporarily activated and will be used to calculate the meas-
urement values. How-ever, this calibration is not saved yet and will be lost if you leave the calibration machine now.
After successful calculation, the sensor changes to state 11 (see below). If the sensor cannot calculate a calibration, the sensor
remains in state 8.
9: Save user calibration
Changing to state 9 will save the customer calibration. The previous calibration data is marked as the last calibration and the new
calibration data is marked as the active calibration. Once the customer calibration has been saved, the parameters determined
during this calibration remain active even after leaving the calibration machine.
Summary of Contents for TpH
Page 1: ...TpH OPERATING INSTRUCTIONS ...
Page 2: ......