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 support@ccsinfo.com

Profibus Master and Slave component with PIC under RS485

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
HGHK



Joined: 29 Jun 2010
Posts: 33

View user's profile Send private message Yahoo Messenger

Profibus Master and Slave component with PIC under RS485
PostPosted: Tue Apr 09, 2013 1:31 pm     Reply with quote

I need create Profibus Master and slave component with PIC under RS485. Who knows that:

1- is there a driver for this communication in CCS c ?
2- how i can make this protocol ?
3- what's the requirements of protocol to continuation ?

I use PIC18F452. Help me if you know please.
_________________
My Gmail is:
HGholizadehK@Gmail.com
You can send pm for me in it
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Tue Apr 09, 2013 11:36 pm     Reply with quote

To start with a general suggestion. If you are not yet familiar with the PROFIBUS protocol, or bugdet plenty of time to learn it, give it up.

Software PROFIBUS implementations are possible with restricted speed, 19.2k should always work, 96k might,
192k hard to achieve with a PIC18. For higher speeds, you should consider a PROFIBUS ASIC, e.g.
http://www.profichip.com/products/overviewasics/?L=8

1. There's very likely no CCS driver available.
You'll find some implementatons for various processors in the Internet that must be ported, e.g. a MSP430 PB slave (in German)
http://www.mikrocontroller.net/topic/106174

2. Study the official specification EN50170 Volume 2 or secondary literature describing the protocol.

Good luck!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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