demntor / pymodbus

Modbus Python release (tools included)
0 stars 0 forks source link

Patch for more flexible Modbus request handling (using a RequestHandler interface) #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Due to the need to use the pymodbus lib for a gateway which translates 
modubus request into a proprietary protocol for a machine to connect and 
control to, I was modifying the pymodbus lib in the follwing areas:

1) intro of a interface for an ModbusRequestHandler which replaces the 
direct interaction with the ServerContext

2) ServerContext implements the the ModbusRequestHandler interface (and 
acts this like before)

3) all interaction between ModbusRequest objects, the RequestHandler and 
the Modbus-Protocol uses asynch call via Deferred.
This enabled a RequestHandler to uses twisted components for further 
communication to other systems

If you are interesset in this work, I'd like to share it. But I'm not 
quite sure wether it might go directly into the SVN code. May be it's a 
better idea to use it as a source of inspiration and port only the things 
you find usefull.

Please contact me, if you are interessted.

Original issue reported on code.google.com by riccardo...@googlemail.com on 19 Mar 2009 at 2:32

GoogleCodeExporter commented 8 years ago
I welcome all suggestions. If you have work that you believe would benefit the
project, feel free to email me a patch (with the relevant revision), a code 
archive,
or a link to a web accessible code repository.

Feel free to add it to the existing defect or a new one.

Original comment by Bashw...@gmail.com on 31 Mar 2009 at 11:24