Configuration 6.1.2.3.6 MAIN_Analytics In the MAIN_Analytics program, the DataSource FBs are called, the reset function is managed and, if appropriate, the values are mapped with the HMI Dashboard. The program is assigned to a separate task. Syntax Definition: PROGRAM MAIN_Analytics VAR_INPUT sCurrentStreamSystemID: GUID; stHistStreamInfo: REFERENCE TO ST_HMI_DataSourceHist; stHistRecordInfo: REFERENCE TO ST_HMI_DataSourceHistRecordInfo; END_VAR VAR_OUTPUT bError: BOOL; ipTcResult:
I_TcMessage; END_VAR Requirements Development environment Target platform Plc libraries to include TwinCAT v3.1.4024.0 PC or CX (x64, x86) Tc3_Analytics 6.1.2.3.7 MAIN_Analytics_V[n]_C[n] The FB Analysis is called in the program MAIN_Analytics_V[n]_C[n]. The program is assigned to the separate task. It is also possible to reset single modules, whole networks or all defined networks with only one rising flag. First, select the component to be reset. Then a rising edge at INPUT bReset starts the reset process. All reset calls are defined in the action A_Reset. Mapping of the HMI values takes place in the action A_MapToHMI. Syntax Definition: PROGRAM MAIN_Analytics_V[n]_C[n] VAR_INPUT stReset:
ST_AnalysisReset; END_VAR VAR_OUTPUT bError: BOOL; ipTcResult: I_TcMessage; nLastDataHandle: ULINT; END_VAR Requirements Development environment Target platform Plc libraries to include TwinCAT v3.1.4024.0 PC or CX (x64, x86) Tc3_Analytics TF355x 81 Version: 1.3.1