Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Modbus! Example code in C or tutorial for com between two PIC processors.

Status
Not open for further replies.

masoud23

New Member
Hello
I am trying to establish communication between to devices master/slave. I want to use Modbus (RTU) through RS-485. The master device has PIC18F45K22 processor and the slave device has PIC16F914 processor. Can anyone recommend a good example (C cod +comments) or a tutorial that I can use to learn how to do this. I have found some ex at **broken link removed** but the code has no comments. Can one have the exact same Modbus code at master and slave if they have same processor?

Tanks in advance!
 
Status
Not open for further replies.
Back
Top