Call
The method is called in each cycle to execute the calculations from the input buffer when new data is present.
The function block waits for input data if the method outputs neither new results nor an error. This is a regular behavior in the process of the analysis chain.
Syntax
METHOD Call : BOOL
VAR_INPUT
bResetStatistics : BOOL;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
bResetStatistics |
BOOL |
TRUE resets the minimum and maximum values of the outputs. |
Return value
Name |
Type |
Description |
---|---|---|
Call |
BOOL |
Indicates whether the method was executed successfully. Further information is provided in the Event interface of the function block. |