What is ModbusPAL?

The 1-offset in Modbus has caused a lot of confusion over the years.

On Tue, Jul 14, 2020 at 11:03 PM Christofer Dutz <christofer.d...@c-ware.de>
wrote:

> Sorry for the noise ...
>
> this was a false positive ... the driver was doing things correctly.
> It seems the ModbusPAL was just off by one ;-)
>
> Chris
>
>
>
> ´╗┐Am 14.07.20, 15:51 schrieb "Christofer Dutz (Jira)" <j...@apache.org>:
>
>     Christofer Dutz created PLC4X-214:
>     -------------------------------------
>
>                  Summary: [Modbus] Holding register addresses have an
> offset of 1 (Not reading the correct address)
>                      Key: PLC4X-214
>                      URL: https://issues.apache.org/jira/browse/PLC4X-214
>                  Project: Apache PLC4X
>               Issue Type: Bug
>               Components: Driver-Modbus
>         Affects Versions: 0.7.0
>                 Reporter: Christofer Dutz
>                 Assignee: Christofer Dutz
>                  Fix For: 0.8.0
>
>
>     If I set holding the following holding registers to:
>
>     1000: 41
>     1001: 42
>     1002: 43
>
>     And then read: holding-register:1001 ... I get the value 43 returned.
>
>
>
>     --
>     This message was sent by Atlassian Jira
>     (v8.3.4#803005)
>
>

Reply via email to