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 2021/10/19 08:29:00 UTC

[jira] [Commented] (PLC4X-318) S7 Cannot write string

    [ https://issues.apache.org/jira/browse/PLC4X-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430401#comment-17430401 ] 

Christofer Dutz commented on PLC4X-318:
---------------------------------------

Hi Liu,

there currently is one major problem with Strings on S7 (Especially on S7 1200) ... the size of a string usually exceeds that of a normal PDU. Even if our optimizer correclty splits up multiple fields into multiple separate requests, the code for automatically splitting up one item into multiple requests hasn't been ported to the new S7 driver yet. This results in requests being sent, which are too big. We have that on our (non existent) roadmap, but haven't had the time to implement that yet. 

However I think this issue is generally related to something different. Even if I currently don't have the time to look into this, perhaps someone in the community has some to spare. In general writing is far less tested than reading :( 

 

Chris 

> S7 Cannot write string
> ----------------------
>
>                 Key: PLC4X-318
>                 URL: https://issues.apache.org/jira/browse/PLC4X-318
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-S7
>    Affects Versions: 0.9.0
>            Reporter: LiuYuHang
>            Priority: Major
>         Attachments: image-2021-10-19-10-59-25-868.png
>
>
> Exception thrown when writing string type: java.nio.bufferoverflow exception



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