Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Binding to use 'libmodbus' from Ruby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 ext
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 NEWS
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
README
== About project

libmodbus4r –a wrapper for library libmodbus wrote in Ruby. libmodbus – a free implementation of protocol ModBus TCP\RTU for Linux and OSX operation systems. It's very fast and stable library wrote in C. Goal of project is ability writing application in Ruby that use ModBus protocol for communication with devices.

== Features

* Use only Ruby-1.9.x and Ruby-1.8.7
* Include C library *libmodbus*;
* ModBus TCP and RTU master(client);
* ModBus TCP and RTU slave(server);
* Support functions: 
  * read coil status (0x01)
  * read input status (0x02)
  * read holding registers (0x03)
  * read input registers (0x04)
  * force single coil (0x05)
  * preset single register (0x06)
  * force multiple coils (0x0F)
  * preset multiple registers (0x10)

== Installation

Importan! libmodbus4 work only in Linux и OSX

    Simplest installation is use rubygems
    $ sudo gem install libmodbus4r
    or  installation from source with command:
    $ sudo rake install

== Authors

Aleksey Timin <atimin@gmail.com> 

== References 

Home page projects : http://flipback.github.com/libmodbus4r/

Hosting on RubyForge : http://rubyforge.org/projects/libmodbus4r

Hosting on GitHub : http://github.com/flipback/libmodbus4r/tree/master

Ruby site : http://ruby-lang.org

libmobus on Launchpad : https://launchpad.net/libmodbus

ModBus community: http://www.modbus-ida.org
Something went wrong with that request. Please try again.