资源简介

C#与三菱PLC通讯源码,PLC自动读取数值

资源截图

代码片段和文件信息

using HslCommunication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HslCommunication.Profinet;
using System.Threading;
using HslCommunication.Profinet.Melsec; 
using System.IO;
using System.Data;
using System.Data.SqlClient;

namespace HslCommunicationDemo
{
    /// 
    /// DEMO程序的一些静态变量信息
    /// 

    /// 

    public class DemoUtils
    {
        /// 
        /// 统一的读取结果的数据解析,显示
        /// 

        /// 类型对象
        /// 读取的结果值
        /// 地址信息
        /// 输入的控件
        /// 
        public static string Res;
        public sta

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-25 11:10  WindowsFormsPLC\
     目录           0  2019-07-25 11:10  WindowsFormsPLC\.vs\
     目录           0  2019-07-25 11:10  WindowsFormsPLC\.vs\WindowsFormsPLC\
     目录           0  2019-07-25 11:10  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\
     文件       99840  2019-09-07 09:32  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\.suo
     目录           0  2019-07-25 11:10  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\
     目录           0  2019-08-09 15:48  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\sqlite3\
     文件           0  2019-07-25 11:11  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\sqlite3\db.lock
     文件     1732608  2019-08-08 19:41  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\sqlite3\storage.ide
     文件       32768  2019-09-07 09:29  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\sqlite3\storage.ide-shm
     文件     3938752  2019-08-23 15:12  WindowsFormsPLC\.vs\WindowsFormsPLC\v15\Server\sqlite3\storage.ide-wal
     目录           0  2019-08-21 09:21  WindowsFormsPLC\WindowsFormsPLC\
     文件      350044  2019-07-27 13:44  WindowsFormsPLC\WindowsFormsPLC\1262.wav
     文件         199  2019-07-20 13:45  WindowsFormsPLC\WindowsFormsPLC\App.config
     目录           0  2019-09-07 09:32  WindowsFormsPLC\WindowsFormsPLC\Connected Services\
     文件        7635  2019-08-10 14:04  WindowsFormsPLC\WindowsFormsPLC\DemoUtils.cs
     文件        5013  2019-06-29 13:56  WindowsFormsPLC\WindowsFormsPLC\Excel.cs
     文件       42984  2019-08-09 16:43  WindowsFormsPLC\WindowsFormsPLC\Form1.Designer.cs
     文件       35289  2019-08-21 09:21  WindowsFormsPLC\WindowsFormsPLC\Form1.cs
     文件       31933  2019-08-09 16:37  WindowsFormsPLC\WindowsFormsPLC\Form1.resx
     文件         527  2019-06-24 15:45  WindowsFormsPLC\WindowsFormsPLC\Program.cs
     目录           0  2019-07-25 11:10  WindowsFormsPLC\WindowsFormsPLC\Properties\
     文件        1328  2019-06-24 15:45  WindowsFormsPLC\WindowsFormsPLC\Properties\AssemblyInfo.cs
     目录           0  2019-07-25 11:10  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\
     文件         617  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\Form1.HardwareEnum.datasource
     文件         591  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\Form1.datasource
     文件         604  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\HslCommunicationDemo.DemoUtils.datasource
     文件         595  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\Program.datasource
     文件         610  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\WindowsFormsPLC.Properties.Resources.datasource
     文件         608  2019-06-27 13:50  WindowsFormsPLC\WindowsFormsPLC\Properties\DataSources\WindowsFormsPLC.Properties.Settings.datasource
     文件        2865  2019-07-20 13:45  WindowsFormsPLC\WindowsFormsPLC\Properties\Resources.Designer.cs
............此处省略47个文件信息

评论

共有 条评论