Thanks for reply. Any example code to refer? i have read the thread, but i got no idea how to start.
jds-pic
Joined: 17 Sep 2003 Posts: 205
Posted: Mon Apr 30, 2007 1:22 pm
funmix wrote:
Hi have read the thread, but i got no idea how to start.
you start by defining how the nodes on the rs485 bus interact.
e.g.
is the protocol polled master/slave or peer-to-peer?
if the latter, how are collisions detected?
are the packets fixed or variable size?
if variable, what is the maximum size packet?
what is the allowable packet latency?
how are transmission errors detected and handled?
what happens if a node can't respond immediately?
asking for code when you have not defined even a simple set of requirements is just going to lead to a lot of confusion and round-and-round question/answer posts.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum