dremsol commented on issue #605:
URL: https://github.com/apache/plc4x/issues/605#issuecomment-1317172717
Actually I tried with an array of WORD[400]. Splitting the
readRequestBuilder into 4 arrays of WORD[100] works perfectly fine.
```
PlcReadRequest.Builder builder = plcConnection.readRequestBuilder();
builder.addItem("value-alarm1", "%DB1:0:WORD[100]");
builder.addItem("value-alarm2", "%DB1:64:WORD[100]");
builder.addItem("value-alarm3", "%DB1:128:WORD[100]");
```
So I'm doing manually what the `spi.optimizer.SingleTagOptimizer` should do
automatically. If I understand correctly this needs to be implemented on the S7
driver level just as has been done for the modbus driver?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]