Runtime deployment

PLC code can be generated with all modules and parameters configured in the TwinCAT Analytics Workbench Configurator. This code can be downloaded into a TwinCAT Analytics runtime to realize 24/7 data analysis.

Notice

Compatibility of automatically generated PLC code

The automatically generated PLC code is based on the TwinCAT Analytics Library. Interfaces of the base models of the library are compatible with earlier versions after release of the library. The automatically generated code itself is only a sample code! This code generation may change from version to version. As far as possible, this is solved by the code generation version.

1. After configuration, you can click on the Deploy Analytics Runtime command in the context menu, as shown in the image below.
Runtime deployment 1:
2. The Deploy Wizard starts and it is possible to set up the entire required configuration step by step for use.
Runtime deployment 2:
3. On the first tab Solution you can select whether a new project folder is created, whether the analysis PLC code is integrated or added to an existing project folder as a new project, new PLC or to an existing PLC, or whether the new project is inserted into an existing project folder using the TwinCAT Project Compare Tool.
Runtime deployment 3:
4. On the second tab, TwinCAT PLC Target, all PLC-specific parameters such as target system, task cycle time or the task assignment to corresponding CPU cores can be defined.
Runtime deployment 4:
5. If you have set the "PLC Result" property of some functions in the configurator, the Result tab is enabled in the Deploy wizard. There you can set up where the results will be streamed or stored.
Runtime deployment 5:
6. By clicking Select Result Items it is possible to select only the desired values.
Runtime deployment 6:
7. If you have assigned HMI controls to one or more functions, the HMI Dashboard tab is enabled in the Deploy wizard. Here, various settings can be made to generate a customized Dashboard that fits your needs.
Runtime deployment 7:
8. On the next tab, Visual Studio, you can select which Visual Studio version or TwinCAT XAE shell should be used for generation, if several are installed.
Runtime deployment 8:
9. The last tab shows you all the settings you have made for the generation. Now you can start the generation process by clicking Deploy.
In the overview window, each step during the generation process is displayed, clearly arranged and divided into categories.
Runtime deployment 9: