digitalpetri / Modbus
Licence: apache-2.0
High-performance, non-blocking, zero-buffer-copying Modbus for Java
Stars: ✭ 327
Programming Languages
java
68154 projects - #9 most used programming language
Labels
Projects that are alternatives of or similar to Modbus
NModbus4.NetCore
Simply NModbus4 but targeting .NET instead of .NET Framework
Stars: ✭ 25 (-92.35%)
Mutual labels: modbus
modbus4mqtt
Modbus TCP <-> MQTT glue. YAML configuration. Robust.
Stars: ✭ 21 (-93.58%)
Mutual labels: modbus
Fuxa
Web-based Process Visualization (SCADA/HMI/Dashboard) software
Stars: ✭ 262 (-19.88%)
Mutual labels: modbus
IoT-Technical-Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,565 (+684.4%)
Mutual labels: modbus
modbusone
A modbus library for Go, with unified client and server APIs. One implementation to rule them all.
Stars: ✭ 50 (-84.71%)
Mutual labels: modbus
crc16
A native node addon to calcalate and verify CRC16 values, adopted by MODBUS agreement
Stars: ✭ 24 (-92.66%)
Mutual labels: modbus
Libplctag
This C library provides a portable and simple API for accessing Allen-Bradley and Modbus PLC data over Ethernet.
Stars: ✭ 314 (-3.98%)
Mutual labels: modbus
STM32 HAL FREEMODBUS RTU
FreeMODBUS RTU port for STM32 HAL library
Stars: ✭ 111 (-66.06%)
Mutual labels: modbus
Home Assistant EDP Box
Integração das EDP Box com Home Assistant Core
Stars: ✭ 91 (-72.17%)
Mutual labels: modbus
iot-master
物联大师是开源免费的物联网智能网关系统,集成了标准Modbus和主流PLC等多种协议,支持数据采集、公式计算、定时控制、自动控制、异常报警、流量监控、Web组态、远程调试等功能,适用于大部分物联网和工业互联网应用场景。
Stars: ✭ 119 (-63.61%)
Mutual labels: modbus
growatt-esp8266
Growatt Inverter monitoring via MQTT using ESP8266 modbus interface
Stars: ✭ 34 (-89.6%)
Mutual labels: modbus
Node Modbus
Modbus TCP Client/Server implementation for Node.JS
Stars: ✭ 313 (-4.28%)
Mutual labels: modbus
go-modbus
modbus write in pure go, support rtu,ascii,tcp master library,also support tcp slave.(WIP new implement<old: https://github.com/thinkgos/gomodbus >)
Stars: ✭ 124 (-62.08%)
Mutual labels: modbus
Process-Simulator-2-OpenSource
Open source code of Process Simulator 2
Stars: ✭ 20 (-93.88%)
Mutual labels: modbus
Iotclient
这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
Stars: ✭ 311 (-4.89%)
Mutual labels: modbus
High-performance, non-blocking, zero-buffer-copying Modbus for Java.
Quick Start
ModbusTcpMasterConfig config = new ModbusTcpMasterConfig.Builder("localhost").build();
ModbusTcpMaster master = new ModbusTcpMaster(config);
master.connect();
CompletableFuture<ReadHoldingRegistersResponse> future =
master.sendRequest(new ReadHoldingRegistersRequest(0, 10), 0);
future.thenAccept(response -> {
System.out.println("Response: " + ByteBufUtil.hexDump(response.getRegisters()));
ReferenceCountUtil.release(response);
});
See the examples project for more.
Maven
Modbus Master
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-master-tcp</artifactId>
<version>1.2.0</version>
</dependency>
Modbus Slave
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-slave-tcp</artifactId>
<version>1.2.0</version>
</dependency>
Supported Function Codes
Code | Function |
---|---|
0x01 | Read Coils |
0x02 | Read Discrete Inputs |
0x03 | Read Holding Registers |
0x04 | Read Input Registers |
0x05 | Write Single Coil |
0x06 | Write Single Register |
0x0F | Write Multiple Coils |
0x10 | Write Multiple Registers |
0x16 | Mask Write Register |
0x17 | Read/Write Multiple Registers |
Get Help
See the examples project or contact [email protected] for more information.
License
Apache License, Version 2.0
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].