Microchip PIC的Modbus堆栈 [英] Modbus stack for Microchip PIC

查看:144
本文介绍了Microchip PIC的Modbus堆栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以为Microchip PIC18处理器建议Modbus RTU从站的开源实现吗?我正在寻找用于RS-232/RS-485的Modbus RTU的实现,但是也欢迎使用Modbus TCP/IP.

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, but a Modbus TCP/IP implementation would be welcome as well.

推荐答案

我已经为PIC18实现了Modbus RTU(和ASCII)从设备,但是使用USB而不是RS232/485.尽管协议代码仅要求字符发送和接收功能,但转换为RS232/485还是很容易的.如有需要,我可以为您提供帮助.

I've implemented a Modbus RTU (and ASCII) slave for PIC18 but using USB instead of RS232/485. It would be very easy to convert to RS232/485 though as the protocol code only requires character transmit and receive functions. I can help you with this if required.

http://www上查看我的USB Modbus I/O页面. fieldofcows.com/index.php?title=USB_Modbus_Interface 来查看它是否满足您的需求.该页面包含源代码的下载链接.源码是在GNU GPL下发布的.

Take a look at my USB Modbus I/O page at http://www.fieldofcows.com/index.php?title=USB_Modbus_Interface to see if it meets your needs. The page includes a download link for the source code. The source is released under GNU GPL.

这篇关于Microchip PIC的Modbus堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