[
https://issues.apache.org/jira/browse/PLC4X-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409359#comment-17409359
]
liuqiang commented on PLC4X-312:
--------------------------------
I just test. it has worked ok. thank you very much [~cdutz].
> 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)