Hello everyone.
I'm using libmodbus.org on a project and found that the RS485 ports on
the TS-7800 are wired in such a way that everything you write to the
port gets echoed to the receive buffer so the library fails because it
takes the sent frame as the response frame :s
I have modified libmodbus to circumvent this problem and want to share
the code with you. You can grab it at:
https://github.com/jaimealsilva/libmodbus
I've also submitted the changes upstream, they're waiting for approval.
You can find more details about the solved problem there:
https://github.com/stephane/libmodbus/pull/35
Any comments will be appreciated.
Thanks.
--
Jaime Alberto Silva Colorado
Director de Proyectos de Ingeniería
S.G. Automatización Ltda.
http://sgautomatizacion.com
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|