You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by "TomNewChao (via GitHub)" <gi...@apache.org> on 2026/10/17 11:16:56 UTC
[PR] feat(plc4net): add local Modbus TCP test peer
TomNewChao opened a new pull request, #781:
URL: https://github.com/apache/plc4x-extras/pull/781
Adds a small standard-library Modbus TCP test peer for local plc4net verification. It provides fixed read-only coil, discrete-input, holding-register and input-register values, and returns Modbus exceptions for unsupported functions or addresses. It binds to loopback.
The peer is independent of the Modbus verification CLI proposed in #779; when both are available, it can be used as the CLI's local target. The README explains wire addresses and plc4net's one-based tag addresses.
Validation:
- Python unit tests cover reads, invalid values, fragmented and repeated requests, and invalid MBAP headers.
- Tested locally with the #779 Modbus CLI: `holding-register:1` returned 4096.
- Python Ruff lint and format checks.
--
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: commits-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(plc4net): add local Modbus TCP test peer
Posted by "sruehl (via GitHub)" <gi...@apache.org>.
sruehl merged PR #781:
URL: https://github.com/apache/plc4x-extras/pull/781
--
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: commits-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org