C# ModbusTcp服务

  • CD11133
    了解作者
  • C#
    开发工具
  • 64.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 5 积分
    下载积分
  • 0
    下载次数
  • 2022-08-29 17:54
    上传日期
C# ModbusTcp服务(不限制点位,设备ID,批量自动刷新数据)
modbusTcpServer.zip
  • modbusTcpServer
  • Properties
  • AssemblyInfo.cs
    1.3KB
  • bin
  • Debug
  • NModbus.dll
    106KB
  • modbusTcpServer.exe
    10KB
  • modbusTcpServer.exe.config
    674B
  • 使用说明.docx
    15KB
  • modbusTcpServer.csproj
    2.6KB
  • App.config
    673B
  • packages.config
    135B
  • Program.cs
    9.8KB
  • modbusTcpServer.sln
    1.1KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/630c93b059d424018cc9344b/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/630c93b059d424018cc9344b/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">1.<span class="_ _0"> </span><span class="ff2">&#36816;&#34892;&#29615;&#22659;</span></div><div class="t m0 x2 h3 y3 ff2 fs0 fc0 sc0 ls0 ws0">&#36816;&#34892;&#26412;&#36719;&#20214;&#38656;&#35201;&#23433;&#35013;<span class="_ _1"> </span><span class="ff1">Microso&#58889; .NET Fr<span class="_ _2"></span>amework 4.6</span></div><div class="t m0 x2 h3 y4 ff2 fs0 fc0 sc0 ls0 ws0">&#19979;&#36733;&#22320;&#22336;&#65306;</div><div class="t m0 x3 h4 y5 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="fc1">h&#58903;ps://dotnet.micr<span class="_ _2"></span>oso&#58889;.com/download/thank<span class="_ _2"></span>-<span class="_ _2"></span>you/net46<span class="fc0"> </span></span></div><div class="t m0 x1 h3 y6 ff1 fs0 fc0 sc0 ls0 ws0">2.<span class="_ _0"> </span><span class="ff2">&#36719;&#20214;&#20351;&#29992;</span></div><div class="t m0 x4 h3 y7 ff1 fs0 fc0 sc0 ls0 ws0">1)<span class="_ _3"> </span>Modbus TCP<span class="_ _1"> </span><span class="ff2">&#26381;&#21153;&#40664;&#35748;&#31471;&#21475;&#20026;<span class="_ _1"> </span></span>502</div><div class="t m0 x5 h3 y8 ff2 fs0 fc0 sc0 ls0 ws0">&#22914;&#26524;&#38656;&#35201;&#20462;&#25913;&#65292;&#35831;&#25171;&#24320;<span class="_ _1"> </span><span class="ff1">modbusT<span class="_ _4"></span>cpServer<span class="_ _4"></span>.e<span class="_ _2"></span>x<span class="_ _2"></span>e.con,g<span class="_"> </span><span class="ff2">&#24182;&#20462;&#25913;&#33410;&#28857;</span></span></div><div class="t m0 x5 h3 y9 ff3 fs1 fc2 sc0 ls0 ws0">&lt;<span class="fc3">add</span> <span class="fc4">key</span>=<span class="fc0">"</span>port<span class="fc0">"</span> <span class="fc4">value</span>=<span class="fc0">"</span>502<span class="fc0">"</span>/&gt; <span class="ff1 fs0 fc0">502<span class="_"> </span><span class="ff2">&#20026;&#38656;&#35201;&#30340;&#31471;&#21475;</span></span></div><div class="t m0 x4 h3 ya ff1 fs0 fc0 sc0 ls0 ws0">2)<span class="_ _3"> </span>Modbus TCP<span class="_ _1"> </span><span class="ff2">&#26381;&#21153;&#40664;&#35748;&#27599;&#31181;&#23492;&#23384;&#22120;&#25903;&#25345;&#30340;&#26368;&#22823;&#23492;&#23384;&#22120;&#20010;&#25968;<span class="_ _1"> </span></span>10000</div><div class="t m0 x5 h3 yb ff2 fs0 fc0 sc0 ls0 ws0">&#22914;&#26524;&#38656;&#35201;&#20462;&#25913;&#65292;&#35831;&#25171;&#24320;<span class="_ _1"> </span><span class="ff1">modbusT<span class="_ _4"></span>cpServer<span class="_ _4"></span>.e<span class="_ _2"></span>x<span class="_ _2"></span>e.con,g<span class="_"> </span><span class="ff2">&#24182;&#20462;&#25913;&#33410;&#28857;</span></span></div><div class="t m0 x5 h3 yc ff3 fs1 fc2 sc0 ls0 ws0">&lt;<span class="fc3">add</span> <span class="fc4">key</span>=<span class="fc0">"</span>maxSize<span class="fc0">"</span> <span class="fc4">value</span>=<span class="fc0">"</span>10000<span class="fc0">"</span>/&gt; <span class="ff1 fs0 fc0">10000<span class="_"> </span><span class="ff2">&#20026;&#38656;&#35201;&#30340;&#22823;&#23567;</span></span></div><div class="t m0 x4 h3 yd ff1 fs0 fc0 sc0 ls0 ws0">3)<span class="_ _3"> </span>Modbus TCP<span class="_ _1"> </span><span class="ff2">&#26381;&#21153;&#40664;&#35748;&#25903;&#25345;&#30340;&#35774;&#22791;&#20010;&#25968;&#20026;<span class="_ _1"> </span></span>4</div><div class="t m0 x5 h3 ye ff2 fs0 fc0 sc0 ls0 ws0">&#22914;&#26524;&#38656;&#35201;&#20462;&#25913;&#65292;&#35831;&#25171;&#24320;<span class="_ _1"> </span><span class="ff1">modbusT<span class="_ _4"></span>cpServer<span class="_ _4"></span>.e<span class="_ _2"></span>x<span class="_ _2"></span>e.con,g<span class="_"> </span><span class="ff2">&#24182;&#20462;&#25913;&#33410;&#28857;</span></span></div><div class="t m0 x5 h3 yf ff3 fs1 fc2 sc0 ls0 ws0">&lt;<span class="fc3">add</span> <span class="fc4">key</span>=<span class="fc0">"</span>maxDeviceId<span class="fc0">"</span> <span class="fc4">value</span>=<span class="fc0">"</span>4<span class="fc0">"</span>/&gt; <span class="ff1 fs0 fc0">4<span class="_"> </span><span class="ff2">&#20026;&#38656;&#35201;&#30340;&#20010;&#25968;</span></span></div><div class="t m0 x4 h3 y10 ff1 fs0 fc0 sc0 ls0 ws0">4)<span class="_ _3"> </span>Modbus TCP<span class="_ _1"> </span><span class="ff2">&#26381;&#21153;&#25968;&#25454;&#40664;&#35748;&#20026;&#33258;&#21160;&#26356;&#26032;&#65292;&#26356;&#26032;&#26102;&#38388;&#38388;&#38548;&#20026;<span class="_ _1"> </span></span>60<span class="_ _1"> </span><span class="ff2">&#31186;</span></div><div class="t m0 x5 h3 y11 ff1 fs0 fc0 sc0 ls0 ws0">1)<span class="_ _3"> </span><span class="ff2">&#22914;&#26524;&#38656;&#35201;&#20851;&#38381;&#33258;&#21160;&#26356;&#26032;</span></div><div class="t m0 x6 h3 y12 ff2 fs0 fc0 sc0 ls0 ws0">&#35831;&#25171;&#24320;<span class="_ _1"> </span><span class="ff1">modbusT<span class="_ _4"></span>cpServer<span class="_ _4"></span>.e<span class="_ _2"></span>x<span class="_ _2"></span>e.con,g<span class="_"> </span><span class="ff2">&#24182;&#20462;&#25913;&#33410;&#28857;</span></span></div><div class="t m0 x6 h3 y13 ff3 fs1 fc2 sc0 ls0 ws0">&lt;<span class="fc3">add</span> <span class="fc4">key</span>=<span class="fc0">"</span>enableAutoUpdate<span class="fc0">"</span> <span class="fc4">value</span>=<span class="fc0">"</span>1<span class="fc0">"</span>/&gt; <span class="ff1 fs0 fc0">1<span class="_"> </span><span class="ff2">&#20026;<span class="_ _1"> </span></span>0</span></div><div class="t m0 x5 h3 y14 ff1 fs0 fc0 sc0 ls0 ws0">2)<span class="_ _3"> </span><span class="ff2">&#22914;&#26524;&#38656;&#35201;&#35843;&#25972;&#25968;&#25454;&#26356;&#26032;&#26102;&#38388;&#38388;&#38548;</span></div><div class="t m0 x6 h3 y15 ff2 fs0 fc0 sc0 ls0 ws0">&#35831;&#25171;&#24320;<span class="_ _1"> </span><span class="ff1">modbusT<span class="_ _4"></span>cpServer<span class="_ _4"></span>.e<span class="_ _2"></span>x<span class="_ _2"></span>e.con,g<span class="_"> </span><span class="ff2">&#24182;&#20462;&#25913;&#33410;&#28857;</span></span></div><div class="t m0 x6 h3 y16 ff3 fs1 fc2 sc0 ls0 ws0">&lt;<span class="fc3">add</span> <span class="fc4">key</span>=<span class="fc0">"</span>updateInterval<span class="fc0">"</span> <span class="fc4">value</span>=<span class="fc0">"</span>60<span class="fc0">"</span>/&gt; <span class="ff1 fs0 fc0">60<span class="_"> </span><span class="ff2">&#20026;&#38656;&#35201;&#26102;&#38388;&#65292; &#21333;&#20301;&#20026;&#31186;</span></span></div><div class="t m0 x1 h3 y17 ff2 fs0 fc0 sc0 ls0 ws0">&#27880;&#24847;&#20107;&#39033;&#65306;</div><div class="t m0 x2 h3 y18 ff1 fs0 fc0 sc0 ls0 ws0">1.<span class="_ _0"> </span><span class="ff2">&#36830;&#25509;<span class="_ _1"> </span></span>Modbus TCP<span class="_ _1"> </span><span class="ff2">&#26381;&#21153;&#26102;&#65292;</span>IP<span class="_ _1"> </span><span class="ff2">&#20026;&#26412;&#31243;&#24207;&#25152;&#22312;&#30005;&#33041;<span class="_ _1"> </span></span>IP<span class="ff2">&#65292; &#31471;&#21475;&#40664;&#35748;&#20026;<span class="_ _1"> </span></span>502</div><div class="t m0 x2 h3 y19 ff1 fs0 fc0 sc0 ls0 ws0">2.<span class="_ _0"> </span><span class="ff2">&#22914;&#26524;<span class="_ _5"></span>&#38656;&#35201;<span class="_ _5"></span>&#20174;&#20854;<span class="_ _5"></span>&#20182;&#30005;<span class="_ _5"></span>&#33041;&#35775;<span class="_ _5"></span>&#38382;<span class="_ _6"> </span></span>Modbus <span class="_ _5"></span>T<span class="_ _2"></span>CP<span class="_"> </span><span class="ff2">&#26381;&#21153;<span class="_ _5"></span>&#65292; &#35831;<span class="_ _5"></span>&#20808;&#20851;<span class="_ _5"></span>&#38381;<span class="_ _6"> </span></span>Modbus TCP<span class="_"> </span><span class="ff2">&#26381;&#21153;<span class="_ _5"></span>&#25152;&#22312;<span class="_ _5"></span>&#30005;&#33041;</span></div><div class="t m0 x3 h3 y1a ff2 fs0 fc0 sc0 ls0 ws0">&#30340;&#38450;&#28779;&#22681;</div></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • ModbusTcpServer.zip
      modbus tcp/ip通讯,程序内填写IP地址,所需读取或写入内容,格式,读取时的间隔,循环次数
    • ModbusTcpServer.zip
      这是用C#实现的一个modbus tcp服务器,可以用来辅助modbus的开发
    • ModbusTcpServer.zip
      Modbus tcp server tcpip
    • 03 ModbusTCPServer实验.zip
      STM32驱动w5500移植freemodbus实现Modbus TCP,代码已验证,可以拿来直接使用
    • modbusTcpServer.zip
      C#版本Modbus Tcp Server模拟程序及源码采用vs2019编译,支持定时刷新,多设备ID,
    • MODBUS TCP SERVER 源码
      MODBUS TCP SERVER 源码,c++,实现了功能码 03,16。只是自己用于测试时开发的,功能有限,但可自行扩充。希望对您有用。
    • modbus-tcp-server:用于测试目的的MODBUS TCP服务器
      modbus-tcp服务器 用于测试目的的基于线程的MODBUS TCP服务器。 安装 只需输入 pip install modbus-tcp-server 并运行它 ... network import ModbusTCPServer from modbus_tcp_server . data_source imp
    • Modbus TCP Server Tester
      标准Modbus TCP通信测试工具,两个测试工具主要用于plcModbus TCP通信测试,可分别可是客户端和服务器端 测试环境
    • Modbus协议服务端模拟器 ModbusTcpServer1.zip
      模拟Modbus协议硬件,为工业物联网工业4.0提供编程学习方便。打开服务端软件后通过C#编程语言编写通信连接软件的客户端。通过改变对应地址的电位实现控制工控设备的功能。
    • libiconv-1.1.tar.gz
      字符集转换程序