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

When requesting an odd number of bytes in payload the fill-byte is not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.3.1
    • Driver-S7
    • None

    Description

      The driver currently handles the fill-byte correctly in case of boolean values.

      However it turns out payloads have to be word-aligned. So in case of requesting a number of boolean values that result in an odd (as in un-even) number of bytes or by simply requesting an odd number of bytes we also need a fill byte.

      Attachments

        Activity

          People

            timbo2k Tim Mitsch
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: