资源简介

C#通过3E帧SLMP/MC协议读写三菱FX5U/Q系列PLC数据案例,仅做数据读写报文测试。附带自己整理的SLMP/MC通讯协议表。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net;
using System.Threading;


namespace WindowsFormsApp7
{
    public partial class FX5U远程监视 : Form
    {
        private Socket tcpClient;
        //private TcpListener myListener;//无使用,侦听的 TCP 网络客户端的连接。

        bool bool_a;
        bool bool_Linajiezt;

        public FX5U远程监视()
        {
            InitializeComponent();
            richTextBox2.Text = (“500000FFFF03000C00100001040000C80000A80100“);
            button2.Enabled = false;
            button4.Enabled = false;
        }

        private void button1_Click(object sender Ev

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     73216  2019-12-13 20:04  SLMP以太网读写PLC数据20191206\.vs\WindowsFormsApp7\v15\.suo

     文件    1038217  2019-12-06 20:19  SLMP以太网读写PLC数据20191206\SLMP与MC协议3E帧通讯协议表.xlsx

     文件      45568  2019-12-06 20:30  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\bin\Debug\WindowsFormsApp7.exe

     文件      38400  2019-12-06 20:30  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\bin\Debug\WindowsFormsApp7.pdb

     文件      10376  2019-12-06 20:30  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\FX5U远程监视.cs

     文件      10542  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\FX5U远程监视.Designer.cs

     文件      50255  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\FX5U远程监视.resx

     文件       1209  2019-12-13 19:59  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7064  2019-12-06 10:00  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件         42  2019-12-06 10:00  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.csproj.CoreCompileInputs.cache

     文件       4626  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.csproj.FileListAbsolute.txt

     文件        926  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.csproj.GenerateResource.cache

     文件       9084  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.csprojAssemblyReference.cache

     文件      45568  2019-12-06 20:30  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.exe

     文件      29988  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.FX5U远程监视.resources

     文件      38400  2019-12-06 20:30  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.pdb

     文件        180  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.Properties.Resources.resources

     文件      29988  2019-12-05 08:47  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\WindowsFormsApp7.服务端窗口.resources

     文件        508  2019-12-06 10:00  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Program.cs

     文件       1348  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Properties\AssemblyInfo.cs

     文件       2845  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Properties\Resources.Designer.cs

     文件       5612  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Properties\Resources.resx

     文件       1103  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Properties\Settings.Designer.cs

     文件        249  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\Properties\Settings.settings

     文件       3445  2019-12-06 13:20  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\WindowsFormsApp7.csproj

     文件       1147  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7.sln

     目录          0  2019-12-06 09:49  SLMP以太网读写PLC数据20191206\.vs\WindowsFormsApp7\v15\Server\sqlite3

     目录          0  2019-12-06 09:49  SLMP以太网读写PLC数据20191206\.vs\WindowsFormsApp7\v15\Server

     目录          0  2019-11-16 16:19  SLMP以太网读写PLC数据20191206\WindowsFormsApp7\obj\Debug\TempPE

     目录          0  2019-12-06 09:49  SLMP以太网读写PLC数据20191206\.vs\WindowsFormsApp7\v15

............此处省略17个文件信息

评论

共有 条评论