当前位置:网站首页>Beifu PLC and C transmit bool type variables through ads communication
Beifu PLC and C transmit bool type variables 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 bool 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 bool Type related procedures .
First create bool 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 boolean type , As shown below .
1.3. Actual test

边栏推荐
- Software testing jobs saturated? Automated testing is a new generation of 'offer' skills
- 使用vscode进行远程编辑和调试
- 倍福PLC和C#通过ADS通信传输结构体类型变量
- php框架MVC类代码审计
- OpenCV图像处理(上)几何变换+形态学操作
- 沟通绩效业绩不佳的 11 个提示
- Hcia---03 ENSP usage, DHCP, router
- [ACTF2020 新生赛]BackupFile 1
- What is the reason for the failure of video playback and RTMP repeated streaming on easygbs platform?
- Redis distributed lock practice
猜你喜欢

Step on the electric render process renderer to solve the problem of require is not defined

UI自动化

虚拟内存技术的来龙去脉(上)

High voltage MOS tube knx42150 1500v/3a is applied to frequency converter power supply inverter, etc

Count different types of data according to different times (stored procedures)

Static routing principle and configuration

基于redis+lua进行限流

编译与预处理

Jupyter notebook添加已存在的虚拟环境

Quelle est la raison pour laquelle la plate - forme easygbs ne peut pas lire l'enregistrement vidéo et a un phénomène de streaming répété rtmp?
随机推荐
倍福PLC和C#通过ADS通信传输结构体类型变量
Jenkins持续集成报错stderr: fatal: unsafe repository (‘/home/water/water‘ is owned by someone else)
信号完整性(SI)电源完整性(PI)学习笔记(三十一)电源分配网路(三)
OpenCV 视频操作
Opencv image processing (medium) image smoothing + histogram
第十天笔记
机器学习:李航-统计学习方法(二)感知机+代码实现(原始+对偶形式)
Space shooting part 2-2: enemy spirit
Count different types of data according to different times (stored procedures)
C language - big end storage and small end storage
[actf2020 freshman competition]backupfile 1
Is it safe to open an account with Guosen Securities software? Will the information be leaked?
Record a reptile question bank
redis分布式锁实践
时间复杂度总结(Ο是渐进上界,Ω是渐进下界,p,np,np-hard,NPC问题)
HCIA----06 OSPF
What happens when you enter the web address and the web page is displayed
Es common operations
EasyGBS平臺出現錄像無法播放並存在RTMP重複推流現象,是什麼原因?
[offline voice topic ④] Anxin VC offline voice development board secondary development voice control LED light