当前位置:网站首页>通讯异常判断之通讯心跳信号应用编程
通讯异常判断之通讯心跳信号应用编程
2022-07-24 21:48:00 【RXXW_Dor】
有些通讯有异常标志位,我们只需要读取对应的地址就好,但是有些通讯没有异常标志位,需要我们自行写程序去判断通讯正常与否,大部分的做法都是利用心跳信号去判断,当然写法因人而已,当时原理基本相同,这篇博文简单介绍之,限于本人能力,文中难免出现错误和不足之处,欢迎大家批评指正,同时感谢大家关注和订阅。
1、通讯心跳原理框图

下面我们以S7-200 SMART PLC程序举例,其它控制器做法基本一致,这里不再赘述。
2、心跳判断复位程序

什么是周期性通讯,什么是非周期性,可以参看下面这篇专栏:
边栏推荐
- Composability and Recursion in snarkyJS
- Little Red Book Keyword Search commodity list API interface (commodity detail page API interface)
- What should I pay attention to when choosing the self built database access method on ECs?
- In the eyes of professionals in the robot industry, what is the current situation of the robot industry?
- Circom 2.0: A Scalable Circuit Compiler
- 【考研英语词汇训练营】Day 11 —— offer ,form ,maintain ,critical
- C# 使用SQLite
- 模板的使用
- Unity & facegood audio2face drives face blendshape with audio
- Diou and ciou loss of loss function
猜你喜欢

【考研词汇训练营】Day 12 —— native,separate,figure,contribute,species,assumption,suppose

RISC0:Towards a Unified Compilation Framework for Zero Knowledge
![[CCNA experiment sharing] routing between VLANs of layer 3 switches](/img/71/2f28c6b6b62f273fad1b3d71e648a1.jpg)
[CCNA experiment sharing] routing between VLANs of layer 3 switches

2022 Tsinghua summer school notes L2_ 2 basic introduction of CNN and RNN

Both Chen Chunhua and Mo Yan have words of suffering

Circom 2.0: A Scalable Circuit Compiler

RISC0:Towards a Unified Compilation Framework for Zero Knowledge

CAD break command

Mathpix formula extractor

2022 Tsinghua summer school notes L2_ 1 basic composition of neural network
随机推荐
MQ release confirmation
腾讯+360+搜狗校招笔试题+知识点总结
Gradle 学习 ----Gradle 入门
How much does it cost to build your own personal server
Diou and ciou loss of loss function
《论文复现》BiDAF代码实现过程(4)模型训练+验证
小程序地理位置接口申请
集成Swagger 学习
[Matplotlib drawing]
图像处理笔记(1)图像增强
How to output position synchronization of motion control
String matching (Huawei)
C # review the entrustment and event
[postgraduate entrance examination English vocabulary training camp] day 11 - offer, form, maintain, critical
一种自动化九点标定工具原理(包涵部分源码)
It's the same type of question as just K above
Huawei cloud data governance production line dataarts, let "data 'wisdom' speak"
Composability and Recursion in snarkyJS
Leetcode 102. sequence traversal of binary tree
巧妙使用sort(List<T>,Comparator<? super T>)比较器