当前位置:网站首页>Beifu PLC and C transmit string type through ads communication
Beifu PLC and C transmit string type through ads communication
2022-07-23 13:18:00 【Dusk and starry sky】
In Beifu PLC and C# signal communication , use ADS signal communication , This article explains C# How to read and write String type
- Operation process
1.1. PLC Programming
First, define the relevant variables , As shown below , Activate configuration :
1.2. C# Programming
About C# Hebeifu PLC For routine of communication, please refer to relevant routines of Bifu , This article explains C# About China String Type related procedures .
First create String Handle to type variable :

And then through ADS Related methods create handles , Get handle by tag name 
Finally through read Read variable , Convert its type to String type
Actual test

边栏推荐
猜你喜欢

【JZOF】08 二叉树的下一个结点

编译与预处理

信號完整性(SI)電源完整性(PI)學習筆記(三十二)電源分配網路(四)

倍福PLC和C#通过ADS通信传输String数组类型变量

设计思维的“布道者”

What happens when you enter the web address and the web page is displayed

雷达导论PART VII.2 成像方法

Software testing jobs saturated? Automated testing is a new generation of 'offer' skills

Numpy:基本操作快速入门

Intégrité du signal (si) intégrité de l'alimentation électrique (PI) notes d'apprentissage (32) Réseau de distribution d'énergie (4)
随机推荐
编译与预处理
Signal integrity (SI) power integrity (PI) learning notes (XXXI) power distribution network (III)
Ronge answer script production (latest in 2020)
How to prevent repeated payment of orders?
Opencv image processing (Part 1): geometric transformation + morphological operation
倍福PLC和C#通过ADS通信传输String类型
ZABBIX monitoring detailed installation to deployment
Harbor deployment
太空射击 Part 2-3: 子弹与敌人碰撞处理
信號完整性(SI)電源完整性(PI)學習筆記(三十二)電源分配網路(四)
录入数学公式至mark down文档的方法
Communicate 11 tips for poor performance 
力扣 剑指 Offer II 094. 最少回文分割
Common CMD commands to quickly open programs
Confused, work without motivation? Career development hopeless? It's enough to read this article
OpenCV图像处理(中) 图像平滑+直方图
倍福PLC和C#通过ADS通信传输结构体类型变量
Intégrité du signal (si) intégrité de l'alimentation électrique (PI) notes d'apprentissage (32) Réseau de distribution d'énergie (4)
雷达导论PART VII.1 雷达与分辨率
信号完整性(SI)电源完整性(PI)学习笔记(三十一)电源分配网路(三)