Skip to content

This is a simple OPC UA server, client, publisher and subscriber network example using C#/.NETv8 and the OPC Foundation SDK. It also contains a custom OPC UA model, written in XML and compiled with the UA-ModelCompiler.

Notifications You must be signed in to change notification settings

tonik173/opcua-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

OPC UA example

This is a simple OPC UA server, client, publisher and subscriber network example using C#/.NETv8 and the OPC Foundation SDK. It also contains a custom OPC UA model, written in XML and compiled with the UA-ModelCompiler.

simulation

How to run the example

  1. Open OpcUaDemo.sln with Visual Studio 2022
  2. Set SimulationHost as startup application
  3. Get the connection details to your MQTT broker
  4. Modify the MqttCommon/Config.cs (broker host/port)
  5. Run the example

Additional tools

To get some insights of the OPC UA server, use a OPC UA browser like Prosys OPC UA Browser (there are many others).

OPC UA browser

To watch the mqtt stream, use a Mqtt client, such as MQTT.fx.

MQTT client

Links

About

This is a simple OPC UA server, client, publisher and subscriber network example using C#/.NETv8 and the OPC Foundation SDK. It also contains a custom OPC UA model, written in XML and compiled with the UA-ModelCompiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published