C#与FX5U PLC通信测试

上传者: 39317531 | 上传时间: 2021-07-19 16:03:43 | 文件大小: 311KB | 文件类型: RAR
三菱FX5U的以太网MC协议读写寄存器 /// /// 连接TCP通信(IP,端口) /// /// IP地址 /// 端口号 /// public bool TCP_Open(string ip,int point)//连接通信按钮 /// /// 多位读取数据((起点,数量) /// /// 读取起点 /// 读取数量 /// public string FX_5U_du(int s1,int s2)//现在再这里测试32位读取 /// /// 1单字节转换为读取值,通信读取值得转换函数 /// /// 数据数组 /// 第几个数值 /// 16位/32位 /// 返回字符串结果 public string Com_Received(byte[] Buffer, int t, bool br) //写入字符串,16/32 /// /// PLC多位写入函数1(名称,起点,数量,数据) /// /// 名称“D” /// 起点 /// 数量 /// 数据【0】 public void FX_5U_xie(string mc,int s1, uint s2,params int[] sj)//写入数据函数 /// /// PLC多位写入函数2(名称,起点,数据【】) /// /// 名称“D” /// 起点 /// 数据【0】 public void FX_5U_xie(string mc, int s1, params int[] sj)//写入数据函数 本案列只是一个基本的通信测试,都包含在一个FX_5Uclass.cs类库中。

文件下载

资源详情

[{"title":"( 43 个子文件 311KB ) C#与FX5U PLC通信测试","children":[{"title":"FX5U通信测试_main","children":[{"title":".vs","children":[{"title":"FX5U通信测试_main","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"FX5U通信测试_main","children":[{"title":"FX_5Uclass.cs <span style='color:#111;'> 16.05KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"FX5U通信测试_main.csproj <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 16.14KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"FX5U通信测试_main.csproj.ResolveComReference.cache <span style='color:#111;'> 762B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"FX5U通信测试_main.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Interop.ACTETHERLib.dll <span style='color:#111;'> 300.00KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.exe <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"FX5U通信测试_main.csproj.ResolveComReference.cache <span style='color:#111;'> 762B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"FX5U通信测试_main.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Interop.ACTETHERLib.dll <span style='color:#111;'> 300.00KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"FX5U通信测试_main.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"Interop.ACTETHERLib.dll <span style='color:#111;'> 300.00KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.exe <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.vshost.exe <span style='color:#111;'> 21.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"FX5U通信测试_main.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"Interop.ACTETHERLib.dll <span style='color:#111;'> 300.00KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"FX5U通信测试_main.vshost.exe <span style='color:#111;'> 21.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"FX5U通信测试_main.sln <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • natvral2012 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-11-29

免责申明

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