Skip to content

ASNeG/OpcUaModbusServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpcUaModbusServer

OpcUaModbusServer is an OPC UA application based on ASNeG OPC UA Stack.

Requirements

  • ANSeG OPC UA Stack >= 4.0.0
  • CMake
  • C++ compiler with C++11 support

Installing

Before install OpcUaModbusServer you must install ASNeG OPC UA Stack. See this tutorial for more information. Then type the following command:

On Linux

$ sh build.sh -t local -i ~/.ASNeG

On Windows

$ build.bat -t local -i C:\\ASNeG

Usage

Having installed OpcUaModbusServer locally, you can run it by using the following command:

On Linux

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/.ASNeG/usr/lib
$ OpcUaServer4 ~/.ASNeG/etc/OpcUaStack/OpcUaModbusServer/OpcUaServer.xml

On Windows

$ set PATH=%PATH%;C:\ASNeG\lib
$ OpcUaServer4 CONSOLE C:\ASNeG\etc\OpcUaStack\OpcUaModbusServer\OpcUaServer.xml

Also you can use Docker without installing any dependencies:

$ docker build -t OpcUaModbusServer:latest .
$ docker run -d -p 8897:8897 OpcUaModbusServer:latest

Documentaion

OpcUaModbusServer uses Sphinx to generate its documentation and it is ready for hosting on RTD. You can build the documentation locally. For that you should install Sphinx on your machine with Pyhton and Doxygen .Then run the following command from the root directory of the project:

$ cd docs
$ pip install -r requirements.txt
$ make html

The generated HTML files you can find in build/html directory.

References

About

OPC UA Server to access modbus master and slaves

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages