Skip to content

R413D08 protocol and commandline tool

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

acpiccolo/R413D08-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI dependency status CI CI CI

R413D08 8 Channel Module

This RUST project can read and write a R413D08 module from the command line. It should also work with the R421A08 relay card because it has the same Modbus commands.

Hardware

The following hardware is required for this project:

  • One or more R413D08 8 channel modules.
  • One or more relay modules 1-8 channels.
  • One USB-RS485 converter.

R413D08 controller

Data sheet R413D08

  • Operating Voltage: DC 5 Volt (5V version) or DC 6-24 Volt (12V version)
  • Operating Current: 10-15 Milli-Ampere

Compilation

  1. Install Rust e.g. using these instructions.
  2. Ensure that you have a C compiler and linker.
  3. Clone git clone https://github.com/acpiccolo/R413D08-Controller.git
  4. Run cargo install --path . to install the binary. Alternatively, check out the repository and run cargo build --release. This will compile the binary to target/release/ch8ctl.

Getting started

To see all available commands:

ch8ctl --help

For TCP Modbus connected temperature collectors:

ch8ctl tcp 192.168.0.222:502 read

Cargo Features

Feature Purpose Default
tokio-rtu-sync Enable the implementation for the tokio modbus synchronous RTU client
tokio-rtu Enable the implementation for the tokio modbus asynchronous RTU client
tokio-tcp-sync Enable the implementation for the tokio modbus synchronous TCP client -
tokio-tcp Enable the implementation for the tokio modbus asynchronous TCP client -
bin-dependencies Enable all features required by the binary

License

Licensed under either of

at your option.

About

R413D08 protocol and commandline tool

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages