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 2022/02/26 06:30:00 UTC

[jira] [Commented] (PLC4X-337) S7 CAN NOT WIRTE STRING EVEN THE STRING SIZE IS LESS THEN 240

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

Christofer Dutz commented on PLC4X-337:
---------------------------------------

Try omitting the array notation at the end.

But admittedly strings are the most complex datatype we have and it's not that we'll tested as it seems to be seldomly used. 

I was thinking of creating a crowd funding campaign for fixing the datatypes in s7. Is your company willing to support such a campaign? Otherwise I am sure others will be willing to jump in and tackle that.

Chris

> S7 CAN NOT WIRTE STRING EVEN THE STRING SIZE IS LESS THEN 240
> -------------------------------------------------------------
>
>                 Key: PLC4X-337
>                 URL: https://issues.apache.org/jira/browse/PLC4X-337
>             Project: Apache PLC4X
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: liuqiang
>            Priority: Major
>         Attachments: image-2022-02-26-11-07-37-602.png
>
>
> Hi, [~cdutz].  now I want  write string to s7-400 plc ,the tag address format as follow. but I can not success to do this. the string size is less 245, only 32. can you give me some suggest. thank you very much. looking forward to your replay... thank you very much again.
> %DB881.DBX912:STRING(8)[1]
> %DB881.DBX922:STRING(32)[1]
> %DB881.DBX956:STRING(32)[1]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)