CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Modbus Communication
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Mar 02, 2011 2:34 pm     Reply with quote

My doubts regarding RS485 pull-up/down resistors and bus idle level aren't cleared up. It may be the case, that the 8051 interface has the resistors and is working correctly for this reason. But these points can be checked with measurements one-by-one.

You can also start at the slave side, visualizing it's state, e.g. with LEDs. Is the slave receiving something, is it adressed, is it receiving a correct CRC, ist it sending replies?

If the slave is not sending, the master shouldn't receive anything. If it does though, what't the A and B bus level, what's the level of the TTL RX, TX and Enable lines?

All these measurements can be best performed with an oscilloscope. But even if you don't have it, you can get important information with a multimeter.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group