You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2022/02/21 12:09:00 UTC

[jira] [Resolved] (PLC4X-335) Using single-byte modbus types resulted in unexpected behaviour

     [ https://issues.apache.org/jira/browse/PLC4X-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christofer Dutz resolved PLC4X-335.
-----------------------------------
    Resolution: Fixed

> Using single-byte modbus types resulted in unexpected behaviour
> ---------------------------------------------------------------
>
>                 Key: PLC4X-335
>                 URL: https://issues.apache.org/jira/browse/PLC4X-335
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-Modbus
>    Affects Versions: 0.9.0
>            Reporter: Christofer Dutz
>            Assignee: Christofer Dutz
>            Priority: Major
>             Fix For: 0.10.0
>
>
> When reading single-byte values via Modbus, the driver unexpectedly created lists.
> This was due to the fact, that in the DataIo module these types were aligned to 8bits and not 16bits as it's the case in Modbus. 
> By increasing the reserved field for BIT to 15 bit and by adding a reserved byte to the BYTE, USINT and SINT types we're able to fix this issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)