Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-312

CAN NOT READ STRING FROM S7 PLC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • Driver-S7
    • None

    Description

      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)

      Attachments

        Activity

          People

            cdutz Christofer Dutz
            kdxq liuqiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: