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 2020/07/08 18:59:00 UTC

[jira] [Created] (PLC4X-209) [S7] When writing INT and DINT values the Write operation fails with an internal error

Christofer Dutz created PLC4X-209:
-------------------------------------

             Summary: [S7] When writing INT and DINT values the Write operation fails with an internal error
                 Key: PLC4X-209
                 URL: https://issues.apache.org/jira/browse/PLC4X-209
             Project: Apache PLC4X
          Issue Type: Bug
          Components: Driver-S7
    Affects Versions: 0.7.0, 0.8.0
            Reporter: Christofer Dutz
            Assignee: Christofer Dutz
             Fix For: 0.8.0


It turns out when writing data to a S7 device using the datatypes INT and DINT the write operation fails.

It turns out that the data-transport-size had to be INTEGER for these datatypes and not BYTE/WORD/DWORD. Also there was a bug that sent the length value as "number of bytes" and not "number of bits" which it should have been.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)