Project

General

Profile

Actions

Demo

The demo simulate a tank with a bunch of methods and variables.
There is a Tank01 instance (UAObject) of TankType (UAObjectType). You can play with method StartPump, StopPump, Drain, GetCurrentLevel, etc.
The server is listening on port 2407.

On Linux

  1. Download server binaries from the OpenOpcUa website. Download:SimulationTank_2023_Linux
  2. Extract SimulationTank_2023_Linux.tar.gz into a local folder
  3. Start a shell
  4. Move to the folder where you extracted files
  5. Run the following command : sh StartOpenOpcUaCoreServer.sh Note : OpenOpcUaCoreServer depends on 3 dynamic libraries that the server need to retrieve in its path.
  6. Now you can connect with your prefered UA client using the following URL :
    opc.tcp://localhost:2407/OpenOpcUaCoreServer

  7. Enjoy it !!!

On Windows

  1. Download and install the Local Discovery Server (LDS) OPC Foundation LDS – Need to be registred The LDS is optional.
  2. Download server binaries from the OpenOpcUa website. Download:Simulation_2023_Release
  3. Extract Simulation_2023_Release-IPV4__x64.zip in a local folder
  4. Start a command line (CMD) in the folder where you extracted the demo.
  5. Type the command : StartServer.bat and hit Enter
  6. Now you can connect with your UA client using the following URL :
    opc.tcp://localhost:2407/OpenOpcUaCoreServer

  7. Enjoy it !!!

Configuration file are the same on Windows and Linux
One of the OpenOpcUa benefit is that you can switch from Windows to Linux or from Linux to Windows with no effort.

An Other Windows Demo.
I very basic one made of a bunch of simulated and static nodes
SimulationBasic_2023_Release-IPV4__x64 Download

Updated by Michel Condemine Admin about 1 year ago · 6 revisions