Configuration FUNCTION_BLOCK FB_Results VAR_OUTPUT nTimestamp: ULINT; stResults: ST_Results; END_VAR Outputs Name Type Description nTimestamp ULINT Associated timestamp of the result structure data stResults ST_Results Result structure that contains all elements of the result stream. Properties Name Type Access Description bInitialized BOOL Get Indicates whether the function block has been properly initialized nMaxSamples INT Get Maximum number of buffered results nResultCount INT Get Current number of buffered results Methods Name Definition location Description Call [ } 110] Local Method for background communication. The method must be called cyclically.
AddResult [ } 110] Local Add a sample to the result stream SendResults [ } 111] Local Sends all buffered samples of the result stream Release [ } 111] Local Close stream or file of the result stream Requirements Development environment Target platform Plc libraries to include TwinCAT v3.1.4024.0 PC or CX (x64, x86) Tc3_Analytics 6.1.2.5.6.1 Call Syntax METHOD Call : BOOL VAR END_VAR Return value Name Type Description Call BOOL 6.1.2.5.6.2 AddResult Syntax METHOD AddResult : BOOL VAR_INPUT tTimestamp: ULINT; stSample: ST_Results; END_VAR TF355x 110 Version: 1.3.1