Specifying a default value - References - SIMATIC AX - AX Hardware Engineering documentation - Hardware Engineering,

Hardware Engineering reference

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
2.0.0-alpha1.56
Edition
08/2025
Language
English (original)
Package Name
@ax/hw-docs

By default, template placeholders are mandatory. This means, a value has to be supplied for each placeholder in every place a template is used.

A placeholder can be made optional by specifying a Value.

When a placeholder has a value and no value for that placeholder is specified when the template is used, the default value is used.

The following example shows the usage of placeholder default values. A default value of 32 is specified for the OutputAddress placeholder.

{
  "Templates": {
    "Modules": [
      {
        "Name": "DQ_Template",

        "Placeholders": [
          { "Name": "ModuleName" },
          { 
            "Name": "OutputAddress",
            "Value": "32" 
          }
        ]             
      }
    ]
  }
}