• 大小: 0.09M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  西门子  200  12  通讯  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;
using S7.Net;
using System.Configuration;
namespace s71200
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            comDT.Items.Add(“Bool“);
            comDT.Items.Add(“int“);
            comDT.Items.Add(“Real“);
            comDT.Text = “Real“;
            comDT.Height = 25;

        }
        Plc S71200;
        private void btnlink_Click(object sender EventArgs e)
        {

            S71200 = new Plc(CpuType.S71200 txtIP.Text Convert.ToInt16(txtRack.Text) Convert.ToInt16(txtSlot.Text));
            if (S71200.Open() == 0)
            {
                //MessageBox.Show(“IP为:“ + txtAddress.Text + “ PLC连接成功!“);
                toolStripStatusLabe

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

     文件      38400  2020-01-18 10:57  s71200\s71200\bin\Debug\S7.Net.dll

     文件      15360  2020-03-21 21:23  s71200\s71200\bin\Debug\s71200.exe

     文件      24064  2020-03-21 21:23  s71200\s71200\bin\Debug\s71200.pdb

     文件      11600  2020-03-22 15:07  s71200\s71200\bin\Debug\s71200.vshost.exe

     文件        490  2018-04-12 07:35  s71200\s71200\bin\Debug\s71200.vshost.exe.manifest

     文件       4577  2020-03-21 21:22  s71200\s71200\Form1.cs

     文件      15799  2020-03-21 20:41  s71200\s71200\Form1.Designer.cs

     文件       6017  2020-03-21 20:41  s71200\s71200\Form1.resx

     文件       5420  2020-03-20 16:46  s71200\s71200\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6350  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        460  2020-03-22 15:07  s71200\s71200\obj\x86\Debug\s71200.csproj.FileListAbsolute.txt

     文件        975  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\s71200.csproj.GenerateResource.Cache

     文件      15360  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\s71200.exe

     文件        180  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\s71200.Form1.resources

     文件      24064  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\s71200.pdb

     文件        180  2020-03-21 21:23  s71200\s71200\obj\x86\Debug\s71200.Properties.Resources.resources

     文件        487  2020-03-20 13:41  s71200\s71200\Program.cs

     文件       1344  2020-03-20 13:41  s71200\s71200\Properties\AssemblyInfo.cs

     文件       2864  2020-03-20 13:41  s71200\s71200\Properties\Resources.Designer.cs

     文件       5612  2020-03-20 13:41  s71200\s71200\Properties\Resources.resx

     文件       1093  2020-03-20 13:41  s71200\s71200\Properties\Settings.Designer.cs

     文件        249  2020-03-20 13:41  s71200\s71200\Properties\Settings.settings

     文件       3996  2020-03-21 21:23  s71200\s71200\s71200.csproj

     文件        860  2020-03-20 13:41  s71200\s71200.sln

    ..A..H.     20480  2020-03-22 15:24  s71200\s71200.suo

     目录          0  2020-03-20 13:41  s71200\s71200\obj\x86\Debug\TempPE

     目录          0  2020-03-21 21:23  s71200\s71200\obj\x86\Debug

     目录          0  2020-03-21 21:23  s71200\s71200\bin\Debug

     目录          0  2020-03-20 13:41  s71200\s71200\obj\x86

     目录          0  2020-04-04 20:27  s71200\s71200\bin

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

评论

共有 条评论