What happened?
Issue
After upgrading to library version 0.13.0, my application, which reads 207 memory blocks from a PLC using the S7 protocol every second, starts throwing timeout exceptions after running for 5–10 minutes. With version 0.12.0, the application runs without issues.
Expected behavior
The application should continuously read all 207 memory blocks every second without timeout exceptions, as it does with version 0.12.0.
Steps to reproduce
- Use library version 0.13.0.
- Continuously read 207 memory blocks from a PLC every second.
- Observe that after 5–10 minutes, timeout exceptions occur.
Additional context
In 0.12.0, I manually divided the 207 memory blocks into ~21 PlcReadRequests (max 20 blocks per request) using batching.
In 0.13.0, batching is handled internally by the library.
No other changes were made to the application code.
This issue blocks me from upgrading to 0.13.0.
Environment
Library version: 0.13.0 (works in 0.12.0)
Protocol: S7
Number of memory blocks: 207
Frequency: 1 read per second
Version
v0.13.0
Programming Languages
Protocols