C#串口读写三菱PLC,可读单个bool,批量bool,Word,Dword,心跳信号等等。

上传者: yyyxh2003 | 上传时间: 2019-12-21 22:15:55 | 文件大小: 184KB | 文件类型: zip
自己用C#测试的串口读写三菱PLC,可以对串口进行设置,可以读写单个bool量,批量bool,SingleWord,DoubleWord。可以监测串口连接是否正常,支持多线程读写。

文件下载

资源详情

[{"title":"( 49 个子文件 184KB ) C#串口读写三菱PLC,可读单个bool,批量bool,Word,Dword,心跳信号等等。","children":[{"title":"DebugClass20170920","children":[{"title":"DebugClass","children":[{"title":"frmMain.Designer.cs <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"MitsubshiPLCSerialPortCommunication.pdb <span style='color:#111;'> 59.50KB </span>","children":null,"spread":false},{"title":"DebugClass.vshost.exe <span style='color:#111;'> 21.95KB </span>","children":null,"spread":false},{"title":"DebugClass.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"DebugClass.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"DebugClass.exe.config <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"DebugClass.vshost.exe.config <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"DebugClass.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPortCommunication.dll <span style='color:#111;'> 46.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DebugClass.frmMain.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DebugClass.csproj.FileListAbsolute.txt <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"DebugClass.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.90KB </span>","children":null,"spread":false},{"title":"DebugClass.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"DebugClass.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DebugClass.csprojResolveAssemblyReference.cache <span style='color:#111;'> 7.43KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"DebugClass.csproj.GenerateResource.Cache <span style='color:#111;'> 977B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"frmMain.cs <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"DebugClass.csproj <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"frmMain.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"MitsubshiPLCSerialPort","children":[{"title":"MitsubshiPLC.cs <span style='color:#111;'> 21.23KB </span>","children":null,"spread":false},{"title":"SerialPortClass.cs <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"MitsubshiPLCSerialPortCommunication.pdb <span style='color:#111;'> 59.50KB </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPortCommunication.dll <span style='color:#111;'> 46.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MitsubshiPLCSerialPort.frmDemo.resources <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPort.csprojResolveAssemblyReference.cache <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPortCommunication.pdb <span style='color:#111;'> 59.50KB </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPort.csproj.FileListAbsolute.txt <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.53KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"MitsubshiPLCSerialPort.csproj.GenerateResource.Cache <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"MitsubshiPLCSerialPortCommunication.dll <span style='color:#111;'> 46.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"MitsubshiPLCSerialPort.csproj <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"Icon","children":[{"title":"Mitsubshi.ico <span style='color:#111;'> 5.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"frmDemo.Designer.cs <span style='color:#111;'> 68.33KB </span>","children":null,"spread":false},{"title":"Class1.cs <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"frmDemo.resx <span style='color:#111;'> 14.68KB </span>","children":null,"spread":false},{"title":"frmDemo.cs <span style='color:#111;'> 16.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"DebugClass.sln <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"DebugClass.v11.suo <span style='color:#111;'> 95.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • weixin_38717373 :
    为什么我的总报PLC通讯异常
    2020-05-12
  • weixin_38717373 :
    为什么我的总报PLC通讯异常
    2020-05-12
  • heguobao :
    很详细,可以通信
    2018-06-02
  • heguobao :
    很详细,可以通信
    2018-06-02
  • a2206716342 :
    可以通信,新手可以看看
    2018-05-31
  • a2206716342 :
    可以通信,新手可以看看
    2018-05-31
  • yangkemeng2017 :
    真的可以直接用吗?我想问下这个是不是用MC协议中的格式4写的?如果是PLC侧C42的232通信模块,该如何设置可以直接用?
    2018-05-15
  • yangkemeng2017 :
    真的可以直接用吗?我想问下这个是不是用MC协议中的格式4写的?如果是PLC侧C42的232通信模块,该如何设置可以直接用?
    2018-05-15
  • qibao16 :
    很详细,可以通信
    2018-02-28
  • qibao16 :
    很详细,可以通信
    2018-02-28

免责申明

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