RModBus
RModBus - free implementation of protocol ModBus.
Feature
-
Client ModBus-TCP
-
Support functions:
-
01 (0x01) Read Coils
-
02 (0x02) Read Discrete Inputs
-
03 (0x03) Read Holding Registers
-
04 (0x04) Read Input Registers
-
05 (0x05) Write Single Coil
-
06 (0x06) Write Single Register
-
15 (0x0F) Write Multiple Coils
-
16 (0x10) Write Multiple registers
-
Installation
You can install RModBus with the following command
$ rake install
from its distribution directory
Gem installation
Download and install RModBus with the following
$ gem sources -a gems.github.com $ gem install -r sanderjd-rmodbus
CSM
You can checkout source code from the GIT repositry
$ git clone git://github.com/sanderjd/rmodbus.git
Reference
RModBus project: rubyforge.org/projects/rmodbus
ModBus community: www.modbus-ida.org