modbus-mapping

Crates.iomodbus-mapping
lib.rsmodbus-mapping
version0.3.0
sourcesrc
created_at2024-02-28 08:18:57.414766
updated_at2024-06-26 20:27:45.28723
descriptionModbus register mapping traits and derive macros
homepage
repositoryhttps://github.com/vladimirvrabely/modbus-mapping
max_upload_size
id1156190
size52,609
Vladimír Vrábeľ (vladimirvrabely)

documentation

README

modbus-mapping

An API for Modbus Register Mapppings based on tokio-modbus

Docs.rs crates.io

Repo URL

Usage

Check examples folder for usage.

The device and client examples pair is to be run at the same time in two different terminals. The RTU examples assume that virtual serial port has been created beforehand

socat -d -d pty,raw,echo=0,link=/tmp/ttys001 pty,raw,echo=0,link=/tmp/ttys002

Development

Check justfile.

Commit count: 17

cargo fmt