当前位置:网站首页>Beifu PLC and C transmit string array type variables through ads communication
Beifu PLC and C transmit string array 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 String Type array 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 Array type related program .
First create C# The type of structure 
Besides ,PLC in String The length is 75, So in C# You need to create a structure in , Adapt to PLC Of string length , As shown below :
And then through ADS Related methods create handles , Get handle by tag name

边栏推荐
猜你喜欢

Confused, work without motivation? Career development hopeless? It's enough to read this article

MySQL - composite query external connection

HCIA----02

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

功能测试转自动化测试,十年自动化测试经验分享

Ronge answer script production (latest in 2020)

Opencv video operation

互联网时代下,如何精细化用户运营?

Complex networks - common drawing software and libraries

雷达导论PART VII.4 SAR系统设计
随机推荐
太空射击 Part 2-3: 子弹与敌人碰撞处理
Intégrité du signal (si) intégrité de l'alimentation électrique (PI) notes d'apprentissage (32) Réseau de distribution d'énergie (4)
第十二天笔记
方法区、永久代、元空间的关系
力扣 729. 我的日程安排表 I
国信证券软件开户是安全吗?信息会不会泄露?
PKU doctor's little sister: sharing dry goods at the bottom of the box | five tips to improve learning efficiency
SAR成像之点目标仿真(一)—— 数学模型
PostgreSQL k8s deployment template
从List<Map>中截取指定的范围数据集合
UI自动化
HCIA----05 RIP
雷达导论PART VII.2 成像方法
倍福PLC和C#通过ADS通信传输Bool数组变量
常见的定时任务Scheduled cron 表达式
信号完整性(SI)电源完整性(PI)学习笔记(三十一)电源分配网路(三)
【JZOF】07 重建二叉树
Image processing image feature extraction and description
[actf2020 freshman competition]backupfile 1
当输入网址后,到网页显示,期间发生了什么