Create a hardware declaration file - 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

A textual hardware declaration (or *.hwl.json file) defines the hardware configuration of one or more PLCs.

This is a simple *.hwl.json file that contains just a single PLC (hereinafter we call it Sample.hwl.json):

{
  "Devices" : [
    {
      "Name" : "S7-1500_station_1", 
      "Modules" : [
        {
          "Name": "PLC_1",
          "TypeIdentifier": {
            "OrderNumber": "6ES7 516-3AN01-0AB0",
            "Version": "V2.9"
          },
          "AccessProtection": {
            "AccessLevel": "NoAccess"
          },           
          "Interfaces" : [
            {
              "Name": "Interface1",
              "Label": "X1",
              "Addresses": {
                "Configured": [
                  { "IPv4": "192.0.2.1/24" }
                ]
              }
            }
          ]
        }                  
      ]
    }
  ]
}

Note

To create a sample file, you can also right-click on a project folder and select Create hardware file sample.