Skip to content

Setting up IE Connectors

Connectors are apps running on Industrial Edge Devices (IE Devices) that translate data between PLCs and Edge Apps. They convert various industrial protocols such as OPC UA, Ethernet IP, or S7 into the standardized MQTT protocol.

  • Connectors enable seamless communication between PLCs from different manufacturers and Edge Apps, reducing integration complexity.
  • Connectors simplify app development by requiring developers to support only MQTT protocol integration.

When deployed, connectors automatically handle the protocol conversion process:

  1. Receive data from PLCs in their native protocols.
  2. Transform data into MQTT format.
  3. Publish the converted data to an MQTT broker (Databus) on the IE Device.
  4. IE Apps on the IE Device can subscribe to relevant MQTT topics and process the data.

Connector theory.

Choosing your connector

These tutorials will look at the process of configuring the following connectors:

  • OPC UA Connector
  • Ethernet IP Connector
  • S7 Connector

Choose a connector based on your device type and company preferences. All connectors deliver the same result on Industrial Edge. Use the flowchart below for guidance:

Choose a connector based on your device type.

The different connectors also have different limitations regarding how many tags can be configured. Refer to their documentation for more information:

Siemens recommends using OPC UA Connector for IE devices that require multiple protocols or standards due to its platform independence, robust security features, and scalability. OPC UA Connector supports seamless integration across diverse systems, making it ideal for modern industrial environments. However, using OPC UA Connector may result in higher data traffic.

Connectors provided with Industrial Edge Management

Always refer to the official connector documentation for supported devices.

Industrial Edge Management contains the following connectors free of charge:

