当前位置:网站首页>基于C#开放式TCP通信建立与西门子PLC的socket通信示例
基于C#开放式TCP通信建立与西门子PLC的socket通信示例
2022-07-26 12:44:00 【AAA_自动化工程师】
基于C#开放式TCP通信建立与西门子PLC的socket通信示例


前面介绍了通过S7通信协议建立C#与西门子S7-1200 PLC通信连接的具体示例,详细可参考以下链接中的内容:
基于C#利用S7.net库与西门子S7-1200PLC进行通信的具体方法(利用线程循环读取)
| 本次给大家分享通过标准的TCP协议进行通信连接的具体方法: |
首先,打开博途软件,如下图所示,新建一个项目,并添加一个DB块,用于存储发送的数据,
边栏推荐
- LCD笔记(5)LCD驱动程序框架_使用设备树
- 食品安全 | 微波炉什么食品都能加热?这些安全隐患要知道
- StreamNative 团队文化:一家“透明”的公司
- Database composition view
- [map] universal map usage & two ways of fuzzy query
- STM32驱动HC05蓝牙串口通信模块
- Backtracking - question 51 Queen n -- a classic backtracking problem that must be overcome
- 腾讯云与智慧产业事业群(CSIG)调整组织架构,成立数字孪生产品部
- 代码报错解决问题经验之二:YOLOv5中的test报错
- What is a callback function? Understanding of the word "back"
猜你喜欢

论文阅读-MLPD:Multi-Label Pedestrian Detector in Multispectral Domain(海康威视研究院实习项目)

如何以文本形式查看加密过的信息

【5G】5G中的CU和DU是什么?

Food safety | are sterile eggs really completely sterile?

被罚“带薪休假”一个月后,谷歌解雇了“爱”上 AI 的他

Emerging security providers to learn about in 2022

Detailed interpretation of hole convolution (input and output size analysis)

Kubernetes----高级存储之PV和PVC简介

The programmed navigation route jumps to the current route (the parameters remain unchanged), and if it is executed multiple times, it will throw a navigationduplicated warning error?

回溯——46. 全排列
随机推荐
华为年内二度招聘“天才少年”;540万Twitter账号信息泄露,卖价3万美元;谷歌解雇了相信AI有意识的工程师|极客头条...
Backtracking - 491. Incremental subsequence
Yolov7 training dangerous goods identification pytorch
Transformer dominates the world? Depth wise conv has something to say
Does Flink CDC only support SQL client to submit SQL scripts
手机上买股票,在哪里开户比较安全?
Optical distance sensing chip 4530a combining ambient light, proximity sensing and infrared ranging
HCIP-9.OSPF的各种拓展
Database composition view
In the digital era, what "golden treasure" is driving the development of pharmaceutical enterprises for a century?
Code examples explain the difference between [reentrant lock] and [non reentrant lock]?
腾讯云与智慧产业事业群(CSIG)调整组织架构,成立数字孪生产品部
Kubernetes----Kubernetes常用插件简介
STM32驱动HC05蓝牙串口通信模块
Problems encountered in byte stream exercises and Solutions
Redisson distributed lock usage example (I)
论文阅读-MLPD:Multi-Label Pedestrian Detector in Multispectral Domain(海康威视研究院实习项目)
The map function counts the number of occurrences of characters
全国职业院校技能大赛网络安全B模块wirshark数据包分析 wireshark0051.pcap
If there is a declaration "int x=5, y=1;", Then the expression x < y? The result of x++: y++ is: