FB_MovingAverage - Insert (Method)
Type: |
Method |
Available as of: |
V1.0.7.0 |
Versions: |
Current version |
Insert value in the buffer for sliding-type mean value generation
Inserts a value for the calculation of the sliding-type mean value into the buffer for FB_MovingAverage
Input |
Data type |
Description |
---|---|---|
i_lrValue |
LREAL |
Value that will be inserted into the buffer of FB_MovingAverage |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
ExecutionAborted |
93 |
The Init method has not been called up. |
Enumeration name: |
InitMethodNotCalled |
Enumeration value: |
93 |
Description: |
The Init method has not been called up. |
Issue |
Cause |
Solution |
---|---|---|
- |
The Init method has not been called up yet. |
Prior to the first call-up of the Insert method, the Init method must have been called up. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
A value has been inserted successfully into the buffer of FB_MovingAverage