The method Update verifies if the configured time period has elapsed and, if it is the case, it updates the flow estimation based on the number of Notify calls performed over the last time period.
Output |
Data type |
Description |
---|---|---|
q_etDiag |
GD.ET_Diag |
General library-independent statement on the diagnostic. A value unequal to ET_Diag.Ok corresponds to a diagnostic message. |
q_etDiagExt |
POU-specific output on the diagnostic:
|
|
q_sMsg |
STRING(80) |
Event-triggered message that gives additional information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
ExecutionAborted |
TimePeriodNotConfigured |
176 |
The time period value is not configured. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: Reading the data was successful.
Enumeration name: |
TimePeriodNotConfigured |
Enumeration value: |
176 |
Description: |
The time period value is not configured. |
Issue |
Cause |
Solution |
---|---|---|
Updating was not possible. |
The time period is not configured. |
Make a successful call of SetTimePeriod before calling this method. Refer to FB_FlowEstimation - SetTimePeriod (Method). |