--- In "PeterElliot" <> wrote:
>
> --- In "Yan Seiner" <yan@> wrote:
> >
> > ISTR that the ModbusRTU spec requires no more than 2.5 character
> > spacing between query and reply. I ended up using threads to make
> > sure that I didn't lose the response (a write thread, a listen
> thread,
> > and a watchdog thread.) You can get my modbus library at
> > <http://www.seiner.com/ts7000/modbus-0.0.2.tar.gz>
> >
>
> My reading of Modbus RTU is that you need to add a space of 4?
> character times between query and response (it can be much larger
> than this for most devices). However a Modbus RTU device sees a 2.5
> character time space as the end of packet - therefore it is important
> to send the whole response at one time.
>
OOPS! You're absolutely right. I had it backwards. A space of more
than 2.5 chars signifies "end of message".
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/
|