MAIN_Analytics_C[n]
The FB Analysis is called in the program MAIN_Analytics_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.
The handling of the "InputSources" is done in the action A_InputSources.
The mapping of the HMI values is done in the action A_MapToHMI.
Syntax
Definition:
PROGRAM MAIN_Analytics_C[n]
VAR_INPUT
stReset: ST_AnalysisReset;
END_VAR
VAR_OUTPUT
bError: BOOL;
ipTcResult: I_TcMessage;
nAnalysisResultsTimestamp: ULINT;
stAnalysisResults: ST_Results;
END_VAR
Requirements
Development environment | Target platform | Plc libraries to include |
---|---|---|
TwinCAT v3.1.4024.0 | PC or CX (x64, x86) | Tc3_Analytics |