Mastering Forge #18: Mapping OPC UA Event Data

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

In the previous article, Mastering Forge #17, we saw how to use Forge expressions to create advanced value mappings.

In this article, we’ll show you how to access data from OPC UA Events and map it to Forge’s Address Space. Using the Event Mapper, you can turn OPC UA Event data into nodes, making it available for further configuration.

If you prefer your tutorials in video format instead, you can watch our tutorial on Forge’s Event Mapper on our YouTube channel.

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

Create Event Mapper

Make sure you are connected to the UADemo server or any OPC UA server that provides OPC UA Events.

1. From the Dashboard, start the Event Mapper Module.

Start Event Mapper module from the dashboard view.

2. Navigate to Event Mapper, click + Add Mapper

3. Enter a descriptive name for the mapper and click Add.

4. Add a new item to the mapper: click the list icon, then click the + sign.

5. Select a node that contains the event. In this example, select MyDevice from Simulation Server.

MyDevice is selected from Simulation Server.

6. Choose the destination where the event fields will be created. In this example, select the DeviceHealthAlarms folder inside the MyCoffee object.

DeviceHealthAlarms folder is selected.

7. Next, select the event fields you want to map. Click the + sign to open the dialog and choose the fields you need.

Pink arrow is pointing to the plus sign to open dialog where you can select event fields.

8. Click Add to complete the setup. You can now test the configuration with Prosys OPC UA Browser.

9. In Prosys OPC UA Browser, find the new nodes under the destination you selected in step 6. You will see the mapped values in the property nodes, and you can monitor the events to watch the values change.

Event monitoring view of Prosys OPC UA Browser.

Next Steps

This wraps up the 18th article of the Mastering Forge series. Here’s a quick recap:

  1. We created an Event Mapper that maps data from the MyDevice object in the Simulation Server to Forge.
  2. We validated the mapping by finding the new nodes from the Address Space using Prosys OPC UA Browser.
 

In the next article, we’ll dive into the S7 Connector, which integrates data from Siemens S7 PLCs into OPC UA. This allows you to expose S7 data as OPC UA nodes, enabling interoperability and standardization across your system architecture.

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

Develop OPC UA Applications on Android with Prosys SDK

Develop OPC UA applications on Android with the Prosys OPC UA SDK for Java. This updated guide shows how to get started with Android SDK API 35, including a simple client example. Please note that testing on Android is limited, so full interoperability with all OPC UA systems cannot be guaranteed.

Read More »

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 »

Interested in this topic?

Get updated about new posts through our newsletter!