-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request][MODBUS]: Build a QueryOptimizer for PLC4J Modbus #1671
Comments
So it seems that the limitations are: Max 2000 coils in one request (Page 11) |
So luckily I need to implement this feature for my $job ;-) Making good progress, however I'm only going to implement this for reading ... writing would possibly open pandora's box with evil issues, which I do not want to do. |
Excellent work, I will run tests, those times are excellent! |
Ok ... the changes are merged ... now I think it makes sense to wait another week for some feedback. |
Ok ... closing this now ... my colleagues haven't been complaining, so it seems to work. |
What would you like to happen?
The modbus spec seems to provide limits for the size of packets. However in contrast to the other protocols, is this limit not related to the size of the packet, but by the number of registers/coils.
Please refer to: https://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf, page: 11
It should be simple to implement a query-optimizer for Modbus to automatically handle this. The Siemens S7 QueryOptimizer might help with inspiration.
Programming Languages
Protocols
The text was updated successfully, but these errors were encountered: