ts-7000
[Top] [All Lists]

[ts-7000] Re: Help with RS485 on 7200?

To:
Subject: [ts-7000] Re: Help with RS485 on 7200?
From: "PeterElliot" <>
Date: Sun, 01 Jul 2007 19:04:55 -0000
--- In  "Yan Seiner" <> 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.

I'm not sure how the serial driver handles the sending of the packet, 
but tne worst it should be would be the need to resend the packet 
when the response gives a CRC or other error (with the associated 
update delay which may be critical.

Regards,

PJE



 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU