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

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

什么是周期性通讯,什么是非周期性,可以参看下面这篇专栏:
边栏推荐
- ACL 2022 | 基于最优传输的对比学习实现可解释的语义文本相似性
- My love lesson 2 - remove webpage pop-up
- CAD text styles
- 【考研英语词汇训练营】Day 11 —— offer ,form ,maintain ,critical
- 【二分好题】
- Makefile基础知识--扩展
- Build Tencent cloud website server at low cost (build your own website server)
- Microcomputer principle: detailed explanation of CPU architecture
- How to refine the top products of the website in the top 10 of the list for three consecutive months?
- 模板的使用
猜你喜欢

Easily make 2D tile map with unity tilemap - Basics

Apipost签约中国电信!携手加速企业数字化变革

Little Red Book Keyword Search commodity list API interface (commodity detail page API interface)

集成Swagger 学习

H5 online CAD background reading and writing CAD files

Circom 2.0: A Scalable Circuit Compiler

第二十周作业

How to output position synchronization of motion control

Binary search

SVM——针对线性可分(下)
随机推荐
深入理解事务
2018mysql technology Q & a collection, hoping to give some help to students who like MySQL
Tencent +360+ Sogou school recruitment test + summary of knowledge points
Unity & facegood audio2face drives face blendshape with audio
Little Red Book Keyword Search commodity list API interface (commodity detail page API interface)
Gradle学习集合整合
Deep understanding of affairs
SVM——针对线性可分(下)
Feeding Program Source Code to ZK VMs
[postgraduate entrance examination vocabulary training camp] day 12 - native, separate, figure, contribution, categories, assessment, propose
Binary search
What should I pay attention to when selecting DTS database type?
String matching (Huawei)
Calling Laser Galvanometer control in the application and development tutorial of motion control card
Leetcode 102. sequence traversal of binary tree
Wechat applet monitoring real-time geographical location change event interface application
Apipost signs up with Chinatelecom! Work together to accelerate the digital transformation of enterprises
leetcode:不可能得到的最短骰子序列【思维题 + 分组思想】
Discussion on solving the application ecological problems of domestic systems based on small programs
C# 使用SQLite