Project

General

Profile

Demo » History » Version 2

Michel Condemine Admin, 02/24/2023 03:47 PM

1 1 Michel Condemine Admin
# Demo
2
The demo simulate a tank with a bunch of methods and variables.
3
There is a Tank01 instance (UAObject) of TankType (UAObjectType). You can play with method StartPump, StopPump, Drain, GetCurrentLevel, etc.
4
The server is listening on port 2407.
5
## On Linux
6
1. Download server binaries from the OpenOpcUa website. 
7
[Télécharger:SimulationTank_2023_Linux](http://www.openopcua.org/redmine/attachments/download/3835/SimulationTank_2023_Linux.tar.gz)
8
2. Extract  **SimulationTank_2023_Linux.tar.gz** into a local folder
9
3. Start a shell 
10
4. Move to the folder where you extracted files
11
5. Run the following command : sh StartOpenOpcUaCoreServer.sh
12
Note : OpenOpcUaCoreServer depends on 3 dynamic libraries that the server need to retrieve in its path.
13
6.  Now you can connect with your prefered UA client using the following URL :
14 2 Michel Condemine Admin
opc.tcp://localhost:2407/OpenOpcUaCoreServer
15 1 Michel Condemine Admin
16
7.  Enjoy it !!!