Modbus stack for Microchip PIC

后端 未结 4 1836
醉话见心
醉话见心 2021-01-05 01:52

Can someone suggest an open source implementation of a Modbus RTU Slave for a Microchip PIC18 processor? I\'m looking for an implementation of Modbus RTU for RS-232/RS-485,

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-05 02:43

    You can find a Modbus RTU and TCP slave implementation in 'C' source code form at http://www.colwaysolutions.com. Since the implementation is in ANSI 'C' you can port it easily to PIC too. The vendor also provides ports to a few popular micro controller cores like 8051, ARM, Coldfire etc. including for some RTOS kernels (OS9, MQX, uc-OS). The library is very light weight consuming negligible RAM and ROM space.

提交回复
热议问题