Title: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: itp on February 24, 2016, 12:12:27 12:12 Hi All,
Can anybody suggest a Modbus Library for DSPIC30F4011 Microcontroller. It is for a DSPIC30F4011 based Slave. Master will be an HMI. Thanks and Regards Itp Title: Re: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: Mr. Spock on February 24, 2016, 04:57:36 16:57 Search for: Freemodbus
Title: Re: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: motox on February 26, 2016, 01:24:53 13:24 Freemodbus have an example for PIC32. But I don't know if the implementation is for both Master and Slave devices.
If you know, please let me know. Probably I will have to use it (in Master mode) in the near future, but I will use a PIC18 or PIC24. There is another implementation called "SimpleModbus" for Arduino. They have code for Slave mode. You may use it to adapt the code for the dsPIC: https://github.com/angeloc/simplemodbusng Title: Re: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: LithiumOverdosE on February 26, 2016, 01:37:15 13:37 IIRC I saw some MODBUS libs with sources at http://www.libstock.com (http://www.libstock.com).
Just search for keyword MODBUS. Title: Re: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: M38 on February 27, 2016, 01:37:10 13:37 Hello
May be the link bellow can help you http://www.opensourcepic.com/modbus.php (http://www.opensourcepic.com/modbus.php) Title: Re: REQ: Modbus Library for DSPIC30F4011 Microcontroller Post by: motox on February 27, 2016, 01:53:05 13:53 Hello Your post only replies to my previous question: This implementation is only for slave mode.May be the link bellow can help you http://www.opensourcepic.com/modbus.php (http://www.opensourcepic.com/modbus.php) Apart from that it is just a link to a page with a link to an old version of Freemodbus stack (v1.4). Current version is v1.5. |