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

LiuYuHang edited comment on PLC4X-318 at 10/20/21, 1:54 AM:
------------------------------------------------------------

The PLC model I use is S7-1200. The string is encoded as UTF-8. Even if the 
string length is only 1, this problem will exist.

Can you provide a java code example of writing string to PLC? Thank 
you.[~cdutz] [~ldywicki]


was (Author: fungoddd):
The PLC model I use is S7-1200. The string is encoded as UTF-8. Even if the 
string length is only 1, this problem will exist.

Can you provide a java code example of writing string to PLC? Thank you.[~cdutz]

> 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)

Reply via email to