Create a port interconnection between two ports - 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

In the hardware declaration, a port interconnection can only exist under the PortInterconnections node. It uses port references to define the devices' port.

An interconnection must only be specified once, i.e. a specific combination of two ports must only appear once in the set of all port interconnections.

Hint: If the configuration has one or more IO-Device which supports only LLDP V2.2 then all other device(s) need to be set to LLDP V2.2 version by setting 'IECV22LLDPMode' to true on the pn interface.

{
  "Devices": [
    {
      "Name": "Device1",
      "Modules": [
        {
          "Name": "PLC_1",
          "TypeIdentifier": {
            "OrderNumber": "6ES7 516-3AN01-0AB0",
            "Version": "V2.9"
          },
          "AccessProtection": {
            "AccessLevel": "FullAccess"
          },
          "Ports": [
            {
              "Name": "Port1",
              "Label": "X1 P1"
            },
            {
              "Name": "Port2",
              "Label": "X1 P2"
            }
          ],
          "Interfaces": [
            {
              "Name": "Interface_1",
              "Label": "X1",
              "Addresses": {
                "Configured": [
                  { "IPv4": "192.168.0.10/24" }
                ]
              }
            }
          ]
        },
        { "Ref": "DQ" },
        { "Ref": "DI" }
      ]
    },
    {
      "Name": "MyIoDevice1",
      "Modules": [
        {
          "Name": "MyHead",
          "TypeIdentifier": {
            "GsdId": "IM 155-5 PN BA V4.3",
            "FileName": "GSDML-V2.35-SIEMENS-ET200MP_SHORTENED-20220701.XML"
          },
          "Ports": [
            {
              "Name": "Port1",
              "Label": "X1 P1"
            },
            {
              "Name": "Port2",
              "Label": "X1 P2"
            }
          ],
          "Interfaces": [
            {
              "Label": "X1",
              "Name": "Interface1",
              "Addresses": {
                "Configured": [
                  {
                    "IPv4": "192.168.0.5/24"
                  }
                ]
              },
              "Parameters": {
                "IECV22LLDPMode": true
              }
            }
          ]
        }
      ]
    },
    {
      "Name": "MyIoDevice2",
      "Modules": [
        {
          "Name": "MyHead2",
          "TypeIdentifier": {
            "GsdId": "IM 155-5 PN BA V4.3",
            "FileName": "GSDML-V2.35-SIEMENS-ET200MP_SHORTENED-20220701.XML"
          },
          "Ports": [
            {
              "Name": "Port1",
              "Label": "X1 P1"
            },
            {
              "Name": "Port2",
              "Label": "X1 P2"
            }
          ],
          "Interfaces": [
            {
              "Label": "X1",
              "Name": "Interface1",
              "Addresses": {
                "Configured": [
                  {
                    "IPv4": "192.168.0.6/24"
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  ],
  "Modules": [
    {
      "Name": "DQ",
      "TypeIdentifier": {
        "OrderNumber": "6ES7 522-1BL01-0AB0",
        "Version": "V1.1"
      },
      "IoConfiguration": {
        "OutputAddress": "0.0"
      }
    },
    {
      "Name": "DI",
      "TypeIdentifier": {
        "OrderNumber": "6ES7 521-1BL00-0AB0",
        "Version": "V2.2"
      },
      "IoConfiguration": {
        "InputAddress": "0.0"
      }
    }
  ],
  "IoSystems": [
    {
      "Name": "PROFINET_IO-System",
      "ControllerInterfaces": [
        {
          "Ref": "Device1/PLC_1/Interface_1"
        }
      ],
      "DeviceInterfaces": [
        {
          "Ref": "MyIoDevice1/MyHead/Interface1",
          "Parameters": {
            "PnWatchdogFactor": 4
          }
        },
        {
          "Ref": "MyIoDevice2/MyHead2/Interface1",
          "Parameters": {
            "PnWatchdogFactor": 4
          }
        }
      ]
    }
  ],
  "PortInterconnections": [
    {
      "Ports": [
        { "Ref": "Device1/PLC_1/Port1" },
        { "Ref": "MyIoDevice1/MyHead/Port1" }
      ]
    },
    {
      "Ports": [
        { "Ref": "Device1/PLC_1/Port2" },
        { "Ref": "MyIoDevice2/MyHead2/Port1" }
      ]
    }
  ]
}