Protocol Connector application Supported devices and documentation
OPC UA OPC UA Connector
  • S7-1200S7-1500-CPU, S7-1200-CPU
  • OPC UA Connector documentation
  • S7 S7 Connector
  • S7-300-CPU, S7-400-CPU, S7-1200-CPU, S7-1500-CPU
  • S7 Connector documentation
  • Other compatible Connectivity Suite connectors

    Always refer to the official connector documentation for supported devices.

    Industrial Edge Management does not contain the following Connectivity Suite connectors, which are available for purchase in the Marketplace for an additional cost:

    Protocol Connector application Supported devices and documentation
    Ethernet/IP Ethernet IP Connector
  • Allen-Bradley ControlLogix, Allen-Bradley CompactLogix, Allen-Bradley MicroLogix, Allen-Bradley GuardLogix, Allen-Bradley SLC, Omron CJ1 Series, Omron CS1 Series
  • Ethernet IP Connector documentation
  • Modbus TCP Modbus TCP Connector
  • Schneider, Siemens SIWAREX PLCs
  • Modbus TCP documentation
  • MELSEC Connector for MELSEC
  • Mitsubishi PLCs
  • Connector for MELSEC documentation
  • IEC 61850 Connector for IEC 61850
  • IEC 61850 PLCs and devices
  • Connector for IEC 61850 documentation
  • IEC 60870-5-104 Connector for IEC 60870-5-104
  • IEC 60870-5-104 PLCs and devices
  • Connector for IEC 60870-5-104 documentation
  • FINS TCP Connector for FINS TCP
  • FINS TCP PLCs and devices
  • Connector for FINS TCP documentation
  • Ethernet IP Class1 Ethernet IP IO Connector
  • Rockwell PLCs
  • Ethernet IP IO Connector documentation
  • USB Audio Connector
  • USB audio devices
  • Audio Connector documentation
  • FOCAS 1 Connector for FOCAS 1
  • FANUC devices
  • Connector for FOCAS 1 documentation
  • FOCAS 2 Connector for FOCAS 2
  • FANUC devices
  • Connector for FOCAS 2 documentation
  • Connecting a PLC using a Siemens connector

    Connecting a PLC using OPC UA Connector

    In this tutorial, use OPC UA Connector to connect a PLC to your Industrial Edge environment.

    To connect Industrial Edge to your environment, you need three main components:

    • The OPC UA Connector to read data from your PLC and translate it to MQTT.
    • The Databus App to run on your IE Device, act as a central data broker, and store data configurations for your individual applications.
    • The IIH Essentials App to implement a digital representation of your machine and make the data accessible via a REST-API for further processing.

    Two additional apps are used during the process for your convenience:

    • The Databus Configurator App in the IEM instance.
    • The Common Configurator App to provide a user interface for IIH Essentials and to add data sources to OPC UA Connector.

    The figure below highlights the roles of the different applications and components.

    The figure below highlights the roles of the different applications and components.

    Prerequisites for connecting a PLC using OPC UA Connector

    Software requirements

    Hardware Requirements

    • A PLC-device which supports data transfer via OPC UA
    • A RJ45 Ethernet cable (when using VMware and a virtual IE Device)

    Enabling the OPC UA Server in the TIA Portal

    TIA Portal is Siemens' engineering software and framework for programming and managing automation devices. Activate the OPC UA server on the TIA Portal to use the OPC UA Connector app on the PLC.

    1. Open the TIA Portal.
    2. In the "Device" column, click the PLC you wish to enable. Click "Device Configuration".
    3. Click "OPC UA" > "Server" > "General".
    4. Under "Accessibility of the Server", click the checkbox to "Activate OPC UA server".

      Under "Accessibility of the Server", click the checkbox to "Activate OPC UA server".

    5. Click "OPC UA" > "Server" > "Security".

    6. Under "Security policies available on the server for the secure channel", click the checkbox for "No security".

      Under "Security policies available on the server for the secure channel", click the checkbox for "No security".

    Notice

    Using "No Security" for OPC UA Connectors is not recommended for a production environment. Use certificates for cybersecurity best practices.

    Configuring the network interfaces for IE Devices to connect to OPC UA Connector

    The network interfaces for physical IE Devices were configured as part of the onboarding process. Additional steps are required to allow connections between the PLC and a virtual IE Device.

    If you are using a physical IE Device, proceed to Adding your PLC as an OPC UA data source.

    To configure a virtual IE Device, follow the conditional steps based on the hypervisor.

    Conditional steps

    Create a virtual adapter in Hyper-V. Bridge the virtual adapter to the physical adapter on your machine to establish communication between the PLC and the virtual IE Device.

    Next, apply the virtual adapter to your virtual IE Device.

    Creating and mapping a virtual network adapter

    1. Open Hyper-V. The library contains a virtual machine for the virtual IE Device.

      Open Hyper-V.

    2. In the right sidebar, click "Virtual Switch Manager”. The "Virtual Switch Manager" window opens.

      Virtual switch manager

    3. In the left sidebar, select "New Virtual Network Switch”.

    4. Choose Type: "External".
    5. Click "Create Virtual Switch".
    6. Click "OK".

      Create External Virtual Switch

    7. Choose a name for your virtual switch.

    8. Select "External network". A dropdown menu appears.
    9. Select the network adapter you want to use.
    10. Check the box for "Allow management operating system to share this network adapter".
    11. Click "Apply".
    12. Click "OK".

      Configure virtual switch

    13. Read the warning message as shown in the figure below. Click "Yes".

      Select VM named "IndustrialEdgeVirtualDevice".

    Applying the virtual network adapter to the virtual machine

    1. Select the VM named "IndustrialEdgeVirtualDevice".
    2. In the right sidebar, click "Settings". A dropdown menu appears.

      Select VM named "IndustrialEdgeVirtualDevice". In the right sidebar, click "Settings".

    3. Select the newly created switch.

    4. Click "Apply."
    5. Click "OK".

      configure_network_interface_hyper-v_apply_created_adapter_marked.png

    Hyper-V displays the virtual network adapters when successfully connected.

    configure_network_interface_hyperv_check_config.png

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and OPC UA Connector

    Bridging the physical network adapter to the virtual machine

    Using an Ethernet cable, bridge the physical network adaptor directly to the virtual machine with VMware.

    1. Connect the PLC to your laptop using an RJ45 Ethernet cable.
    2. Open VMware Workstation.
    3. In the Virtual Machine window, click the Player button in the top left corner.
    4. Navigate to "Manage" > "Virtual Machine Settings". The Virtual Machine Settings menu opens.

      Navigate to "Manage" > "Virtual Machine Settings". The Virtual Machine Settings menu opens.

    5. Select "Network Adapter 2".

    6. Change the network connection setting from "NAT" to "Bridged".
    7. Check the box for "Replicate physical network connection state".

      Change the network connection setting from "NAT" to "Bridged". Check the box for "Replicate physical network connection state".

    8. Click "Configure Adapters". A popup for "Automatic Bridging Settings" appears.

    9. Check the box for "Intel® Ethernet Connection (10) 12L9-LM". Uncheck all other options.
    10. Click "OK" to confirm changes.

      NOTICE

      The virtual machine's default network adapter is Network Address Translation (NAT), which does not allow external devices to communicate with Industrial Edge Management. Change the adapter type to "Bridged" to allow external devices to communicate with Industrial Edge Management.

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and OPC UA Connector

    Setting up the network connection for the virtual IE Device and OPC UA Connector

    1. Open the web browser on your local computer.
    2. Enter the IP address of the IE Device with the HTTPS protocol, i.e. https://<ip address>. The screen displays the IE Device UI login screen.
    3. Log in to the Device UI.
    4. Click "Settings" from the left navigation pane. The "Settings" page opens.
    5. Click "Connectivity".
    6. Click "LAN Network".

      Click "LAN Network".

    7. Click the pencil icon next to the network adapter "ens32" to modify its network settings.

      Click on the pencil icon next to the network adapter "ens32" to modify its network settings.

    8. Uncheck the "DHCP" checkbox.

    9. Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      For a PLC with the IP address 192.168.236.127, enter the following values to ensure connectivity between the virtual IE Device and the PLC:

      • IPv4 (Static IP for the virtual IE Device): 192.168.236.129
      • Netmask: 255.255.255.0
      • Gateway: 192.168.236.1 (if applicable)
    10. Click "Update" to save changes.

    Adding your PLC as an OPC UA data source

    Use the Common Configurator App to configure an OPC UA data source and set up the OPC UA communication channel to the PLCs for data acquisition.

    To add a data source to the OPC UA Connector:

    1. In the device UI, click "Apps" from the left navigation pane. The "Apps" page opens.
    2. Click the "Common Configurator" tile. The "Common Configurator" UI opens.

      Click the "Common Configurator" tile. The "Common Configurator" UI opens.

    3. Click "Get Data" from the left navigation pane. A list of configuration apps appears.

    4. Click "Connector Configuration". The "Get Data" page opens.
    5. Under "Installed Connectors", click "OPC UA Connector".

      Under "Installed Connectors", click "OPC UA Connector".

    6. Click "Add". The "Add Data Source" page opens.

      Click "Add". The "Add Data Source" page opens.

      NOTE

      The OPC UA connector is the interface between the PLC and the IE Device. It must be configured with information about the IP address and other data of your PLC. Once configured, the OPC UA connector can browse the data points of the PLC.

    7. Define the following information:

      • Communication Protocol: OPC UA (OPC Server)
      • Communication Protocol: Select "Add manually"
      • Name: Can be freely chosen
      • OPC UA Server URL: opc.tcp://<ip address of PLC>
      • IP port number: 4840
      • Message Security Mode: None
      • Security Policy: None
      • Authentication mode: Anonymous

      Define the following information about the data source.

      NOTICE

      This tutorial has not selected any security policies or authentication for testing purposes. Using "No Security" for OPC UA Connectors is not recommended for a production environment. Use certificates for cybersecurity best practices.

      More information

      More information about the settings is available in the OPC UA Connector documentation.

    8. Click "Save". OPC UA Connector activates the configuration.

    9. Click the "Log Messages" tab. The OPC UA Configurator logs open.
    10. Check the logs for the message "Connection established to [connector name]." to ensure the connection is properly established.

      Check the logs for the message "Connection established to [connector name]." to ensure the connection is properly established.

    Configuring the OPC UA connector data source tags

    Tags are data points that you wish to fetch from the IE Device. Once the OPC UA Connector data source is created, add and configure the IE Device tags to complete the OPC UA Connector configuration process.

    Adding a tag for OPC UA Connector

    1. In the OPC UA Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click "Browse tags".

      Click "Browse tags".

    3. Click "Start browse". The OPC UA Connector lists all available tags.

      Click "Start browse". The OPC UA Connector lists all available tags.

    4. Click the checkboxes for the tags you wish to import from the IE Device via the OPC UA Connector.

    5. Click "Add to Data Source". OPC UA Connector adds the tags.

      Click the checkboxes for the tags you wish to import from the IE Device via the OPC UA Connector. Click "Add to Data Source".

    6. To return to the "Tags" tab, click "Back".

    Configuring a tag for OPC UA Connector

    1. In the OPC UA Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click on the pencil icon in the column "Actions" of a tag. The tag becomes editable.

      Click on the pencil icon in the column "Actions" of a tag.

    3. Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

      Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

      Publish to the Databus

      The OPC UA Connector always publishes to the Databus. Therefore the option does not need to be selected like with other connectors.

    4. Click the green tick icon to confirm.

      Click the green tick icon to confirm.

    5. Repeat steps 2–4 to configure more tags.

      Bulk edit

      Use the "Bulk edit" button to apply the same settings to multiple tags at once.

      tags_bulk_edit.png

    6. Click "Deploy". OPC UA Connector activates the configuration with the selected tags.

      Click "Deploy". OPC UA Connector activates the configuration with the selected tags.

    OPC UA Connector displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    OPC UA Connector displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    Validating the outcome of connecting a PLC using OPC UA Connector

    Review the log messages for any errors.

    You have now connected Industrial Edge to your environment. Proceed to Creating an asset model.

    Connecting a PLC using Ethernet IP Connector

    In this tutorial, use Ethernet IP Connector to connect a PLC to your Industrial Edge environment.

    To connect Industrial Edge to your environment, you need three main components:

    • The Ethernet IP Connector to read data from your PLC and translate it to MQTT.
    • The Databus App to run on your IE Device, act as a central data broker, and store data configurations for your individual applications.
    • The IIH Essentials App to implement a digital representation of your machine and make the data accessible via a REST-API for further processing.

    Two additional apps are used during the process for your convenience:

    • The Databus Configurator App in the IEM instance.
    • The Common Configurator App which provides a UI for IIH Essentials and to add data sources to Ethernet IP Connector.

    The figure below highlights the roles of the different applications and components.

    The figure below highlights the roles of the different applications and components.

    Prerequisites for connecting a PLC using Ethernet IP Connector

    Software requirements

    NOTE

    For Allen-Bradley PLCs by Rockwell, the communication path can be read from the config screen of the Rockwell Engineering Tool Studio 5000. For information about how to set the communication path for other PLCs, refer to the Ethernet IP Connector Documentation.

    Hardware requirements

    • A PLC device, which supports data transfer via the Ethernet IP protocol, such as:
      • Allen-Bradley ControlLogix
      • Allen-Bradley CompactLogix
      • Allen-Bradley MicroLogics
      • Allen-Bradley SLC
      • Omron CJ1 Series PLCs
      • Omron CJ2 Series PLCs
      • Omron CS1 Series PLCs
    • RJ45 Ethernet cable (When using VMware and a virtual IE Device)

    Configuring the network interfaces for IE Devices to connect to Ethernet IP Connector

    The network interfaces for physical IE Devices were configured as part of the onboarding process. Additional steps are required to allow connections between the PLC and a virtual IE Device.

    If you are using a physical IE Device, proceed to Adding your PLC as an Ethernet IP data source.

    To configure a virtual IE Device, follow the conditional steps based on the hypervisor.

    Conditional steps

    Create a virtual adapter in Hyper-V. Bridge the virtual adapter to the physical adapter on your machine to establish communication between the PLC and the virtual IE Device.

    Next, apply the virtual adapter to your virtual IE Device.

    Creating and mapping a virtual network adapter

    1. Open Hyper-V. The library contains a virtual machine for your virtual IE Device.

      Open Hyper-V.

    2. In the right sidebar, click "Virtual Switch Manager”. The Virtual Switch Manager window opens.

      Virtual switch manager

    3. In the left sidebar, select "New Virtual Network Switch”.

    4. Choose Type: "External".
    5. Click "Create Virtual Switch".
    6. Click "OK".

      Create External Virtual Switch

    7. Choose a name for your virtual switch.

    8. Select "External Network". A dropdown menu appears.
    9. Select the network adapter you want to use.
    10. Check the box for "Allow management operating system to share this network adapter".
    11. Click "Apply".
    12. Click "OK".

      Configure virtual switch

    13. Read the warning message as shown in the figure below. Click "Yes".

      Warning message

    Applying the virtual network adapter to the virtual machine

    1. Select the VM named "IndustrialEdgeVirtualDevice".
    2. In the right sidebar, click "Settings". A dropdown menu appears.

      configure_network_interface_hyper-v_select_vm.png

    3. Select the newly created switch.

    4. Click "Apply."
    5. Click "OK".

      Apply newly created switch

    Hyper-V displays the virtual network adapters when successfully connected.

    Hyper-V displays the virtual network adapters when successfully connected.

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and Ethernet IP Connector.

    Using an Ethernet cable, bridge the physical network adaptor directly to the virtual machine with VMware.

    1. Connect the PLC to your laptop using an RJ45 Ethernet cable.
    2. Open VMware Workstation.
    3. In the Virtual Machine window, click the Player button in the top left corner.
    4. Navigate to "Manage > Virtual Machine Settings". The Virtual Machine Settings menu opens.

      Navigate to "Manage" > "Virtual Machine Settings". The Virtual Machine Settings menu opens.

    5. Select "Network Adapter 2".

    6. Change the network connection setting from "NAT" to "Bridged".
    7. Check the box for "Replicate physical network connection state".

      Change the network connection setting from "NAT" to "Bridged". Check the box for "Replicate physical network connection state".

    8. Click "Configure Adapters". A popup for "Automatic Bridging Settings" appears.

    9. Check the box for "Intel® Ethernet Connection (10) 12L9-LM". Uncheck all other options.
    10. Click "OK" to confirm changes.

      NOTICE

      The virtual machine's default network adapter is Network Address Translation (NAT), which does not allow external devices to communicate with Industrial Edge Management. Change the adapter type to "Bridged" to allow external devices to communicate with Industrial Edge Management.

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and Ethernet IP Connector.

    Setting up the network connection for the virtual IE Device and Ethernet IP Connector

    1. Open the web browser on your local computer.
    2. Enter the IP address of the IE Device with the HTTPS protocol, i.e. https://<ip address>. The screen displays the IE Device UI login screen.
    3. Log in to the Device UI.
    4. Click "Settings" from the left navigation pane. The "Settings" page opens.
    5. Click "Connectivity".
    6. Click "LAN Network".

      Click "LAN Network".

    7. Click the pencil icon next to the network adapter "ens32" to modify its network settings.

      Click on the pencil icon next to the network adapter "ens32" to modify its network settings.

    8. Uncheck the "DHCP" checkbox.

    9. Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      For a PLC with the IP address 192.168.236.127, enter the following values to ensure connectivity between the virtual IE Device and the PLC:

      • IPv4 (Static IP for the Industrial Edge Virtual Device): 192.168.236.129
      • Netmask: 255.255.255.0
      • Gateway: 192.168.236.1 (if applicable)
    10. Click "Update" to save changes.

    Adding your PLC as an Ethernet IP data source

    Use the Common Configurator App to configure an Ethernet IP Connector data source and set up the Ethernet IP communication channel to the PLCs for data acquisition.

    To add a data source to the Ethernet IP Connector:

    1. In the device UI, click "Apps" from the left navigation pane. The "Apps" page opens.
    2. Click the "Common Configurator" tile. The "Common Configurator" UI opens.

      Click the "Common Configurator" tile. The "Common Configurator" UI opens.

    3. Click "Get Data" from the left navigation pane. A list of configuration apps appears.

    4. Click "Connector Configuration". The "Get Data" page opens.
    5. Under "Installed Connectors", select "Ethernet IP Connector".

      Under "Installed Connectors", select "Ethernet IP Connector".

    6. Click "Add". The "Add Data Source" page opens.

      Click "Add". The "Add Data Source" page opens.

      NOTE

      The Ethernet IP Connector is the interface between the PLC and the IE Device. It must be configured with information about the IP address and other data of your PLC. Once configured, the Ethernet IP Connector can browse the data points of the PLC.

    7. Define the following information:

      • Communication Protocol: Ethernet IP
      • Communication Protocol: Select "Add manually"
      • Name: Can be freely chosen
      • CPU type: Select the type of PLC you are connecting with
      • IPv4 address: Enter the IP address of the PLC
      • Communication path: Enter the communication path of your PLC.

      Define the following information about the data source.

      More information

      More information about the settings is available in the Ethernet IP Connector documentation.

    8. Click "Save". Ethernet IP Connector activates the configuration.

    9. Click the "Log Messages" tab. The Ethernet IP Connector logs open.
    10. Check the logs for the following messages to ensure the connection is properly established:

      • The [Name of Configuration] connection is up. Device is in running state.
      • Connector is running, connections to underlying device(s) are established. Everything is fine.

      Check the logs for the following messages to ensure the connection is properly established.

    Configuring the Ethernet IP Connector data source tags

    Tags are data points that you wish to fetch from the IE Device. Once the Ethernet IP Connector data source is created, add and configure the IE Device tags to complete the Ethernet IP Connector configuration process.

    Adding a tag for Ethernet IP Connector

    1. In the Ethernet IP Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click "Browse tags".

      Click "Browse tags".

    3. Click "Start browse". The Ethernet IP Connector lists all available tags.

      Click "Start browse". The Ethernet IP Connector lists all available tags.

    4. Click the checkboxes for the tags you wish to import from the IE Device via the Ethernet IP Connector.

    5. Click "Add to Data Source". Ethernet IP Connector adds the tags.

      Click the checkboxes for the tags you wish to import from the IE Device via the Ethernet IP Connector. Click "Add to Data Source".

    6. To return to the "Tags" tab, click "Back".

    Configuring a tag for Ethernet IP Connector

    1. In the Ethernet IP Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click on the pencil icon in the column "Actions" of a tag. The tag becomes editable.

      Click on the pencil icon in the column "Actions" of a tag.

    3. Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

      Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

    4. Check the "Publish on the Databus" checkbox.

    5. Click the green tick icon to confirm.

      Click the green tick icon to confirm.

    6. Repeat steps 2–5 to configure more tags.

      Bulk edit

      Use the "Bulk edit" button to apply the same settings to multiple tags at once.

      Bulk edit

    7. Click "Deploy". Ethernet IP Connector activates the configuration with the selected tags.

      Click "Deploy". Ethernet IP Connector activates the configuration with the selected tags.

    Ethernet IP Connector displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    Ethernet IP Connector displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    Validating the outcome of connecting a PLC using Ethernet IP Connector

    Review the log messages for any errors.

    You have now connected Industrial Edge to your environment. Proceed to Creating an asset model.

    Connecting a PLC using S7 Connector

    In this tutorial, use S7 Connector to connect a PLC to your Industrial Edge environment.

    To connect Industrial Edge to your environment, you need three main components:

    • The SIMATIC S7 Connector to read data from your PLC and translate it to MQTT.
    • The Databus App to run on your IE Device and act as a central data broker and stores data configurations for your individual applications.
    • The IIH Essentials App to implement a digital representation of your machine and make the data accessible via a REST-API for further processing.

    Two additional apps are used during the process for your convenience:

    • The Databus Configurator App in the IEM instance.
    • The Common Configurator App which provides a UI for IIH Essentials and to add data sources to S7 Connector.

    The figure below highlights the roles of the different applications and components.

    The figure below highlights the roles of the different applications and components.

    Prerequisites for connecting a PLC using S7 Connector

    Software requirements

    Hardware requirements

    • A device which supports data transfer via the S7 protocol, such as:
      • SIMATIC S7-300
      • SIMATIC S7-400
      • SIMATIC S7-1200
      • SIMATIC S7-1500

    Here we are showcasing the S7 Optimized protocol, which only is supported by S7-1200 and S7-1500.

    Configuring the network interfaces for IE Devices to connect to S7 Connector

    The network interfaces for physical IE Devices were configured as part of the onboarding process. Additional steps are required to allow connections between the PLC and a virtual IE Device.

    If you are using a physical IE Device, proceed to Adding your PLC as an S7 data source.

    To configure a virtual IE Device, follow the conditional steps based on the hypervisor.

    Conditional steps

    Create a virtual adapter in Hyper-V. Bridge the virtual adapter to the physical adapter on your machine to establish communication between the PLC and the virtual IE Device.

    Next, apply the virtual adapter to your virtual IE Device.

    Creating and mapping a virtual network adapter

    1. Open Hyper-V. The library contains a virtual machine for your IEvD.

      Open Hyper-V.

    2. In the right sidebar, click "Virtual Switch Manager”. The Virtual Switch Manager window opens.

      Virtual switch manager

    3. In the left sidebar, select "New Virtual Network Switch”.

    4. Choose Type: "External".
    5. Click "Create Virtual Switch".
    6. Click "OK".

      Create External Virtual Switch

    7. Choose a name for your virtual switch.

    8. Select "External network". A dropdown menu appears.
    9. Select the network adapter you want to use.
    10. Check the box for "Allow management operating system to share this network adapter".
    11. Click "Apply".
    12. Click "OK".

      Configure virtual switch

    13. Read the warning message as shown in the figure below. Click "Yes".

      Warning message

    Applying the virtual network adapter to the virtual machine

    1. Select the VM named "IndustrialEdgeVirtualDevice".
    2. In the right sidebar, click "Settings". A dropdown menu appears.

      configure_network_interface_hyper-v_select_vm.png

    3. Select the newly created switch.

    4. Click "Apply."
    5. Click "OK".

      Apply newly created switch

    Hyper-V displays the virtual network adapters when successfully connected.

    Hyper-V displays the virtual network adapters when successfully connected.

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and S7 Connector.

    Using an Ethernet cable, bridge the physical network adaptor directly to the virtual machine with VMware.

    1. Connect the PLC to your laptop using an RJ45 Ethernet cable.
    2. Open VMware Workstation.
    3. In the Virtual Machine window, click the Player button in the top left corner.
    4. Navigate to "Manage > Virtual Machine Settings". The Virtual Machine Settings menu opens.

      Navigate to "Manage" > "Virtual Machine Settings". The Virtual Machine Settings menu opens.

    5. Select "Network Adapter 2".

    6. Change the network connection setting from "NAT" to "Bridged".
    7. Check the box for "Replicate physical network connection state".

      Change the network connection setting from "NAT" to "Bridged". Check the box for "Replicate physical network connection state".

    8. Click "Configure Adapters". A popup for "Automatic Bridging Settings" appears.

    9. Check the box for "Intel® Ethernet Connection (10) 12L9-LM". Uncheck all other options.
    10. Click "OK" to confirm changes.

      NOTICE

      The virtual machine's default network adapter is Network Address Translation (NAT), which does not allow external devices to communicate with Industrial Edge Management. Change the adapter type to "Bridged" to allow external devices to communicate with Industrial Edge Management.

    What's next?

    Proceed to Setting up the network connection for the virtual IE Device and S7 Connector.

    Setting up the network connection for the virtual IE Device and S7 Connector

    1. Open the web browser on your local computer.
    2. Enter the IP address of the IE Device with the HTTPS protocol, i.e. https://<ip address>. The screen displays the IE Device UI login screen.
    3. Log in to the Device UI.
    4. Click "Settings" from the left navigation pane. The "Settings" page opens.
    5. Click "Connectivity".
    6. Click "LAN Network".

      Click "LAN Network".

    7. Click on the pencil icon next to the network adapter "ens32" to modify its network settings.

      Click on the pencil icon next to the network adapter "ens32" to modify its network settings.

    8. Uncheck the "DHCP" checkbox.

    9. Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      Enter a static IP address and netmask for the interface. The static IP address should be in the same subnet as the PLC.

      For a PLC with the IP address 192.168.236.127, enter the following values to ensure connectivity between the virtual IE Device and the PLC:

      • IPv4 (Static IP for the virtual IE Device): 192.168.236.129
      • Netmask: 255.255.255.0
      • Gateway: 192.168.236.1 (if applicable)
    10. Click "Update" to save changes.

    Adding your PLC as an S7 data source

    Use the Common Configurator App to configure an Ethernet IP Connector data source and set up the Ethernet IP communication channel to the PLCs for data acquisition.

    To add a data source to the Ethernet IP Connector:

    1. In the device UI, click "Apps" from the left navigation pane. The "Apps" page opens.
    2. Click the "Common Configurator" tile. The "Common Configurator" UI opens.

      Click the "Common Configurator" tile. The "Common Configurator" UI opens.

    3. Click "Get Data" from the left navigation pane. A list of configuration apps appears.

    4. Click "Connector Configuration". The "Get Data" page opens.
    5. Under "Installed Connectors", select "S7 Connector".

      Under "Installed Connectors", select "S7 Connector".

    6. Click "Add". The "Add Data Source" page opens.

      Click "Add". The "Add Data Source" page opens.

      NOTE

      The S7 connector is the interface between the PLC and the IE Device. It must be configured with information about the IP address and other data of your PLC. Once configured, the S7 connector is able to browse the data points of the PLC.

    7. Select the protocol "Optimized S7-Protocol".

      Select the protocol "Optimized S7-Protocol".

    8. Define the following information:

      • Communication Protocol: Optimized S7-Protocol
      • Communication Protocol: Select "Add manually"
      • Name: Can be freely chosen
      • PLC-Type: Choose the hardware you are using
      • IPv4 address: Enter the IP address of the PLC
      • Password: If required, enter the corresponding password for connecting to the PLC.
      • Certificate files: If required, add the corresponding certificate files.

      Define the following information about the data source.

      More information

      More information about the settings is available in the S7 Connector documentation.

    9. Click "Save" to activate the configuration.

    10. Click the "Log Messages" tab. The S7 Connector logs open.
    11. Check the logs for the following messages to ensure the connection is properly established:

      • The [Name of Configuration] connection is up. Device is in running state.
      • Connector is running, connections to underlying device(s) are established. Everything is fine.

      Go to the "Log Messages" tab to check if the connection is established.

    Configuring the S7 Connector data source tags

    Tags are data points that you wish to fetch from the IE Device. Once the S7 Connector data source is created, add and configure the IE Device tags to complete the S7 Connector configuration process.

    Adding a tag to S7 Connector

    1. In the Ethernet IP Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click "Browse tags".

      Click "Browse tags".

    3. Click "Start browse". The S7 Connector lists all available tags.

      Click "Start browse". The S7 Connector lists all available tags.

    4. Click the checkboxes for the tags you wish to import from the IE Device via the S7 Connector.

    5. Click "Add to Data Source".

      Click "Add to Data Source".

    6. To return to the "Tags" tab, click "Back".

    Configuring a tag for S7 Connector

    1. In the S7 Connector page of the Device UI, click the "Tags" tab. The "Tags" page opens.
    2. Click on the pencil icon in the column "Actions" of a tag. The tag becomes editable.

      Click on the pencil icon in the column "Actions" of a tag.

    3. Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

      Under "Acquisition cycle", select your preferred acquisition cycle. Siemens recommends using an acquisition cycle of 1 second.

    4. Check the "Publish on the Databus" checkbox.

    5. Click the green tick icon to confirm.

      Click the green tick icon to confirm.

    6. Repeat steps 2–5 to configure more tags.

      Bulk edit

      Use the "Bulk edit" button to apply the same settings to multiple tags at once.

      Bulk edit

    7. Click "Deploy". S7 Connector activates the configuration with the selected tags.

      Click "Deploy".

    S7 displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    S7 IP Connector displays the pop-up box "Deployment was successful" to indicate the tags were successfully configured.

    Validating the outcome of connecting a PLC using S7 Connector

    Review the log messages for any errors.

    You have now connected Industrial Edge to your environment. Proceed to Creating an asset model.

    Creating an asset model

    Tags are data points that are fetched from the IE Device. Connector apps configure and deploy tags. Before tags can be used by other IE Apps, first collect and store tags in an IIH Essentials asset model.

    Industrial Edge uses assets as the main modeling objects to recreate your system structure and to add corresponding attributes. Assets can describe a base class (e.g. Device, MotionDevice, Robot) or a specific asset type for a product line or product model (e.g. Simatic1500SeriesController). Asset models describes an asset independent of the use case.

    Asset in IIH Essentials.

    Attributes are the data members of assets and aspects. IIH Essentials lists the attributes of an asset or aspect in the "Attributes" tab. Attributes can be created specifically for an instance or can be inherited from the asset type or aspect type.

    Attributes in IIH Essentials.

    To use asset models, create the asset model in IIH Essentials and define the tags for the asset.

    Defining the asset

    1. Open the web browser on your local computer.
    2. Enter the IP address of the IE Device with the HTTPS protocol, i.e. https://<ip address>. The screen displays the IE Device UI login screen.
    3. Log in to the Device UI.
    4. Click the "IIH Essentials" tile. The "IIH Essentials" UI opens.

      Click the "IIH Essentials" tile. The "IIH Essentials" UI opens.

    5. Click "Connectors" from the left navigation pane. A list of connectors appears.

      Click "Connectors".

    6. Select your connector from the list. Ensure the connector is "Active" and "Connected".

    7. Click "Manage data" from the left navigation pane. The "Manage data" page opens.

      Click "Manage data".

    8. Click the "+" icon next to the listed IE Device you wish to create a new asset from.

      Click the "+" icon next to the listed IE Device you wish to create a new asset from.

    9. Provide the asset with a name and display name.

    10. Select anchor.asset-base as the asset type.
    11. Click "Save changes". IIH Essentials creates the asset.

    Defining the required tags for the asset

    Once the asset is created, define the tags for the asset.

    1. Select the asset from the tree.
    2. Click "Add attribute". The "Add attribute" page opens.

      Click "Add attribute".

    3. Under "Source type", select Connector. IIH Essentials lists the available connectors.

      Under "Source type", select Connector.

    4. Under "Connector", select your connector and the corresponding connection. IIH Essentials lists the connector's tags at the bottom of the panel.

      Under "Connector", select your connector and the corresponding connection.

    5. Select the tags from the list that you wish to collect and store in IIH Essentials.

      Select the tags from the list.

    6. Click "Confirm". IIH Essentials adds the information from the tag to the "Add attribute" view.

    7. If required, change the "Name" and "Display name" of the tag.

      If required, change the "Name" and "Display name" of the tag.

    8. Click "Add". IIH Essentials adds the tag to the asset.

    9. Repeat steps 2–8 to add more tags.

    IIH Essentials lists the added tags and their values on the IE Device's "Attributes" page.

    IIH Essentials lists the added tags and their values on the IE Device's "Attributes" page.

    What's next?

    You have successfully set up Industrial Edge, connected it to your environment, and prepared the asset model so that you can start implementing your use cases.