检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]同济大学电子与信息工程学院,上海201804
出 处:《微型机与应用》2017年第7期1-4,8,共5页Microcomputer & Its Applications
摘 要:RS485总线经常被用做主从系统各节点间的通信方式,系统中主从机的通信状态是整个系统正常工作的前提。文章设计了一种基于RS485总线的从机故障检测方法。首先根据需求设计了一套稳定的网络通信协议和接口函数,并提出了一种基于RS485网络通信协议的轮询方法,可实现一个主机可靠、稳定地轮询访问多个从机。主机能够检测各个从机的通信状况,并及时将从机通信故障信息上报到上位机。文章提出的在轮询基础上进行故障检测的方法,大大提高了系统的实时性。RS485 bus is often used as the communication means between the nodes of master-slave system,the communication state of devices is the premise in the system. In this paper,a slave device fault detection method based on RS485 bus is proposed. Firstly,a stable network communication protocol and interface function are designed according to the demand. Then,a polling mechanism based on RS485 network communication protocol is presented,which makes the master device communicate with multiple slaves stably and reliably. The master device can detect the communication state of each slave device,and timely report the fault information to the network management center. In this paper,the fault detection mechanism based on polling,can greatly improve the real-time performance of the system.
分 类 号:TP29[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.230.177