MODBUS--ASCII方式实现(完整版)

上传者: lbnsr | 上传时间: 2019-12-21 20:05:58 | 文件大小: 127KB | 文件类型: rar
此程序是用C语言编写的一个51的程序。 作用是对MODBUS协议进行了实现,用的是ASCII方式,简明易懂。 共实现的1读线圈,2写单个线圈,3写多个线圈,4读寄存器,5写单个寄存器,6写多个寄存器这几个基本的功能,简明易懂,是一个绝佳的MODBUS协议程序。 传输基于最普通的串口通信,严格按照协议说明。 程序中还做和详尽的注解,本人水平有限,难免出错,贻笑大方,献丑了。 多多指教。。。。。。

文件下载

资源详情

[{"title":"( 35 个子文件 127KB ) MODBUS--ASCII方式实现(完整版)","children":[{"title":"赖泊能modbus","children":[{"title":"main.h <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"modbus.LST <span style='color:#111;'> 75.46KB </span>","children":null,"spread":false},{"title":"modbusasii2_uvopt.bak <span style='color:#111;'> 61.20KB </span>","children":null,"spread":false},{"title":"EEPROM.OBJ <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"EEPROM.c <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"ds18b20.h <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"EEPROM.LST <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"ds18b20.c <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"STARTUP.OBJ <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"modbus.c <span style='color:#111;'> 39.05KB </span>","children":null,"spread":false},{"title":"main.OBJ <span style='color:#111;'> 14.65KB </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"ds18b20.LST <span style='color:#111;'> 8.48KB </span>","children":null,"spread":false},{"title":"modbus.OBJ <span style='color:#111;'> 49.12KB </span>","children":null,"spread":false},{"title":"nokia_5110.OBJ <span style='color:#111;'> 11.45KB </span>","children":null,"spread":false},{"title":"modbusasii2.hex <span style='color:#111;'> 21.22KB </span>","children":null,"spread":false},{"title":"write_chinese_string_pixel.h <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"STARTUP.LST <span style='color:#111;'> 13.72KB </span>","children":null,"spread":false},{"title":"bmp_pixel.h <span style='color:#111;'> 10.76KB </span>","children":null,"spread":false},{"title":"modbusasii2.plg <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"modbusasii2.lnp <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"ds18b20.OBJ <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"modbusasii2_uvproj.bak <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"nokia_5110.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"nokia_5110.LST <span style='color:#111;'> 23.60KB </span>","children":null,"spread":false},{"title":"EEPROM.h <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"modbus.h <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"modbusasii2.uvopt <span style='color:#111;'> 61.20KB </span>","children":null,"spread":false},{"title":"modbusasii2.M51 <span style='color:#111;'> 79.01KB </span>","children":null,"spread":false},{"title":"main.LST <span style='color:#111;'> 13.72KB </span>","children":null,"spread":false},{"title":"modbusasii2 <span style='color:#111;'> 71.81KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"english_6x8_pixel.h <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"nokia_5110.c <span style='color:#111;'> 15.68KB </span>","children":null,"spread":false},{"title":"modbusasii2.uvproj <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • mostary :
    下个参考一下,感谢分享。
    2020-05-12
  • liubaiye :
    感谢,值得学习!
    2019-03-22
  • chenqien :
    看过了,第一次看到用asicii 方式,网上更多的是rtu方式。都可以实现
    2017-08-08
  • 蛮吉小满 :
    正好可以参考
    2016-11-24
  • Catamount3000 :
    非常感谢,这对我很有用
    2016-04-01

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明