Unit_Config.json

With the Unit_Config.json file, the user can configure which unit groups, unit IDs and unit conversion functions are used in any TwinCAT HMI project.

A default Unit_Config.json file is included in the package and can be found at <PackageInstallPath>/runtimes/native1.12-tchmi/InputBox/Configuration/Unit_Config.json.

This file can be changed or a copy of it can be added to the project.

To set another file than the default Unit_Config.json, use the UnitConfig attribute of the Configurator control.

Description of JSON structure of the Unit_Config.json is explained below.

The mandatory properties are:

Unit_Config.json 1: