Hi all, right now the S7 driver is the only driver that makes use of dynamically rewriting a message.
This is for example needed in order to allow reading of large read requests and having the driver split that up into multiple messages. Ideally it would not only split up the messages, but also optimize the requests by rearranging the order of requested elements or completely rewriting the requests (Replace reading of 10 separate bit addresses by for example simply reading 3 bytes) As I’m currently defining some quite generic methods in the protocol-model, I think it would be a better Idea to solve this problem in a more generic way as I believe most optimizations would apply to most protocols. Also would I like to have this configurable: Here I would imagine that we provide what we think is a good implementation for the individua driver but allow overriding processors by adding alternate implementations to the class-path and allowing to override the processor in the connection-string. I was thinking of using the same mechanism (Java Service Lookup) as we are using for the drivers themselves. What do you think? Chris