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/09/02 12:08:00 UTC

[jira] [Assigned] (PLC4X-312) CAN NOT READ STRING FROM S7 PLC

     [ https://issues.apache.org/jira/browse/PLC4X-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christofer Dutz reassigned PLC4X-312:
-------------------------------------

    Assignee: Christofer Dutz

>  CAN NOT READ STRING FROM S7 PLC
> --------------------------------
>
>                 Key: PLC4X-312
>                 URL: https://issues.apache.org/jira/browse/PLC4X-312
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-S7
>    Affects Versions: 0.9.0
>            Reporter: liuqiang
>            Assignee: Christofer Dutz
>            Priority: Major
>
> i can read all type of data from s7 with out  string type. the follow is the address config format. 
> "%DB145.DBX38:STRING(8)[1]"
> the error as follow:
> ava.lang.IllegalArgumentException: No group with name <memoryArea>
> 	at java.util.regex.Matcher.getMatchedGroupIndex(Matcher.java:1316)
> 	at java.util.regex.Matcher.group(Matcher.java:572)
> 	at org.apache.plc4x.java.s7.readwrite.field.S7Field.of(S7Field.java:176)
> 	at org.apache.plc4x.java.s7.readwrite.field.S7PlcFieldHandler.createField(S7PlcFieldHandler.java:30)
> 	at org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.lambda$addItem$0(DefaultPlcReadRequest.java:147)
> 	at org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.lambda$build$2(DefaultPlcReadRequest.java:164)
> 	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
> 	at org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.build(DefaultPlcReadRequest.java:163)



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