Mastering Forge #19: Connecting to S7Comm Devices

Welcome to the 19th tutorial on our series Mastering Forge.

In the previous article, Mastering Forge #18,  we discovered how to access data from OPC UA Events and map it to Forge’s Address Space.

In this article, we’ll dive into the S7 Connector, which native protocol integrates data from Siemens S7 PLCs into Prosys OPC UA Forge. This allows you to expose S7 data as OPC UA nodes, enabling interoperability and standardization across your system architecture. Further, Forge’s other features such as data logging, events and cloud connectivity are possible.

During this tutorial, we’ll be using the following products:

Connect to S7Comm Device

Make sure your S7 device is powered on and reachable over the network.

1. From the Dashboard, start the S7COMM Module.

Starting S7Comm Module from the dashboard

2. Navigate to Data Sources > S7Comm Devices, click + Add Device

Navigate to Data Sources > S7Comm Devices, click + Add Device.

3. Fill in the connection parameters:

  • Name: Enter a descriptive name for the S7Comm configuration.
  • Controller Type: Select the specific model of your S7 device, or choose Auto if you’re unsure.
  • Address: Enter the IP address of the S7 device. 
  • Port: Use the default S7 port 102, unless your device is configured differently.
  • Click Add to save configuration.
Screenshot of S7COMM device setup with fields for name, controller type, IP address, and port. Contains an example of used devices.

4. Click the list icon and then + sign.

Screenshot showing the "Forge Lab S7 Device" configuration. Two magenta arrows highlight the list icon and the plus (+) button to add new tags.

5. Assign a name to the variable, define the memory address to read the measurement from, and select the appropriate PLC data type.

NOTE: Dot notation creates folder.

Configuring the address to receive data from the device.

6. To check the configuration, open Prosys OPC UA Browser and read/monitor the created variables. The correct path is: Objects > Data Sources > S7Comm Devices > Forge Lab S7 Device > Measurements > Speed.

Showing the new variables from S7 device with Prosys OPC UA Browser.

Next Steps

This wraps up the 19th article of the Mastering Forge series. Here’s a quick recap of what we did:

  1. Created connection configuration to S7comm device.
  2. Fetched data from the S7comm device to Forge.
  3. Checked the configuration using Browser.

The next article will be the last Mastering Forge tutorial. We will continue developing  tutorials for Forge but this series will end after the next post. In the last episode, Master of Forge, we will browse through a log file, explore configuration files and give you instructions to reset your Forge to defaults.

If you want to learn more about Forge and its capabilities, you can request a detailed introduction by emailing sales@prosysopc.com or using our contact form. We’d be delighted to provide tailored information about Forge that aligns with your interests and requirements.

A headshot of Iivo Yrjölä

Iivo Yrjölä

Customer Integration & Support, Prosys OPC

Email: iivo.yrjola@prosysopc.com

Related Posts

Valio – Connecting Dairy Plant Automation with IT Using Prosys OPC UA Forge

At Valio, product quality and traceability requirements are at a very high level, highlighting the importance of smooth and reliable communication between different production systems. To meet these requirements, Prosys OPC developed the OPC UA standard based software Valio uses for integrating all their automation and manufacturing execution systems.

Read More »

Master’s Thesis Recap: OPC UA Role-Based Access Control in Industrial Automation

This master’s thesis recap examines how OPC UA Role-Based Access Control (RBAC) can be implemented in industrial automation. It compares directory integration with local role mappings, outlines their benefits and challenges, and presents findings from a simulated case study. The results highlight practical considerations for strengthening OT network security with OPC UA.

Read More »

i-GuSystem – From MTConnect to OPC UA: Future-Proof CNC Data Collection with Forge

i-GuSystem Ltd., a Finnish specialist in CNC program transfer and production data acquisition, adopted Prosys OPC UA Forge to extend its data integration from MTConnect into the OPC UA era, ensuring future-proof and scalable solutions. To meet the growing demand for OPC UA, i-GuSystem integrated Prosys OPC UA Forge as a future-proof layer. Forge enables direct OPC UA connectivity with output in XML, ensuring full compatibility with iguXMLsync and downstream systems like VisualFactory, MES, Azure cloud, and Power BI.
The first Forge deployment was completed in just two hours, delivering reliable results and proving the scalability of i-GuSystem’s solutions. By adopting Forge, i-GuSystem has seamlessly extended its CNC data expertise into the OPC UA era, future-proofing its architecture while continuing to provide rapid, hands-on results for its customers.

Read More »

Interested in this topic?

Get updated about new posts through our newsletter!