InitTemplate

The CodeBehind function InitTemplate initializes the server of a new project with PLC mappings, server symbols, user levels and recipe configurations.

InitTemplate 1:

Automatic execution in the background

This function is automatically executed for a Plastic Application project created with TwinCAT HMI 14.x. The files stored in the project at Imports/Template are deleted after the successful import of all configuration components. The import is now complete.

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available: since version 14.18.0

Use: TC3 Plastic Application HMI Projects