All Projects → hirschenberger → modbus-rs

hirschenberger / modbus-rs

Licence: MIT license
Modbus implementation in pure Rust

Programming Languages

rust
11053 projects
c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to modbus-rs

tinnymodbus
RS485 ModBus tiny multi-sensor module
Stars: ✭ 75 (+33.93%)
Mutual labels:  modbus
modbus-esp8266
Most complete Modbus library for Arduino. A library that allows your Arduino board to communicate via Modbus protocol, acting as a master, slave or both. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). Supports Modbus TCP Security for ESP8266/ESP32.
Stars: ✭ 332 (+492.86%)
Mutual labels:  modbus
openmuc
OpenMUC is a software framework based on Java and OSGi that simplifies the development of customized monitoring, logging and controlling systems.
Stars: ✭ 12 (-78.57%)
Mutual labels:  modbus
ModbusScope
ModbusScope logs data for analysis using the Modbus protocol.
Stars: ✭ 29 (-48.21%)
Mutual labels:  modbus
Industrial-Security-Auditing-Framework
ISAF aims to be a framework that provides the necessary tools for the correct security audit of industrial environments. This repo is a mirror of https://gitlab.com/d0ubl3g/industrial-security-auditing-framework.
Stars: ✭ 43 (-23.21%)
Mutual labels:  modbus
mbmd
ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters
Stars: ✭ 140 (+150%)
Mutual labels:  modbus
Modbus.net
A high extensible hardware communication platform using C#
Stars: ✭ 244 (+335.71%)
Mutual labels:  modbus
NModbus4.NetCore
Simply NModbus4 but targeting .NET instead of .NET Framework
Stars: ✭ 25 (-55.36%)
Mutual labels:  modbus
modbus exporter
Exporter which retrieves stats from a modbus system and exports them via HTTP for Prometheus consumption.
Stars: ✭ 16 (-71.43%)
Mutual labels:  modbus
libzbxmodbus
Loadable module to integrate Modbus (RTU, TCP and encapsulated) into Zabbix. Bulk data collection included.
Stars: ✭ 44 (-21.43%)
Mutual labels:  modbus
modbus-cli
Command line tool to access Modbus devices
Stars: ✭ 81 (+44.64%)
Mutual labels:  modbus
openMIC
Meter Information Collection System
Stars: ✭ 15 (-73.21%)
Mutual labels:  modbus
node-drivers
Industrial protocol drivers in node.js
Stars: ✭ 20 (-64.29%)
Mutual labels:  modbus
EasyModbusTCP.Java
EasyModbusTCP library for Java implementation
Stars: ✭ 76 (+35.71%)
Mutual labels:  modbus
crc16
A native node addon to calcalate and verify CRC16 values, adopted by MODBUS agreement
Stars: ✭ 24 (-57.14%)
Mutual labels:  modbus
QUaModbusClient
Modbus to OPC UA Gateway
Stars: ✭ 38 (-32.14%)
Mutual labels:  modbus
huawei solar
Home Assistant integration for Huawei Solar inverters via Modbus
Stars: ✭ 126 (+125%)
Mutual labels:  modbus
growatt-esp8266
Growatt Inverter monitoring via MQTT using ESP8266 modbus interface
Stars: ✭ 34 (-39.29%)
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 (+121.43%)
Mutual labels:  modbus
ModbusMechanic
Cross platform GUI MODBUS TCP/RTU simulator & gateway. Interprets data types including ascii float and int.
Stars: ✭ 63 (+12.5%)
Mutual labels:  modbus

Rust Modbus

Build Status Coverage Status License

Modbus implementation in pure Rust.

Usage

Add modbus to your Cargo.toml dependencies:

[dependencies]
modbus = "1.0"

Import the modbus crate and use it's functions:

use modbus::{Client, Coil};
use modbus::tcp;

let mut client = tcp::Transport::new("192.168.0.10");

client.write_single_coil(1, Coil::On).unwrap();
client.write_single_coil(3, Coil::On).unwrap();

let res = client.read_coils(0, 5).unwrap();

// res ==  vec![Coil::Off, Coil::On, Coil::Off, Coil::On, Coil::Off];

See the documentation for usage examples and further reference and the examples directory for a commandline client application.

License

Copyright © 2015-2021 Falco Hirschenberger

Distributed under the MIT License.

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].