Project templates

Project templates are intended to make it easier to get started with a TcHmiBa project by pre-installing required dependencies and providing additional elements (e.g. navigation).

Installation

The installation of the project templates into the available development environments is not performed by the TF8040 but by the batch file InstallProjectTemplates.bat.

Project templates 1:

After installing the TwinCAT 3 HMI and TF8040, the batch file is located in the directory:
C:\TwinCAT\Functions\TF8040 Building Automation\HMI\ProjectTemplates

A double click on the InstallProjectTemplates.bat executes it and a console window opens.

Project templates 2:
Project templates 3:

The project templates currently have some limitations. The following section describes these in more detail and how they can be remedied.

User management

In order to use the integrated user management of TF8040, it is necessary that certain user groups and matching users exist in the TcHmi project. The project template does not include these users.
The program CreateDefaultUserManagement.exe can be used to create the required settings for a project.

Project templates 4:

More detailed information on the various user groups can be found here.

Project templates 5:

After installing the TwinCAT 3 HMI and TF8040, the program is located in the directory:
C:\TwinCAT\Functions\TF8040 Building Automation\HMI\Tools\CreateDefaultUserManagement

Double-clicking on the CreateDefaultUserManagement.exe will execute it.
1. First select the HMI project.
2. Close the project (if not already closed).
Project templates 6:
3. Check output
Project templates 7:
4. Open the project and create passwords for the created users.
Project templates 8:
Project templates 9:
Project templates 10:

BaSiteExtension

The server extension will start inactive because the configuration files are not loaded with the project template.

Project templates 11:

Therefore a manual start is necessary.

Project templates 12: