You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "liuqiang (Jira)" <ji...@apache.org> on 2021/09/02 06:21:00 UTC
[jira] [Created] (PLC4X-312) CAN NOT READ STRING FROM S7 PLC
liuqiang created PLC4X-312:
------------------------------
Summary: 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
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)