SkillAgentSearch skills...

OPCModbusUAServer

An open source OPC UA server for Modbus TCP devices

Install / Use

/learn @minaandrawos/OPCModbusUAServer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OPCModbusUAServer

An OPC server

An open source OPC UA server for Modbus TCP devices. The project makes use of the powerful open source NodeOPCUA (http://node-opcua.github.io/) package, combined with the jsmodbus (https://github.com/Cloud-Automation/node-modbus) package to build the OPC server.

If you are not familiar with OPC, it's worth reading this: http://www.minaandrawos.com/2016/12/18/thoughts_industrial_opc/, if not familiar with Modbus, then this would be another good read: http://www.minaandrawos.com/2014/11/26/how-to-write-a-modbus-driver/#WhatIsModbus


Main files in the project:

  • server.js => The entry point for the application, creates the OPC UA server, initializes the address space, and links to Modbus actions
  • modbushandler.js => Contains the Modbus communication code needed to provide Modbus actions like reads and writes for the OPC server
  • config.json => Configuration file for the application, this is how we get to know the TCP addresses of the Modbus devices, the registers we'd like to read...etc
View on GitHub
GitHub Stars63
CategoryDevelopment
Updated21d ago
Forks29

Languages

JavaScript

Security Score

100/100

Audited on Mar 9, 2026

No findings