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

边栏推荐
- 从List<Map>中截取指定的范围数据集合
- 【JZOF】11旋转数组的最小数字
- Redis如何实现持久化?详细讲解RDB的三种触发机制及其优缺点,带你快速掌握RDB
- 将集合使用流进行分页
- Static routing principle and configuration
- 4D毫米波雷达硬件系统架构
- 记录一次爬虫题库
- Intégrité du signal (si) intégrité de l'alimentation électrique (PI) notes d'apprentissage (32) Réseau de distribution d'énergie (4)
- PostgreSQL k8s deployment template
- 在GPU上运行MATLAB程序
猜你喜欢

When using fastjson to parse and assign JSON data, the order of JSON fields is inconsistent

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

信号完整性(SI)电源完整性(PI)学习笔记(三十一)电源分配网路(三)
![[actf2020 freshman competition]backupfile 1](/img/4c/cefb3660a176fee7fde6b0e38e6f4b.png)
[actf2020 freshman competition]backupfile 1

迷茫、工作没动力? 职业发展没希望? 看这篇文章就够了

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

雷达导论PART VII.4 SAR系统设计

射击游戏 第 1-2 课:使用精灵

What is the reason for the failure of video playback and RTMP repeated streaming on easygbs platform?

OpenCV 视频操作
随机推荐
【JZOF】08 二叉树的下一个结点
JVM内存模型简介
力扣 729. 我的日程安排表 I
编译与预处理
HCIA----05 RIP
在GPU上运行MATLAB程序
C语言-大端存储和小端存储
虚拟内存技术的来龙去脉(上)
机器学习:李航-统计学习方法(二)感知机+代码实现(原始+对偶形式)
Jenkins持续集成报错stderr: fatal: unsafe repository (‘/home/water/water‘ is owned by someone else)
SAR成像之点目标仿真(一)—— 数学模型
问题解决:Script file ‘Scripts\pip-script.py‘ is not present.
Numpy:基本操作快速入门
Intercept the specified range data set from list < map >
倍福PLC和C#通过ADS通信传输String数组类型变量
第十一天笔记
4D天线阵列布局设计
MySQL - composite query external connection
EasyGBS平台出现录像无法播放并存在RTMP重复推流现象,是什么原因?
Matplotlib-实现常见概率分布