Example for changing the type of a Port - 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

An SFP port can be plugged into the module to configure different type of connectors (e.g. a RJ45 connector). For example the Ports of the Scalance media module 6GK5400-8AS00-8AP2 are SFP Ports. In this case an explicit submodule corresponding to the port submodule must be specified in the HWL under the "Submodules" of the Module with the wanted TypeIdentifier.

Device1 in the example below shows how ports can be configured in hwl file without configuring their type, whereas Device2 shows how you can configure the type of the port to be used.

{
  "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"
            },
            {
              "Name": "Port3",
              "Label": "X2 P1"
            }
          ],
          "Interfaces": [
            {
              "Label": "X1",
              "Name": "ProfinetInterface1",
              "Addresses": {
                "Configured": [
                  { "IPv4": "192.168.0.31/24" },
                  {"ProfinetDeviceName" : "cpu1516_ax.profinetinterface1"}
                ]
              }
            }, 
            {
              "Label": "X2",
              "Name": "ProfinetInterface2",
              "Addresses": {
                "Configured": [
                  { "IPv4": "192.168.0.32/24" },
                  {"ProfinetDeviceName" : "cpu1516_ax.profinetinterface2"}
                ]
              }
            }
          ]
        }
      ],
        {
            "Name": "Device2",
            "Modules": [
                {
                    "Name": "Head",
                    "TypeIdentifier": {
                        "GsdId": "DAP 28",
                        "FileName": "GSDML-V2.41-SIEMENS-002A-SCALANCE_XM400-20210308.XML"
                    },
                    "Ports": [
                        {
                            "Name": "Port4",
                            "Label": "X1 P4"
                        },
                        {
                            "Name": "Port5",
                            "Label": "X1 P5"
                        }
                    ],
                    "Interfaces": [
                        {
                            "Label": "X1",
                            "Name": "Interface1",
                            "Addresses": {
                                "Configured": [
                                    {
                                        "IPv4": "192.168.0.57/24"
                                    },
                                    {
                                        "ProfinetDeviceName": "et200sp_hf2"
                                    }
                                ]
                            }
                        }
                    ]
                },
                          {
            "Name": "SmModule1",
            "TypeIdentifier": {
              "GsdId": "ID_Mod_27_LDPM",
              "FileName": "GSDML-V2.41-SIEMENS-002A-SCALANCE_XM400-20210308.XML"
            },
            "Ports": [
              {
                "Name": "Port15",
                "Label": "X1 P7"
              },
              {
                "Name": "Port16",
                "Label": "X1 P8"
              }
            ]
          },
          {
            "Name": "SmModule2",
            "TypeIdentifier": {
              "GsdId": "ID_Mod_29_LDPM",
              "FileName": "GSDML-V2.41-SIEMENS-002A-SCALANCE_XM400-20210308.XML"
            },
            "Submodules": [
              {
                "Name": "Port17",
                "TypeIdentifier": {
                  "GsdId": "ID_PORT_992-1_LDPM",
                  "FileName": "GSDML-V2.41-SIEMENS-002A-SCALANCE_XM400-20210308.XML"
                },
                "Slot": 1
              },
              {
                "Name": "Port18",
                "TypeIdentifier": {
                  "GsdId": "ID_PORT_992-1P_LDPM",
                  "FileName": "GSDML-V2.41-SIEMENS-002A-SCALANCE_XM400-20210308.XML"
                },
                "Slot": 2
              }
            ],
            "Ports": [
              {
                "Name": "Port17",
                "Label": "X1 P1"
              },
              {
                "Name": "Port18",
                "Label": "X1 P2"
              }
            ]
          }
         ]
        }
    }
  ]
}