首页 开发技术 C#     /    C#和PLC利用modbus通信实例

C#和PLC利用modbus通信实例

上传者: wildwolf888xuwei | 上传时间:2023/6/14 11:48:26 | 文件大小:711KB | 文件类型:rar
C#和PLC利用modbus通信实例
最近公司有一项目,就是采集客户设备在生产过程中的数据,并保存到SQL数据库中。
硬件上采用PLC,软件使用C#编写上位机程序。
本来是想利用TCP/IP协议,但后来发现公司采购的PLC属于低端产品,需要OPC服务,为了简便,所以就采用modbus协议。

文件下载

资源详情

[{"title":"(41个子文件711KB)C#和PLC利用modbus通信实例","children":[{"title":"DataCollecing","children":[{"title":"HaierDataCollecing.sln <span style='color:#111;'>896B</span>","children":null,"spread":false},{"title":"HaierDataCollecing","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"HaierDataCollecing.vshost.exe.manifest <span style='color:#111;'>490B</span>","children":null,"spread":false},{"title":"HaierDataCollecing.pdb <span style='color:#111;'>37.50KB</span>","children":null,"spread":false},{"title":"app.publish","children":[{"title":"setup.exe <span style='color:#111;'>418.90KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.application <span style='color:#111;'>5.51KB</span>","children":null,"spread":false},{"title":"ApplicationFiles","children":[{"title":"HaierDataCollecing_1_0_0_0","children":[{"title":"HaierDataCollecing.exe.manifest <span style='color:#111;'>7.76KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.exe.deploy <span style='color:#111;'>20.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"HaierDataCollecing.vshost.exe <span style='color:#111;'>11.33KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.exe <span style='color:#111;'>290.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'>25.38KB</span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'>510B</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"HaierDataCollecing.csprojResolveAssemblyReference.cache <span style='color:#111;'>34.62KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.pdb <span style='color:#111;'>37.50KB</span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'>1.46KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.Form1.resources <span style='color:#111;'>133.96KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.exe <span style='color:#111;'>290.50KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.Properties.Resources.resources <span style='color:#111;'>133.95KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.csproj.FileListAbsolute.txt <span style='color:#111;'>5.08KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>6.81KB</span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'>31.72KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>32.09KB</span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'>606B</span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'>4.50KB</span>","children":null,"spread":false}],"spread":false},{"title":"HaierDataCollecing.csproj.GenerateResource.Cache <span style='color:#111;'>1015B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"publish","children":[{"title":"setup.exe <span style='color:#111;'>418.90KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.application <span style='color:#111;'>5.51KB</span>","children":null,"spread":false},{"title":"ApplicationFiles","children":[{"title":"HaierDataCollecing_1_0_0_0","children":[{"title":"HaierDataCollecing.exe.manifest <span style='color:#111;'>7.76KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.exe.deploy <span style='color:#111;'>20.50KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.application <span style='color:#111;'>5.51KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"HaierDataCollecing_TemporaryKey.pfx <span style='color:#111;'>1.61KB</span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"Tongue.ico <span style='color:#111;'>133.40KB</span>","children":null,"spread":false}],"spread":true},{"title":"Form1.cs <span style='color:#111;'>13.23KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.csproj.user <span style='color:#111;'>452B</span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'>206.47KB</span>","children":null,"spread":false},{"title":"HaierDataCollecing.csproj <span style='color:#111;'>4.32KB</span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'>6.05KB</span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'>249B</span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'>1.41KB</span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'>3.17KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"HaierDataCollecing.suo <span style='color:#111;'>30.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • QQ543210188:
    shit,骗分的,程序运行不了2019-08-12
  • ABCDEFGQQ:
    好好学习,天天向上2019-03-15
  • 大而话之-BigData:
    非常好用。2018-08-17
  • yhr1st:
    少DLL,需要改动的地方比较多,不能直接打开。2018-01-03
  • 李言真:
    可以,谢谢分享,这个下载有问题。2017-11-28

免责申明

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