Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-335

Using single-byte modbus types resulted in unexpected behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Driver-Modbus
    • None

    Description

      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.

      Attachments

        Activity

          People

            cdutz Christofer Dutz
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: