Introduce offsets in modbus mappings
commit52ab1bbea760ed8eaca184f7d875a2f52a116d0f
authorMichael Heimpold <mhei@heimpold.de>
Tue, 22 Oct 2013 21:41:45 +0000 (22 23:41 +0200)
committerStéphane Raimbault <stephane.raimbault@gmail.com>
Thu, 3 Sep 2015 07:38:46 +0000 (3 09:38 +0200)
tree205ffe18e8784bbbb93bcdcb45d2345b4f798202
parent1776a3503c4b75b049fb7ca446a962a9f142286a
Introduce offsets in modbus mappings

This allows to place the coils/registers at any virtual
start address, not only at address 0. This can be useful e.g.
when the server has to fulfill a specification in which
registers are expected at predefined locations.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
doc/Makefile.am
doc/modbus_mapping_new.txt
doc/modbus_mapping_offset_new.txt [copied from doc/modbus_mapping_new.txt with 52% similarity]
src/modbus.c
src/modbus.h