Create the Second Reference Point
The following conditions must be respected:
oModule_Ref must have a correct value
oCycle_number must have a correct value
oReference 1 must be previously established
The procedure sets the Raw_Ref2 field of the s_strainGaugeParameter structure.
Step |
Action |
---|---|
1 |
Create and stabilize the conditions that are representative of the measurement required for the second reference point. |
2 |
Set the inputs of the StrainGauge function block to following values: Tare_Enable = 0 Ref1_Enable = 0 Ref2_Enable = 1 |
3 |
Set the function block input xExecute to 1. |
4 |
When xDone = 1, s_strainGaugeParameter.RawRef2 is set to the average value calculated by the function block. |
5 |
Set the corresponding calibrated value you wish to associate with Raw_Ref2 in the s_strainGaugeParameter.Calibrate_Ref2. |
Defining both reference points allows to establish the calibration line: