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

Interested in this topic?

Get updated about new posts through our newsletter!
Scroll to Top