Sonsivri

Electronics => Pic C Languages => Topic started by: kyawmyo on April 11, 2008, 03:45:23 03:45



Title: PIC16F877 and Modbus
Post by: kyawmyo on April 11, 2008, 03:45:23 03:45
Hi,
I am trying to develop an application that will interface with RS485 for Modbus protocol. Could anybody give me useful information regarding with PIC 16F877.

Rgds


Title: Re: PIC16F877 and Modbus
Post by: enen on August 07, 2008, 03:58:49 15:58
Hi ,
firstly Pic16f877 is not enough memory for Modbus.

you should 14f852 or more memory size pics.


Title: Re: PIC16F877 and Modbus
Post by: jorge7458 on August 07, 2008, 06:07:10 18:07
The modbus is not a complex protocol and he would not have inconvenience by heart with a 16f877. he would Be necessary to see that it is what is wanted to send.   
Jorge


Title: Re: PIC16F877 and Modbus
Post by: j0k3r on August 07, 2008, 10:27:47 22:27
Look on the folder examples from the CCS compiler for the files:
ex_modbus_slave.c
and
ex_modbus_master.c
they have what you want.....
and, yes they use a
Code:
#include <16f877a.h>


Title: Re: PIC16F877 and Modbus
Post by: microtest on August 21, 2008, 06:29:30 18:29
exelent i am now testing it and post my schematic next time


Title: Re: PIC16F877 and Modbus
Post by: arash_tah on November 30, 2009, 04:52:04 04:52
Hi mikrotest I want to connect my micro to PLC via MODBUS do u have any idea?
can u share your sch and any detail in this regard