<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fancheeryup的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/fancheeryup</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; fancheeryup]]></copyright><item><title><![CDATA[信捷PLC跟西门子700IE通信]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/120222810</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/120222810</guid><author>fancheeryup</author><pubDate>Fri, 10 Sep 2021 15:27:07 +0800</pubDate><description><![CDATA[背景：客户要求把旧的西门子屏SMART LINK700IE V3跟信捷XC3通信。

分析：西门子屏带网口，XC3不带网口，所以通信不了。西门子屏还带有422和485串口，信捷自带232口及485口。恩想想走458吧，那么问题来了。西门子不支持信捷，没有信捷的驱动。嗯痛苦的表情。



继续换个思路，一般支持485的话就支持标准的Modbus RTU协议。嗯嗯看看驱动程序里有莫迪康的，嗯，这就有路子，继续做.......

第一步....先确定通信参数

屏的参数波特率9600数据位8 停止位1偶校验...]]></description><category></category></item><item><title><![CDATA[C# TCP通信服务器端（sockt）]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119083297</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119083297</guid><author>fancheeryup</author><pubDate>Sun, 25 Jul 2021 16:16:49 +0800</pubDate><description><![CDATA[1、服务器端画面



2.客户端软件



3.所需要的using


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
us...]]></description><category></category></item><item><title><![CDATA[C# 创建新文件 按时间保存文本文件]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119076339</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119076339</guid><author>fancheeryup</author><pubDate>Sun, 25 Jul 2021 08:23:09 +0800</pubDate><description><![CDATA[效果如图



代码如下:


   string year = DateTime.Now.Year.ToString() + "年";
      string month = DateTime.Now.Month.ToString() + "月";
      string day = DateTime.Now.Day.ToString() + "日";
      string file_path = "e:\\" + year + "\\" + month + "\\" + day ;

    .]]></description><category></category></item><item><title><![CDATA[C# Acess数据库的 新增查询删除]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119059797</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119059797</guid><author>fancheeryup</author><pubDate>Sat, 24 Jul 2021 16:05:06 +0800</pubDate><description><![CDATA[using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
using Syste...]]></description><category></category></item><item><title><![CDATA[C# 父子窗体，父窗体打开时 首先弹出登陆窗体]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119059381</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119059381</guid><author>fancheeryup</author><pubDate>Sat, 24 Jul 2021 15:51:24 +0800</pubDate><description><![CDATA[上位机-工控人不放弃学习


登陆画面如上视频所示







父窗体new子窗体


  private void Form1_Load(object sender, EventArgs e)
        {
            toolStripStatusLabel3.Text = DateTime.Now.ToString();
            if (_Currentuser == null)
            {
                Logging log..]]></description><category></category></item><item><title><![CDATA[C#用户管理（新增/修改/删除）]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119059067</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119059067</guid><author>fancheeryup</author><pubDate>Sat, 24 Jul 2021 15:33:45 +0800</pubDate><description><![CDATA[实测项目，代码可以正常跑。数据库为Acess

1、界面如下



1、所需的using


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Task.]]></description><category></category></item><item><title><![CDATA[C# 用户登陆]]></title><link>https://blog.youkuaiyun.com/fancheeryup/article/details/119058931</link><guid>https://blog.youkuaiyun.com/fancheeryup/article/details/119058931</guid><author>fancheeryup</author><pubDate>Sat, 24 Jul 2021 15:24:12 +0800</pubDate><description><![CDATA[1、登陆Form画面如下



2、所需主要控件还有一个Acess数据库

3个 Label1 用户名、Label2 密码、Label3验证码

3个textBox控件txtUser、txtPsword、txtNumber

1个图片控件pictureBox1

2个按钮控制button1登陆、button2取消

3、所需的using


using System;

using System.Collections.Generic;

using System.ComponentModel...]]></description><category></category></item></channel></rss>