Block execution is impacted by the status of IN_1 and IN_2. The increment is added to the accumulated value when the status of IN_1 (and IN_2 when applicable) is Good. If the status is not Good, the last Good status value is used to calculate the increment to be added to the accumulated value.
The output status calculation is based on the accumulation of input statuses. The calculation includes the accumulation for only the worst status of the two input channels when IN_2 is enabled.
Output status is determined by the integration of the absolute value of bad input values relative to integration of absolute value of total input values. An input status of uncertain is treated as bad for the quality calculation.
The output status is determined with the following logic:
When the ratio of good to total integrated absolute values is less than 25%, OUT status is set to bad.
When the ratio of good to total integrated absolute values is between 25% and 75% OUT status is set to Uncertain.
When the ratio of good to total integrated absolute values is greater than 75% then OUT status is set to good.
The following figure illustrates output status designations: