当前位置:网站首页>Beifu and C transmit real type through ads communication
Beifu and C transmit real type through ads communication
2022-07-23 13:17: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 Real Type variable .
- 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 Real Type related procedures .
First create Real 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 double type , It should be noted that C# in Real Corresponding float type ,Lreal Corresponding double type .
1.3. Actual test 
边栏推荐
- PostgreSQL k8s deployment template
- UI automation
- SAR成像之点目标仿真(二)—— Matlab仿真
- Numpy: quick start to basic operations
- 【JZOF】09用两个栈实现队列
- 北大博士小姐姐:分享压箱底干货 | 五招提高学习效率
- 倍福PLC和C#通过ADS通信传输Bool数组变量
- Ronge answer script production (latest in 2020)
- EasyGBS平臺出現錄像無法播放並存在RTMP重複推流現象,是什麼原因?
- Signal integrity (SI) power integrity (PI) learning notes (32) power distribution network (4)
猜你喜欢

Image processing image feature extraction and description

HCIA----02

Static routing principle and configuration

【NOI模拟赛】不知是哪一道CF的论文题(概率期望,鞅的停时定理)

Opencv image processing (medium) image smoothing + histogram

EasyGBS平臺出現錄像無法播放並存在RTMP重複推流現象,是什麼原因?

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

录入数学公式至mark down文档的方法

Signal integrity (SI) power integrity (PI) learning notes (32) power distribution network (4)

【JZOF】08 二叉树的下一个结点
随机推荐
User and group management, file permissions
转行软件测试有学历要求吗?低于大专是真的没出路吗?
虚拟内存技术的来龙去脉(上)
行业现状令人失望,工作之后我又回到UC伯克利读博了
信號完整性(SI)電源完整性(PI)學習筆記(三十二)電源分配網路(四)
方法区、永久代、元空间的关系
倍福PLC--C#ADS通信以通知的方式读取变量
录入数学公式至mark down文档的方法
TI单芯片毫米波雷达代码走读(二十五)—— 角度维(3D)处理流程
Numpy:基本操作快速入门
numpy:矩阵的元素选取
倍福PLC和C#通过ADS通信传输Bool数组变量
Paging collections using streams
Opencv image processing (Part 2): edge detection + template matching + Hough transform
时间复杂度总结(Ο是渐进上界,Ω是渐进下界,p,np,np-hard,NPC问题)
Convert the specified seconds to minutes and seconds
记录一次爬虫题库
php框架MVC类代码审计
雷达导论PART VII.3 SAR图像的形成和处理
常见的cmd命令快速打开程序