The method Notify increases the count of detected objects within the current time period by the input value. Before calling this method, the Update method must be called at least once to initialize the internal timer.
Input |
Data type |
Description |
---|---|---|
i_udiNumberOfObjects |
UDINT |
Number of objects to notify. This input can have either a zero or positive value. In case of a zero value, the Notify call has no effect on the flow estimation value. |
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 |
UpdateNotCalled |
178 |
The Update method has not been called. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: Reading the data was successful.
Enumeration name: |
UpdateNotCalled |
Enumeration value: |
178 |
Description: |
The Update method has not been called. |
Issue |
Cause |
Solution |
---|---|---|
The new object was not successfully notified. |
The Update method has not been called at least once before calling this method. |
Make sure that the Update is called at least once before calling this method. |