Tulip.co OPC UA Simulator Quickstart

I wanted a quick way to get some test tag data into Tulip

This is what I did

Fire up a AWS free tier windows 2019 box

On your VM go here and download the opc-ua simulator https://downloads.prosysopc.com/opc-ua-simulation-server-downloads.php

Run it, put it in expert mode

Click Endpoints, change the port to 4334 clear out the server name uncheck sign and sign&encrypt and uncheck UA HTTPS

Now close and open the simulator so that the settings apply.

Change the firewall inbound rules on the windows box to allow traffic through port 4334

Also, allow port 4334 on your AWS security group

Ok, Open up Tulip – > Shop Floor -> Machines

Then do the drop down -> Machine Data Sources -> Add Data Source

Give it a name and then hit save.

Copy the address from the simulator

Go back to tulip and hit the three dots to edit the data source

Give it a name, change it to Cloud Connector Host

Paste in the opc.tcp value BUT now go over to your EC2 instances on AWS and grab the public IP address and use that for the address (between // and : )

Ok, next you need to add a machine in the machine library

So do the drop down machine library -> Create Machine (top right)

Give it a name, choose Data source you created, then select the Machine Node (in our case Simulation)

Click Select and then Next

Now you are assigning tags to ‘machine attributes’

Click Select Attribute – Then you can type a name, then click ‘Add integer attribute named….’

You can also create Machine attributes beforehand by clicking into

Click the trashcan on the other OPC fields, we don’t need them for now.

If everything is working you can go to Machine Monitoring

And you should have a green snakey thing like this

2 comments

  1. Hi Michael,
    great article!

    I also use the Prosys Sim in my lab environment.

    You can use PRTG now for creating dashboards, as we recently introduced our OPC UA Sensors for PRTG.
    The OPC UA custom sensor is able to read out 5 values from any OPC UA node ID.
    Just browse with the Prosys Browser and copy&paste the namespace id into the PRTG sensor.

    I also really like the idea with the Baluff device 😉

    Best,
    Christian

Leave a comment